Documentation ¶
Index ¶
- func CheckAPIServerConnectivity() error
- func CreateCachedKubeClient(rawK8SClient client.Client, mapper meta.RESTMapper) (client.Client, error)
- func CreateKubeClient(mapper meta.RESTMapper) (client.Client, error)
- func GetKubeClientSet() (kubernetes.Interface, error)
- func InitializeRestMapper() (meta.RESTMapper, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAPIServerConnectivity ¶ added in v1.8.0
func CheckAPIServerConnectivity() error
func CreateCachedKubeClient ¶ added in v1.8.0
func CreateCachedKubeClient(rawK8SClient client.Client, mapper meta.RESTMapper) (client.Client, error)
CreateKubeClient creates a k8s client
func CreateKubeClient ¶
func CreateKubeClient(mapper meta.RESTMapper) (client.Client, error)
CreateKubeClient creates a k8s client
func GetKubeClientSet ¶ added in v1.8.0
func GetKubeClientSet() (kubernetes.Interface, error)
func InitializeRestMapper ¶ added in v1.11.0
func InitializeRestMapper() (meta.RESTMapper, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.