Helper functions to build kubectl commands
Helper functions to build kubectl commands
(apply-stdin config)Apply a configuration from stdin. Valid options are:
:path: kubectl path.:stdin: the value of stdin.:json?: enable json formatting.Apply a configuration from stdin. Valid options are: - `:path`: kubectl path. - `:stdin`: the value of stdin. - `:json?`: enable json formatting.
(command m cmd)Specifies the command to use.
Specifies the command to use.
(flag m f)(flag m f value)Add a flag to the command.
Add a flag to the command.
(kubectl-builder resource-type operation config)Generic kubectl command builder.
resource-type: k8s resource type operation: kubectl command that you want to perform config:
:path: kubectl path.:namespace: namespace.:resource: the resource name.:labels: labels as {key1 value1, key2 value2 ...}:stdin: the value of stdin.:flags: additional flags for the command.:yaml?: enable yaml formatting.:json?: enable json formatting.Generic kubectl command builder.
resource-type: k8s resource type
operation: kubectl command that you want to perform
config:
- `:path`: kubectl path.
- `:namespace`: namespace.
- `:resource`: the resource name.
- `:labels`: labels as {key1 value1, key2 value2 ...}
- `:stdin`: the value of stdin.
- `:flags`: additional flags for the command.
- `:yaml?`: enable yaml formatting.
- `:json?`: enable json formatting.(resource m r)Add the name of a specific resource to target.
Add the name of a specific resource to target.
(stdin m value)Pass value to kubectl from stdin
Pass value to kubectl from stdin
(type m t)Specifies the resource type to use.
Specifies the resource type to use.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |