Socket
Socket
Sign inDemoInstall

@c6o/kubeclient-contracts

Package Overview
Dependencies
2
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.8 to 0.0.9

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [0.0.9](https://github.com/c6o/kubeclient/compare/v0.0.8...v0.0.9) (2021-03-31)
### ✨ Features
* Added logs retrieval to Cluster ([0d04a0c](https://github.com/c6o/kubeclient/commit/0d04a0c036b63ce77536bfeb84d047eab02e5d9c))
## [0.0.8](https://github.com/c6o/kubeclient/compare/v0.0.7...v0.0.8) (2021-02-02)

@@ -8,0 +19,0 @@

6

lib/cluster.d.ts

@@ -15,2 +15,5 @@ /// <reference types="node" />

}
export interface logOptions {
impersonate?: string;
}
export interface readOptions {

@@ -37,8 +40,9 @@ impersonate?: string;

upsert(document: KubeDocument, owners?: Array<KubeDocument>): Promise<Result>;
toAddress(document: KubeDocument): Promise<KubeObjectAddress>;
toAddress(document: KubeDocument, action?: string): Promise<KubeObjectAddress>;
toString(document: KubeDocument): string;
watch(document: KubeDocument, callback: watchCallback, error: watchDone): Promise<Result>;
exec(document: KubeDocument, command: string | string[], stdout?: Writable, stderr?: Writable, stdin?: Readable): Promise<Result>;
logs(document: KubeDocument, follow?: boolean): Promise<Result>;
portForward(containerPort: number, document: KubeDocument): Promise<Result>;
version(): Promise<Version>;
}

@@ -12,2 +12,3 @@ import { KubeDocument } from './kubeObject';

constructor(result: any);
throwIfError(): void;
}

@@ -28,2 +28,6 @@ "use strict";

}
throwIfError() {
if (this.error)
throw new Error(this.errorMessage);
}
}

@@ -30,0 +34,0 @@ exports.Result = Result;

4

package.json
{
"name": "@c6o/kubeclient-contracts",
"version": "0.0.8",
"version": "0.0.9",
"description": "A simple Kubernetes client",

@@ -48,3 +48,3 @@ "keywords": [

},
"gitHead": "80a6a3be20a5a5b191fdda217740d77876ef848f"
"gitHead": "c42d87d5ae166a035daeddca5c4158c0d772b4af"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc