Documentation ¶
Overview ¶
Package condition provides condition related utils.
Index ¶
- func ConflictedServiceExportConflictCondition(internalServiceExport fleetnetv1alpha1.InternalServiceExport) metav1.Condition
- func EqualCondition(current, desired *metav1.Condition) bool
- func EqualConditionIgnoreReason(current, desired *metav1.Condition) bool
- func UnconflictedServiceExportConflictCondition(internalServiceExport fleetnetv1alpha1.InternalServiceExport) metav1.Condition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConflictedServiceExportConflictCondition ¶
func ConflictedServiceExportConflictCondition(internalServiceExport fleetnetv1alpha1.InternalServiceExport) metav1.Condition
ConflictedServiceExportConflictCondition returns the desired conflicted condition.
func EqualCondition ¶
EqualCondition compares one condition with another; it ignores the LastTransitionTime and Message fields, and will consider the ObservedGeneration values from the two conditions a match if the current condition is newer.
func EqualConditionIgnoreReason ¶
EqualConditionIgnoreReason compares one condition with another; it ignores the Reason, LastTransitionTime, and Message fields, and will consider the ObservedGeneration values from the two conditions a match if the current condition is newer.
func UnconflictedServiceExportConflictCondition ¶
func UnconflictedServiceExportConflictCondition(internalServiceExport fleetnetv1alpha1.InternalServiceExport) metav1.Condition
UnconflictedServiceExportConflictCondition returns the desired unconflicted condition.
Types ¶
This section is empty.