Comparing version 0.4.8 to 0.4.9
@@ -81,3 +81,3 @@ const request = require('request') | ||
public async logs(url: string, done?): Promise<any> | ||
public async log(url: string, done?): Promise<any> | ||
{ | ||
@@ -84,0 +84,0 @@ const promise = new Promise((resolve, reject) => |
{ | ||
"name": "k8s", | ||
"version": "0.4.8", | ||
"version": "0.4.9", | ||
"author": "junjun16818", | ||
@@ -5,0 +5,0 @@ "description": "Node.js client library for Google's Kubernetes Kubectl And API", |
@@ -36,9 +36,9 @@ const expect = require('chai').expect | ||
// it('test api logs -> get pod log', function(done) | ||
// it('test api log -> get pod log', function(done) | ||
// { | ||
// kubeapi.logs('namespaces/default/pods/helloworld-v1-6q0cr/log', function(err, data){ | ||
// kubeapi.log('namespaces/default/pods/helloworld-v1-6q0cr/log', function(err, data){ | ||
// console.log(data) | ||
// done(err) | ||
// }) | ||
// }) | ||
// }) | ||
// return | ||
@@ -45,0 +45,0 @@ // it('test api GET by watch -> get rc list', function(done) |
@@ -31,4 +31,2 @@ var expect = require('chai').expect | ||
}) | ||
return | ||
@@ -63,3 +61,3 @@ it('get a rc helloworld-v1', function(done) | ||
}) | ||
return | ||
it('rollingUpdate rc by image', function(done) | ||
@@ -72,2 +70,3 @@ { | ||
}) | ||
it('delete a rc', function(done) | ||
@@ -74,0 +73,0 @@ { |
53356
1318