# Functions
Namespace get the namespace of the current context from the kube config file.
NerdContext defines if the current context from the kube config file comes from the cli.
New instantiates a new P interface using the conf parameter.
ReadConfig retrieves Kubernetes client configuration from a file.
ReadConfigOrNew retrieves Kubernetes client configuration from a file.
UseConfig ...
WriteConfig encodes the configuration and writes it to the given file.
# Constants
DirPermissions are the output directory's permissions.
Prefix is used to know if a context comes from the cli.
# Structs
Auth information.
Cluster information.
Context information.
EndpointPopulator is an implementation of the P interface based on the retrieval of a conf file.
EnvPopulator is a populator implementation based on env variables.
GenericPopulator is an implementation of the P interface using on Open ID Connect credentials.
# Interfaces
P is an interface that we can use to read from and to write to the kube config file.
# Type aliases
ErrNoSuchPopulator implements the error interface.