Documentation ¶
Index ¶
- Constants
- type Status
- func (in *Status) DeepCopy() *Status
- func (in *Status) DeepCopyInto(out *Status)
- func (status *Status) GetGeneration() int64
- func (status *Status) InitStatus(object client.Object)
- func (status *Status) InitStatusConditions()
- func (status *Status) IsAvailable() bool
- func (status *Status) SetStatusCondition(condition metav1.Condition) (updated bool)
- type URL
Constants ¶
View Source
const ( ConditionTypeProgressing string = "Progressing" ConditionTypeReconcile string = "Reconcile" ConditionTypeAvailable string = "Available" ConditionTypeReconcilePVC string = "ReconcilePVC" ConditionTypeReconcileService string = "ReconcileService" ConditionTypeReconcileIngress string = "ReconcileIngress" ConditionTypeReconcileDeployment string = "ReconcileDeployment" ConditionTypeReconcileSecret string = "ReconcileSecret" ConditionTypeReconcileDaemonSet string = "ReconcileDaemonSet" ConditionTypeReconcileConfigMap string = "ReconcileConfigMap" ConditionTypeReconcileStatefulSet string = "ReconcileStatefulSet" )
ConditionType is the type of condition
View Source
const ( ConditionReasonPreparing string = "Preparing" ConditionReasonRunning string = "Running" ConditionReasonConfig string = "Config" ConditionReasonReady string = "Ready" ConditionReasonFail string = "Fail" )
ConditionReason is the reason for the condition
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Status ¶
type Status struct { // +kubebuilder:validation:Optional Conditions []metav1.Condition `json:"conditions,omitempty"` // +kubebuilder:validation:Optional URLs []URL `json:"urls,omitempty"` Generation int64 `json:"generation,omitempty"` Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` }
Status defines the common status
func (*Status) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.
func (*Status) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Status) GetGeneration ¶
GetGeneration returns the status's generation.
func (*Status) InitStatus ¶
InitStatus initializes the status.
func (*Status) InitStatusConditions ¶
func (status *Status) InitStatusConditions()
InitStatusConditions initializes the status conditions to the provided conditions.
func (*Status) IsAvailable ¶
IsAvailable returns true if the status is available.
Click to show internal directories.
Click to hide internal directories.