utils

package
v1.0.0-beta7 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsJobStatusConditionFalse

func IsJobStatusConditionFalse(conditions []batchv1.JobCondition, conditionType batchv1.JobConditionType) bool

IsJobStatusConditionFalse returns true when the conditionType is present and set to `metav1.ConditionFalse`

func IsJobStatusConditionPresentAndEqual

func IsJobStatusConditionPresentAndEqual(conditions []batchv1.JobCondition, conditionType batchv1.JobConditionType, status corev1.ConditionStatus) bool

IsJobStatusConditionPresentAndEqual returns true when conditionType is present and equal to status.

func IsJobStatusConditionTrue

func IsJobStatusConditionTrue(conditions []batchv1.JobCondition, conditionType batchv1.JobConditionType) bool

IsJobStatusConditionTrue returns true when the conditionType is present and set to `metav1.ConditionTrue`

func IsPodStatusConditionFalse

func IsPodStatusConditionFalse(conditions []corev1.PodCondition, conditionType corev1.PodConditionType) bool

IsPodStatusConditionFalse returns true when the conditionType is present and set to `metav1.ConditionFalse`

func IsPodStatusConditionPresentAndEqual

func IsPodStatusConditionPresentAndEqual(conditions []corev1.PodCondition, conditionType corev1.PodConditionType, status corev1.ConditionStatus) bool

IsPodStatusConditionPresentAndEqual returns true when conditionType is present and equal to status.

func IsPodStatusConditionTrue

func IsPodStatusConditionTrue(conditions []corev1.PodCondition, conditionType corev1.PodConditionType) bool

IsPodStatusConditionTrue returns true when the conditionType is present and set to `metav1.ConditionTrue`

Types

This section is empty.

Jump to

Keyboard shortcuts

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