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§
- Auth
Info - AuthInfo stores information to tell cluster who you are.
- Auth
Provider Config - AuthProviderConfig stores auth for specified cloud provider.
- Cluster
- Cluster stores information to connect Kubernetes cluster.
- Config
- Configuration object detailing things like cluster URL, default namespace, root certificates, and timeouts.
- Context
- Context stores tuple of cluster and user information.
- Exec
Auth Cluster - Cluster stores information to connect Kubernetes cluster used with auth plugins
that have
provideClusterInfo`` enabled. This is a copy of [
kube::config::Cluster`] with certificate_authority passed as bytes without the path. Taken from clientauthentication/types.go#Cluster - Exec
Config - ExecConfig stores credential-plugin configuration.
- Infer
Config Error - Failed to infer config
- Kube
Config Options - KubeConfigOptions stores options used when loading kubeconfig file.
- Kubeconfig
Kubeconfig
represents information on how to connect to a remote Kubernetes cluster- Named
Auth Info - NamedAuthInfo associates name with authentication.
- Named
Cluster - NamedCluster associates name with cluster.
- Named
Context - NamedContext associates name with context.
- Named
Extension - NamedExtention associates name with extension.
- Preferences
- Preferences stores extensions for cli.
Enums§
- Exec
Interactive Mode - ExecInteractiveMode define the interactity of the child process
- InCluster
Error - Errors from loading in-cluster config
- Kubeconfig
Error - Possible errors when loading kubeconfig
- Load
Data Error - Errors from loading data from a base64 string or a file