@toa.io/kubernetes
TypeScript icon, indicating that this package has built-in type declarations

0.24.0-alpha.0 • Public • Published

Kubernetes

Wrapper for kubectl and kubectx working in the current context.

Secrets

async get(name)

Get kubernetes secret's declaration.

name
string name of the secret

Returns toa.kubernetes.secrets.Declaration | null

async store(name, values)

Create or update a secret. Don't delete existing keys.

name
string name of the secret
values
toa.kubernetes.Secret secret values

Returns void

Context

async get(name)

Get current context.

name
string name of the context

Returns string | null

async set(name)

Set current context.

name
string name of the context

Returns void

Readme

Keywords

none

Package Sidebar

Install

npm i @toa.io/kubernetes

Homepage

toa.io

Weekly Downloads

322

Version

0.24.0-alpha.0

License

MIT

Unpacked Size

49.5 kB

Total Files

17

Last publish

Collaborators

  • agurtovoi