package
12.0.0+incompatible
Repository: https://github.com/kubernetes/client-go.git
Documentation: pkg.go.dev

# Packages

# Functions

Flatten changes the config object into a self contained config (useful for making secrets).
IsConfigEmpty returns true if the config is empty.
MinifyConfig read the current context and uses that to keep only the relevant pieces of config This is useful for making secrets based on kubeconfig files.
NewAuthInfo is a convenience function that returns a new AuthInfo object with non-nil maps.
NewCluster is a convenience function that returns a new Cluster object with non-nil maps.
NewConfig is a convenience function that returns a new Config object with non-nil maps.
NewContext is a convenience function that returns a new Context object with non-nil maps.
NewPreferences is a convenience function that returns a new Preferences object with non-nil maps.
ResolvePath returns the path as an absolute paths, relative to the given base directory.
Flatten redacts raw data entries from the config object for a human-readable view.

# Variables

SchemeGroupVersion is group version used to register these objects TODO this should be in the "kubeconfig" group.

# Structs

AuthInfo contains information that describes identity information.
AuthProviderConfig holds the configuration for a specified auth provider.
Cluster contains information about how to communicate with a kubernetes cluster.
Config holds the information needed to build connect to remote kubernetes clusters as a given user IMPORTANT if you add fields to this struct, please update IsConfigEmpty() +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object.
Context is a tuple of references to a cluster (how do I communicate with a kubernetes cluster), a user (how do I identify myself), and a namespace (what subset of resources do I want to work with).
ExecConfig specifies a command to provide client credentials.
ExecEnvVar is used for setting environment variables when executing an exec-based credential plugin.
IMPORTANT if you add fields to this struct, please update IsConfigEmpty().