Api and Kubectl reference docs updates for 1.7 (#4193)

* Fix includes groups

* Generated kubectl docs for 1.7

* Generated references docs for 1.7 api
This commit is contained in:
Phillip Wittrock
2017-06-26 15:37:56 -07:00
committed by Andrew Chen
parent 4ff5587583
commit 57a769f506
1549 changed files with 292623 additions and 3 deletions
@@ -0,0 +1,20 @@
var static = require('../lib/node-static');
//
// Create a node-static server to serve the current directory
//
var file = new static.Server('.', { cache: 7200, headers: {'X-Hello':'World!'} });
require('http').createServer(function (request, response) {
file.serve(request, response, function (err, res) {
if (err) { // An error as occured
console.error("> Error serving " + request.url + " - " + err.message);
response.writeHead(err.status, err.headers);
response.end();
} else { // The file was served successfully
console.log("> " + request.url + " - " + res.message);
}
});
}).listen(8080);
console.log("> node-static is listening on http://127.0.0.1:8080");