Liking cljdoc? Tell your friends :D

exoscale.kubectl.helpers

Helper functions to build kubectl commands

Helper functions to build kubectl commands
raw docstring

apply-stdinclj

(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.
sourceraw docstring

commandclj

(command m cmd)

Specifies the command to use.

Specifies the command to use.
sourceraw docstring

default-pathclj

source

delete-deploymentclj

source

delete-ingressesclj

source

delete-jobsclj

source

delete-secretsclj

source

delete-servicesclj

source

flagclj

(flag m f)
(flag m f value)

Add a flag to the command.

Add a flag to the command.
sourceraw docstring

get-deploymentsclj

source

get-endpointsclj

source

get-ingressesclj

source

get-jobsclj

source

get-nodesclj

source

get-podsclj

source

get-secretsclj

source

get-servicesclj

source

jsonclj

(json m)

Asks for a json output.

Asks for a json output.
sourceraw docstring

kubectlclj

(kubectl)
(kubectl path)
source

kubectl-builderclj

(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.
sourceraw docstring

labelsclj

(labels m kvs)

Add flags to the command

Add flags to the command
sourceraw docstring

namespaceclj

(namespace m ns)

Specifies the namespace.

Specifies the namespace.
sourceraw docstring

resourceclj

(resource m r)

Add the name of a specific resource to target.

Add the name of a specific resource to target.
sourceraw docstring

stdinclj

(stdin m value)

Pass value to kubectl from stdin

Pass value to kubectl from stdin
sourceraw docstring

typeclj

(type m t)

Specifies the resource type to use.

Specifies the resource type to use.
sourceraw docstring

yamlclj

(yaml m)

Asks for a yaml output.

Asks for a yaml output.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close