Documentation ¶
Overview ¶
Copyright 2023 Operant AI
Copyright 2023 Operant AI
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrContainerNotFound = errors.New("container not found")
ErrContainerNotFound is returned when a container is not found
Functions ¶
func FindContainerByName ¶
func FindContainerByName(containers []corev1.Container, containerName string) (corev1.Container, error)
FindContainerByName returns a container by name from a list of containers
func GetK8sVersion ¶
func GetK8sVersion(client *kubernetes.Clientset) (*k8sVersion.Info, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.