Comparing version 0.1.6 to 0.1.7
@@ -21,3 +21,3 @@ var request = require('request') | ||
{ | ||
request.get(this.domain + url, {timeout: timeout},function(){}).on('data', function(data) | ||
request.get(this.domain + url, {timeout: timeout},function(e){ if( e ) console.log('******************',e)}).on('data', function(data) | ||
{ | ||
@@ -24,0 +24,0 @@ var json |
{ | ||
"name": "k8s", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -48,3 +48,4 @@ # Nodejs Kubernetes client | ||
// exit | ||
}) | ||
}, [timeout]) | ||
``` | ||
@@ -62,6 +63,9 @@ | ||
## get a pod | ||
## get pod | ||
```js | ||
kubectl.pod.get('nginx', function(err, pod){}) | ||
// label selector | ||
kubectl.pod.list({ app: 'nginx' }, function(err, pods){}) | ||
``` | ||
@@ -68,0 +72,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
181
17592
18
501
2