package
0.0.0-20221111231200-b9b452213456
Repository: https://github.com/k8s-cloud-platform/trident.git
Documentation: pkg.go.dev

# Functions

Delete deletes the condition with the given type.
FalseCondition returns a condition with Status=False and the given type.
Get returns the condition with the given type, if the condition does not exists, 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.
Has returns true if a condition with the given type exists.
IsFalse is true if the condition with the given type is False, otherwise it return 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 return 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.
MarkTrue sets Status=True for the condition with the given type.
MarkUnknown sets Status=Unknown for the condition with the given type.
Set sets the given condition.
TrueCondition returns a condition with Status=True and the given type.
UnknownCondition returns a condition with Status=Unknown and the given type.

# Interfaces

Getter interface defines methods that a Cluster API object should implement in order to use the conditions package for getting conditions.
Setter interface defines methods that a Cluster API object should implement in order to use the conditions package for setting conditions.