Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGardenerClusterConfig ¶
func NewGardenerClusterConfig(kubeconfigPath string) (*restclient.Config, error)
NewGardenerClusterConfig returns REST config for Gardener cluster
func NewGardenerSecretsInterface ¶
func NewGardenerSecretsInterface(gardenerClusterCfg *restclient.Config, gardenerProjectName string) (corev1.SecretInterface, error)
NewGardenerSecretsInterface returns k8s secrets client(interface) for Gardener cluster
func RESTConfig ¶
func RESTConfig(kubeconfig []byte) (*restclient.Config, error)
RESTConfig returns REST config
Types ¶
Click to show internal directories.
Click to hide internal directories.