Skip to content

Commit 8ba2705

Browse files
update condition go doc
1 parent 6b71799 commit 8ba2705

File tree

6 files changed

+25
-10
lines changed

6 files changed

+25
-10
lines changed

machineconfiguration/v1/types_machineconfignode.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,10 @@ type MachineConfigNodeSpec struct {
102102

103103
// MachineConfigNodeStatus holds the reported information on a particular machine config node.
104104
type MachineConfigNodeStatus struct {
105-
// conditions represent the observations of a machine config node's current state.
105+
// conditions represent the observations of a machine config node's current state. Valid types are:
106+
// UpdatePrepared, UpdateExecuted, UpdatePostActionComplete, UpdateComplete, Updated, Resumed,
107+
// Drained, AppliedFilesAndOS, Cordoned, Uncordoned, RebootedNode, NodeDegraded, PinnedImageSetsProgressing,
108+
// and PinnedImageSetsDegraded.
106109
// +listType=map
107110
// +listMapKey=type
108111
// +kubebuilder:validation:MaxItems=20

machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfignodes-CustomNoUpgrade.crd.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,11 @@ spec:
177177
config node.
178178
properties:
179179
conditions:
180-
description: conditions represent the observations of a machine config
181-
node's current state.
180+
description: |-
181+
conditions represent the observations of a machine config node's current state. Valid types are:
182+
UpdatePrepared, UpdateExecuted, UpdatePostActionComplete, UpdateComplete, Updated, Resumed,
183+
Drained, AppliedFilesAndOS, Cordoned, Uncordoned, RebootedNode, NodeDegraded, PinnedImageSetsProgressing,
184+
and PinnedImageSetsDegraded.
182185
items:
183186
description: Condition contains details for one aspect of the current
184187
state of this API Resource.

machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfignodes-DevPreviewNoUpgrade.crd.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,11 @@ spec:
177177
config node.
178178
properties:
179179
conditions:
180-
description: conditions represent the observations of a machine config
181-
node's current state.
180+
description: |-
181+
conditions represent the observations of a machine config node's current state. Valid types are:
182+
UpdatePrepared, UpdateExecuted, UpdatePostActionComplete, UpdateComplete, Updated, Resumed,
183+
Drained, AppliedFilesAndOS, Cordoned, Uncordoned, RebootedNode, NodeDegraded, PinnedImageSetsProgressing,
184+
and PinnedImageSetsDegraded.
182185
items:
183186
description: Condition contains details for one aspect of the current
184187
state of this API Resource.

machineconfiguration/v1/zz_generated.crd-manifests/0000_80_machine-config_01_machineconfignodes-TechPreviewNoUpgrade.crd.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,11 @@ spec:
177177
config node.
178178
properties:
179179
conditions:
180-
description: conditions represent the observations of a machine config
181-
node's current state.
180+
description: |-
181+
conditions represent the observations of a machine config node's current state. Valid types are:
182+
UpdatePrepared, UpdateExecuted, UpdatePostActionComplete, UpdateComplete, Updated, Resumed,
183+
Drained, AppliedFilesAndOS, Cordoned, Uncordoned, RebootedNode, NodeDegraded, PinnedImageSetsProgressing,
184+
and PinnedImageSetsDegraded.
182185
items:
183186
description: Condition contains details for one aspect of the current
184187
state of this API Resource.

machineconfiguration/v1/zz_generated.featuregated-crd-manifests/machineconfignodes.machineconfiguration.openshift.io/MachineConfigNodes.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,11 @@ spec:
177177
config node.
178178
properties:
179179
conditions:
180-
description: conditions represent the observations of a machine config
181-
node's current state.
180+
description: |-
181+
conditions represent the observations of a machine config node's current state. Valid types are:
182+
UpdatePrepared, UpdateExecuted, UpdatePostActionComplete, UpdateComplete, Updated, Resumed,
183+
Drained, AppliedFilesAndOS, Cordoned, Uncordoned, RebootedNode, NodeDegraded, PinnedImageSetsProgressing,
184+
and PinnedImageSetsDegraded.
182185
items:
183186
description: Condition contains details for one aspect of the current
184187
state of this API Resource.

machineconfiguration/v1/zz_generated.swagger_doc_generated.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)