This is supported on crate feature client only.
Expand description

Kubernetes configuration objects from ~/.kube/config, $KUBECONFIG, or the cluster environment.

Usage

The Config has several constructors plus logic to infer environment.

Unless you have issues, prefer using Config::infer, and pass it to a Client.

Structs

AuthInfo stores information to tell cluster who you are.

AuthProviderConfig stores auth for specified cloud provider.

Cluster stores information to connect Kubernetes cluster.

Configuration object detailing things like cluster URL, default namespace, root certificates, and timeouts.

Context stores tuple of cluster and user information.

ExecConfig stores credential-plugin configuration.

Failed to infer config

KubeConfigOptions stores options used when loading kubeconfig file.

Kubeconfig represents information on how to connect to a remote Kubernetes cluster

NamedAuthInfo associates name with authentication.

NamedCluster associates name with cluster.

NamedContext associates name with context.

NamedExtention associates name with extension.

Preferences stores extensions for cli.

Enums

Errors from loading in-cluster config

Possible errors when loading kubeconfig

Errors from loading data from a base64 string or a file