View Source API Reference kubereq v0.1.4

Modules

Kubereq defines a set of Request Steps for Req. All steps combined turn a Kubernetes configuration in the form of a %Kubereq.Kubeconfig{} struct into a %Req.Request{} struct containing all headers and options required to connect to the cluster and perform the given operations.

Helper module to access maps in lists.

Indicates an error with the Kubernetes Configuration

This is the Pluggable.Token for the pipeline loading the Kubernetes config.

Helper module to access maps in lists.

Default pipeline of pluggable steps for loading the Kubeconfig. Tries to build the Kubeconfig from different default settings.

Pluggable step that loads the Kubeconfig from a config file whose location is defined by an ENV variable. Uses Kubereq.Kubeconfig.File under the hood.

Pluggable step that load the Kubeconfig from a file.

Pluggable step that builds the Kubeconfig using a Service Account's token for authentication.

Req step to derive Req steps necessary for auth to the cluster.

Req step to derive the base URL to the cluster.

Req step to derive compression headers from the Kubeconfig.

Req step to format field selectors.

Req step to derive impersonation headers from the Kubeconfig.

Req step to format label selectors.

Req step to derive TLS configuration from the Kubeconfig.