package
1.11.0-alpha.1
Repository: https://github.com/ceshihao/kubernetes.git
Documentation: pkg.go.dev
# Functions
ClientSetFromFile returns a ready-to-use client from a KubeConfig file.
CreateBasic creates a basic, general KubeConfig object that then can be extended.
CreateWithCerts creates a KubeConfig object with access to the API server with client certificates.
CreateWithToken creates a KubeConfig object with access to the API server with a token.
GetClusterFromKubeConfig returns the default Cluster of the specified KubeConfig.
ToClientSet converts a KubeConfig object to a client.
WriteToDisk writes a KubeConfig object down to disk with mode 0600.