Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conditions ¶
type Conditions map[CondType]*condition
func New ¶
func New() Conditions
func (Conditions) AddError ¶
func (c Conditions) AddError(condType CondType, err error)
func (Conditions) AddSuccess ¶
func (c Conditions) AddSuccess(condType CondType, message string)
func (Conditions) AddUnknown ¶
func (c Conditions) AddUnknown(condType CondType, message string)
func (Conditions) ToConditions ¶
func (c Conditions) ToConditions(generation int64) []metav1.Condition
Click to show internal directories.
Click to hide internal directories.