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.
raw docstring

commandclj

(command m cmd)

Specifies the command to use.

Specifies the command to use.
raw docstring

default-pathclj


delete-deploymentclj


delete-ingressesclj


delete-jobsclj


delete-secretsclj


delete-servicesclj


flagclj

(flag m f)
(flag m f value)

Add a flag to the command.

Add a flag to the command.
raw docstring

get-deploymentsclj


get-ingressesclj


get-jobsclj


get-nodesclj


get-podsclj


get-secretsclj


get-servicesclj


jsonclj

(json m)

Asks for a json output.

Asks for a json output.
raw docstring

kubectlclj

(kubectl)
(kubectl path)

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.
raw docstring

labelsclj

(labels m kvs)

Add flags to the command

Add flags to the command
raw docstring

namespaceclj

(namespace m ns)

Specifies the namespace.

Specifies the namespace.
raw docstring

resourceclj

(resource m r)

Add the name of a specific resource to target.

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

stdinclj

(stdin m value)

Pass value to kubectl from stdin

Pass value to kubectl from stdin
raw docstring

typeclj

(type m t)

Specifies the resource type to use.

Specifies the resource type to use.
raw docstring

yamlclj

(yaml m)

Asks for a yaml output.

Asks for a yaml output.
raw docstring

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

× close