Documentation ¶
Index ¶
- func GetClientset() (*rest.Config, *kubernetes.Clientset, error)
- func GetDynamicClientset() (*rest.Config, *dynamic.DynamicClient, error)
- func GetSecret(name string, namespace string) ([]byte, error)
- func IsConnectedToCluster() bool
- func UpsertConfigMap(data map[string]string, name string, namespace string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClientset ¶
func GetClientset() (*rest.Config, *kubernetes.Clientset, error)
func GetDynamicClientset ¶ added in v1.0.0
func GetDynamicClientset() (*rest.Config, *dynamic.DynamicClient, error)
func IsConnectedToCluster ¶
func IsConnectedToCluster() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.