Documentation ¶
Overview ¶
Package kubeconfig provides utilites kind uses internally to manage kind cluster kubeconfigs
Index ¶
- func ContextForCluster(kindClusterName string) string
- func Export(p *cluster.Provider, name, explicitPath string) error
- func Get(p *cluster.Provider, name string, external bool) (string, error)
- func GetAPIServerEndpoint(p *cluster.Provider, cluster string) (string, error)
- func Remove(clusterName, explicitPath string) error
- func Save(p *cluster.Provider, name, explicitPath string, updateKubeContext bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextForCluster ¶
ContextForCluster returns the context name for a kind cluster based on it's name. This key is used for all list entries of kind clusters
func Export ¶
Export exports the kubeconfig given the cluster context and a path to write it to This will always be an external kubeconfig
func Get ¶
Get returns the kubeconfig for the cluster external controls if the internal IP address is used or the host endpoint
func GetAPIServerEndpoint ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.