Documentation ¶
Overview ¶
Package utils contains important functions for envtest.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPresentAndFalseWithReason ¶
func IsPresentAndFalseWithReason(ctx context.Context, c client.Client, key types.NamespacedName, getter conditions.Getter, condition clusterv1.ConditionType, reason string) bool
IsPresentAndFalseWithReason returns if condition is present in the object status with false and a reason or not.
func IsPresentAndTrue ¶
func IsPresentAndTrue(ctx context.Context, c client.Client, key types.NamespacedName, getter conditions.Getter, condition clusterv1.ConditionType) bool
IsPresentAndTrue returns if condition is present in the object status with true or not.
Types ¶
Click to show internal directories.
Click to hide internal directories.