Documentation
¶
Index ¶
- Constants
- func ConditionReason[T GenericConditionType](object any, conditionType T) string
- func ConditionStatus[T GenericConditionType](object any, conditionType T) corev1.ConditionStatus
- func FindDeploymentStatusCondition(in *appsv1.Deployment, conditionType string) (appsv1.DeploymentCondition, bool)
- func FindPodStatusCondition(in *corev1.Pod, conditionType string) (corev1.PodCondition, bool)
- 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
func FindDeploymentStatusCondition ¶ added in v0.0.10
func FindDeploymentStatusCondition(in *appsv1.Deployment, conditionType string) (appsv1.DeploymentCondition, bool)
func FindPodStatusCondition ¶ added in v0.0.10
Types ¶
type Conditions ¶
type GenericConditionType ¶
type GenericConditionType interface { ~string }
Click to show internal directories.
Click to hide internal directories.