Documentation
¶
Index ¶
- func GetImageName(fullName string) (name string, tags []string)
- func GetPodsForSvc(svc *corev1.Service, namespace string, k8sClient typev1.CoreV1Interface) (*corev1.PodList, error)
- func IsFuzzerEvent(object *metav1.ObjectMeta) bool
- func IsJobReady(clientset kubernetes.Interface, jobName string, namespace string) wait.ConditionFunc
- func IsKubernetesEvent(object *metav1.ObjectMeta) bool
- func IsPodRunning(clientSet kubernetes.Interface, pod *corev1.Pod) wait.ConditionFunc
- func IsSvcRunning(c typev1.CoreV1Interface, service *corev1.Service) wait.ConditionFunc
- func NamespaceExist(clientset kubernetes.Interface, namespace string) bool
- func PodExist(clientSet kubernetes.Interface, namespace string, podName string) bool
- func SplitImageId(imageId string) (hash string, hashType string)
- func WaitForJobReady(clientset kubernetes.Interface, jobName string, namespace string, ...) error
- func WaitForPodReady(clientSet kubernetes.Interface, pod *corev1.Pod, timeout time.Duration) error
- func WaitForSvcReady(c kubernetes.Interface, service *corev1.Service, timeout time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetImageName ¶
func GetPodsForSvc ¶
func IsFuzzerEvent ¶
func IsFuzzerEvent(object *metav1.ObjectMeta) bool
func IsJobReady ¶
func IsJobReady(clientset kubernetes.Interface, jobName string, namespace string) wait.ConditionFunc
func IsKubernetesEvent ¶
func IsKubernetesEvent(object *metav1.ObjectMeta) bool
func IsPodRunning ¶
func IsPodRunning(clientSet kubernetes.Interface, pod *corev1.Pod) wait.ConditionFunc
func IsSvcRunning ¶
func IsSvcRunning(c typev1.CoreV1Interface, service *corev1.Service) wait.ConditionFunc
IsSvcRunning return a condition function that indicates whether the given pod is currently running
func NamespaceExist ¶
func NamespaceExist(clientset kubernetes.Interface, namespace string) bool
func PodExist ¶
func PodExist(clientSet kubernetes.Interface, namespace string, podName string) bool
func SplitImageId ¶
func WaitForJobReady ¶
func WaitForPodReady ¶
func WaitForSvcReady ¶
WaitForSvcReady Wait until the service has a running pod available Returns an error if the pod never enters the running state.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.