# Functions
NewAccessor creates a new Accessor with the given AccessorOptions.
UpdateObserved is a shorthand for updating the observed generation from a metav1.Object's generation.
UpdateTimestampsWith updates timestamps with the DefaultTransition and clock.RealClock.
# Constants
DefaultLastTransitionTimeField field is the default name for a condition's last transition time field.
DefaultLastUpdateTimeField field is the default name for a condition's last update time field.
DefaultMessageField field is the default name for a condition's message field.
DefaultObservedGenerationField field is the default name for a condition's observed generation field.
DefaultReasonField field is the default name for a condition's reason field.
DefaultStatusField is the default name for a condition's status field.
DefaultTypeField is the default name for a condition's type field.
# Variables
DefaultAccessor is an Accessor initialized with the default fields.
DefaultTransition is the default Transition.
FindSlice finds the target condition in the given slice.
FindSliceIndex finds the index of the target condition in the given slice.
FindSliceStatus finds the condition status in the given slice.
MustFindSlice finds the target condition in the given slice.
MustFindSliceIndex finds the index of the target condition in the given slice.
MustFindSliceStatus finds the condition status in the given slice.
MustUpdate updates the condition with the given options.
MustUpdateSlice updates the slice with the given options.
Update updates the condition with the given options.
UpdateSlice updates the slice with the given options.
# Structs
Accessor allows getting and setting fields from conditions as well as to check on their presence.
AccessorOptions are options to create an Accessor.
FieldsTransition computes whether a condition transitioned using the `Include`-Fields.
UpdateFromCondition updates a condition from a source Condition.
UpdateTimestamps manages the LastUpdateTime and LastTransitionTime field by creating a checkpoint with Transition, running all Updates and then checking if the TransitionCheckpoint reports transitioned.
# Interfaces
Transition can determine whether a condition transitioned (i.e.
TransitionCheckpoint can determine whether a condition transitioned using pre-gathered values of a condition.
UpdateOption is an option given to Accessor.UpdateSlice that updates an individual condition.
# Type aliases
UpdateMessage implements UpdateOption to set the message.
UpdateObservedGeneration implements UpdateOption to set the observed generation.
UpdateReason implements UpdateOption to set the reason.
UpdateStatus implements UpdateOption to set a corev1.ConditionStatus.