util

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImageName

func GetImageName(fullName string) (name string, tags []string)

func IsControlPlaneObject

func IsControlPlaneObject(object *metav1.ObjectMeta) bool

func IsFuzzerObject

func IsFuzzerObject(object *metav1.ObjectMeta) bool

func IsPodRunning

func IsPodRunning(clientSet kubernetes.Interface, context context.Context, pod *corev1.Pod) wait.ConditionFunc

func NamespaceExists

func NamespaceExists(l logger.Logger, clientset kubernetes.Interface, namespace string) (bool, error)

func PodExists

func PodExists(l logger.Logger, clientSet kubernetes.Interface, namespace string, podName string) (bool, error)

func SplitImageId

func SplitImageId(l logger.Logger, imageId string) (hash string, hashType string)

func WaitForPodReady

func WaitForPodReady(clientSet kubernetes.Interface, context context.Context, pod *corev1.Pod, timeout time.Duration) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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