Documentation ¶
Index ¶
- func AllOfType(subject acktypes.ConditionManager, condType ackv1alpha1.ConditionType) []*ackv1alpha1.Condition
- func FirstOfType(subject acktypes.ConditionManager, condType ackv1alpha1.ConditionType) *ackv1alpha1.Condition
- func SetSynced(subject acktypes.ConditionManager, status corev1.ConditionStatus, ...)
- func SetTerminal(subject acktypes.ConditionManager, status corev1.ConditionStatus, ...)
- func Synced(subject acktypes.ConditionManager) *ackv1alpha1.Condition
- func Terminal(subject acktypes.ConditionManager) *ackv1alpha1.Condition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllOfType ¶
func AllOfType( subject acktypes.ConditionManager, condType ackv1alpha1.ConditionType, ) []*ackv1alpha1.Condition
AllOfType returns a slice of Conditions in the resource's Conditions collection of the supplied type.
func FirstOfType ¶
func FirstOfType( subject acktypes.ConditionManager, condType ackv1alpha1.ConditionType, ) *ackv1alpha1.Condition
FirstOfType returns the first Condition in the resource's Conditions collection of the supplied type. If no such condition is found, returns nil.
func SetSynced ¶
func SetSynced( subject acktypes.ConditionManager, status corev1.ConditionStatus, message *string, reason *string, )
SetSynced sets the resource's Condition of type ConditionTypeResourceSynced to the supplied status, optional message and reason.
func SetTerminal ¶
func SetTerminal( subject acktypes.ConditionManager, status corev1.ConditionStatus, message *string, reason *string, )
SetTerminal sets the resource's Condition of type ConditionTypeTerminal to the supplied status, optional message and reason.
func Synced ¶
func Synced(subject acktypes.ConditionManager) *ackv1alpha1.Condition
Synced returns the Condition in the resource's Conditions collection that is of type ConditionTypeResourceSynced. If no such condition is found, returns nil.
func Terminal ¶
func Terminal(subject acktypes.ConditionManager) *ackv1alpha1.Condition
Terminal returns the Condition in the resource's Conditions collection that is of type ConditionTypeTerminal. If no such condition is found, returns nil.
Types ¶
This section is empty.