k8sapi

package
v1.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2023 License: Apache-2.0 Imports: 18 Imported by: 60

Documentation

Index

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, limitPods bool) (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 GetNode added in v1.13.0

func GetNode(ctx context.Context, k8sClient client.Client) (corev1.Node, error)

func InitializeRestMapper added in v1.11.0

func InitializeRestMapper() (meta.RESTMapper, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL