Documentation ¶
Index ¶
- Constants
- func ConditionReason[T GenericConditionType](object any, conditionType T) string
- func ConditionStatus[T GenericConditionType](object any, conditionType T) corev1.ConditionStatus
- func Get(from Getter, t ConditionType) *metav1.Condition
- type ConditionType
- type Conditions
- type GenericConditionType
- type Getter
Constants ¶
View Source
const ( TypeReconciled = "Reconciled" TypeReady = "Ready" TypeError = "Error" ReasonReady = "Ready" ReasonReconciled = "Ready" ReasonFailure = "Failure" ReasonUnsupportedConfiguration = "UnsupportedConfiguration" )
Variables ¶
This section is empty.
Functions ¶
func ConditionReason ¶
func ConditionReason[T GenericConditionType](object any, conditionType T) string
func ConditionStatus ¶
func ConditionStatus[T GenericConditionType](object any, conditionType T) corev1.ConditionStatus
Types ¶
type Conditions ¶
type GenericConditionType ¶
type GenericConditionType interface { ~string }
Click to show internal directories.
Click to hide internal directories.