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