Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

k8s

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

k8s - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

2

lib/request.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc