# Packages
Package v1beta2 implements utils for metav1.Conditions that will be used starting with the v1beta2 API.
# Functions
AddSourceRef instructs merge to add info about the originating object to the target Reason.
Delete deletes the condition with the given type.
FalseCondition returns a condition with Status=False and the given type.
FalseConditionWithNegativePolarity returns a condition with negative polarity, Status=false and the given type (Status=False has a positive meaning).
Get returns the condition with the given type, if the condition does not exist, it returns nil.
GetLastTransitionTime returns the condition Severity or nil if the condition does not exist (is nil).
GetMessage returns a nil safe string of Message.
GetReason returns a nil safe string of Reason for the condition with the given type.
GetSeverity returns the condition Severity or nil if the condition does not exist (is nil).
Has returns true if a condition with the given type exists.
HasSameState returns true if a condition has the same state of another; state is defined by the union of following fields: Type, Status, Reason, Severity and Message (it excludes LastTransitionTime).
HaveSameStateOf matches a condition to have the same state of another.
IsFalse is true if the condition with the given type is False, otherwise it returns false if the condition is not False or if the condition does not exist (is nil).
IsTrue is true if the condition with the given type is True, otherwise it returns false if the condition is not True or if the condition does not exist (is nil).
IsUnknown is true if the condition with the given type is Unknown or if the condition does not exist (is nil).
MarkFalse sets Status=False for the condition with the given type.
MarkFalseWithNegativePolarity sets Status=False for a condition with negative polarity and the given type (Status=False has a positive meaning).
MarkTrue sets Status=True for the condition with the given type.
MarkTrueWithNegativePolarity sets Status=True for a condition with negative polarity and the given type (Status=True has a negative meaning).
MarkUnknown sets Status=Unknown for the condition with the given type.
MatchCondition returns a custom matcher to check equality of clusterv1.Condition.
MatchConditions returns a custom matcher to check equality of clusterv1.Conditions.
NewPatch returns the Patch required to align source conditions to after conditions.
Set sets the given condition.
SetAggregate creates a new condition with the aggregation of all the Ready condition from a list of dependent objects; if the Ready condition does not exist in one of the source object, the object is excluded from the aggregation; if none of the source object have ready condition, no target conditions is generated.
SetMirror creates a new condition by mirroring the Ready condition from a dependent object; if the Ready condition does not exist in the source object, no target conditions is generated.
SetSummary sets a Ready condition with the summary of all the conditions existing on an object.
SetWithCustomLastTransitionTime is similar to Set function which sets the given condition but following changes for LastTransitionTime.
TrueCondition returns a condition with Status=True and the given type.
TrueConditionWithNegativePolarity returns a condition with negative polarity, Status=True and the given type (Status=True has a negative meaning).
UnknownCondition returns a condition with Status=Unknown and the given type.
UnstructuredGetter return a Getter object that can read conditions from an Unstructured object.
UnstructuredSetter return a Setter object that can set conditions from an Unstructured object.
WithConditions instructs merge about the condition types to consider when doing a merge operation; if this option is not specified, all the conditions (excepts Ready) will be considered.
WithFallbackValue specify a fallback value to use in case the mirrored condition does not exist; in case the fallbackValue is false, given values for reason, severity and message will be used.
WithForceOverwrite In case of conflicts for the owned conditions, the patch helper will always use the value provided by the controller.
WithNegativePolarityConditions instruct merge about which conditions should be considered having negative polarity.
WithOwnedConditions allows to define condition types owned by the controller.
WithStepCounter instructs merge to add a "x of y completed" string to the message, where x is the number of conditions with Status=true and y is the number of conditions in scope.
WithStepCounterIf adds a step counter if the value is true.
WithStepCounterIfOnly ensure a step counter is show only if a subset of condition exists.
# Constants
AddConditionPatch defines an add condition patch operation.
ChangeConditionPatch defines an change condition patch operation.
NegativePolarity describe a condition with negative polarity (Status=False good).
PositivePolarity describe a condition with positive polarity (Status=True good).
RemoveConditionPatch defines a remove condition patch operation.
# Structs
PatchOperation define an operation that changes a single condition.
# Type aliases
ApplyOption defines an option for applying a condition patch.
MergeOption defines an option for computing a summary of conditions.
MirrorOptions defines an option for mirroring conditions.
Patch defines a list of operations to change a list of conditions into another.
PatchOperationType defines patch operation types.