Documentation ¶
Index ¶
- func CheckAPIServerConnectivity() error
- func CreateKubeClient(appName string) (client.Client, error)
- func CreateKubeClientCache(restCfg *rest.Config, scheme *runtime.Scheme, ...) (cache.Cache, error)
- func GetKubeClientSet() (kubernetes.Interface, error)
- func GetNode(ctx context.Context, k8sClient client.Client) (corev1.Node, error)
- func StartKubeClientCache(cache cache.Cache)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAPIServerConnectivity ¶ added in v1.8.0
func CheckAPIServerConnectivity() error
func CreateKubeClient ¶
CreateKubeClient creates a k8s client
func CreateKubeClientCache ¶ added in v1.15.0
func CreateKubeClientCache(restCfg *rest.Config, scheme *runtime.Scheme, filterMap map[client.Object]cache.ByObject) (cache.Cache, error)
Create cache reader for Kubernetes client
func GetKubeClientSet ¶ added in v1.8.0
func GetKubeClientSet() (kubernetes.Interface, error)
func StartKubeClientCache ¶ added in v1.15.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.