Documentation ¶
Index ¶
Constants ¶
View Source
const ( ReasonSuccess = "Success" ReasonNotReady = "NotReady" ReasonUnableToValidate = "UnableToValidate" ReasonUnableToDialServer = "UnableToDialServer" ReasonInvalidIssuerURL = "InvalidIssuerURL" MessageUnableToValidate = "unable to validate; see other conditions for details" )
Some common reasons and messages shared by conditions of various resources.
Variables ¶
This section is empty.
Functions ¶
func HadErrorCondition ¶ added in v0.29.0
func MergeConditions ¶ added in v0.31.0
func MergeConditions( conditions []*metav1.Condition, observedGeneration int64, conditionsToUpdate *[]metav1.Condition, log plog.MinLogger, lastTransitionTime metav1.Time, ) bool
MergeConditions merges conditions into conditionsToUpdate. Note that LastTransitionTime refers to the time when the status changed, but ObservedGeneration should be the current generation for all conditions, since Pinniped should always check every condition. It returns true if any resulting condition has non-true status.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.