package
0.2.0
Repository: https://github.com/twuillemin/kuboxy.git
Documentation: pkg.go.dev

# Functions

GetClientset gives a clientset for the given contextName.
GetContextNames gives the list of all contextNames known by the application.
GetKubeCluster return a single cluster if present, nil otherwise.
GetKubeClusters returns the clusters configured.
GetKubeConfig reads the configuration file.
GetKubeContext return a single context if present, nil otherwise.
GetKubeContexts returns the clusters configured.
GetKubeUser return a single user if present, nil otherwise.
GetKubeUsers returns the users configured.
GetMetrics gives a clientset for the given contextName.
LoadContexts loads all the possible configuration from a Kubectl config file.
SetClusterCertificateEmbedded adds or updates a cluster without validating the server certificate given as raw text.
SetClusterCertificateFile adds or updates a cluster without validating the server certificate given as a local file.
SetClusterInsecure adds or updates a cluster without validating the server certificate.
SetContext adds or updates a context.
SetUserWithCertificateFile adds or updates a user with the credentials given as local certificate files.
SetUserWithCertificateFileEmbedded adds or updates a user with the credentials given as embedded certificate files.
SetUserWithUserNamePassword adds or updates a user with the given credentials.
UseContext defines the current default context.

# Structs

DefinitionCluster is the actual definition of a Kubernetes cluster.
DefinitionContext is the actual definition of a Kubectl configuration.
DefinitionUser is the actual definition of a Kubernetes user.
KubeConfig is the complete configuration of a kubectl config file.
NamedCluster is a Kubernetes cluster.
NamedContext is a Kubectl configuration, the association of a user and a cluster.
NamedUser is a Kubernetes user.
NotFoundError is a trivial implementation of error.
ParamClusterCertificateEmbedded is the definition of a cluster for which the TLS certificate is verified with a local file.
ParamClusterCertificateFile is the definition of a cluster for which the TLS certificate is verified with a local file.
ParamClusterInsecure is the definition of a cluster for which the TLS certificate is not verified.
ParamContext is the definition of a context.
ParamCredentialsCertificateEmbedded is the definition of a credential with a certificate embedded.
ParamCredentialsCertificateFile is the definition of a credential with a certificate kept as a local file.
ParamCredentialsUserNamePassword is the definition of a credential with a username and a password.