Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateKubeconfigSecret ¶
func SingleSeedKubeconfig ¶
func SingleSeedKubeconfig(kubeconfig *clientcmdapi.Config, seedName string) (*clientcmdapi.Config, error)
SingleSeedKubeconfig takes a kubeconfig and returns a new kubeconfig that only has the required parts to connect to the given seed. An error is returned when the given seed has no valid matching context in the kubeconfig.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.