mirror of
https://github.com/kubernetes/client-go.git
synced 2026-07-17 01:57:40 +00:00
kube-api-linter: enable optionalorrequired checks for flowcontrol
Add +required/+optional markers across flowcontrol API versions and regenerate OpenAPI, protobuf, and applyconfiguration artifacts with current tags so unrelated discovery files are left untouched. Kubernetes-commit: 52c2a3ab1caa6f55b4e14c89cbf33bca21feaa32
This commit is contained in:
committed by
Kubernetes Publisher
parent
7b62b07ca8
commit
1ad85590c3
@@ -32,8 +32,7 @@ type FlowSchemaConditionApplyConfiguration struct {
|
||||
// Required.
|
||||
Type *flowcontrolv1.FlowSchemaConditionType `json:"type,omitempty"`
|
||||
// `status` is the status of the condition.
|
||||
// Can be True, False, Unknown.
|
||||
// Required.
|
||||
// Should be specified and set to one of True, False, Unknown.
|
||||
Status *flowcontrolv1.ConditionStatus `json:"status,omitempty"`
|
||||
// `lastTransitionTime` is the last time the condition transitioned from one status to another.
|
||||
LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
|
||||
|
||||
@@ -32,8 +32,7 @@ type PriorityLevelConfigurationConditionApplyConfiguration struct {
|
||||
// Required.
|
||||
Type *flowcontrolv1.PriorityLevelConfigurationConditionType `json:"type,omitempty"`
|
||||
// `status` is the status of the condition.
|
||||
// Can be True, False, Unknown.
|
||||
// Required.
|
||||
// Should be specified and set to one of True, False, Unknown.
|
||||
Status *flowcontrolv1.ConditionStatus `json:"status,omitempty"`
|
||||
// `lastTransitionTime` is the last time the condition transitioned from one status to another.
|
||||
LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
|
||||
|
||||
@@ -32,8 +32,7 @@ type FlowSchemaConditionApplyConfiguration struct {
|
||||
// Required.
|
||||
Type *flowcontrolv1beta1.FlowSchemaConditionType `json:"type,omitempty"`
|
||||
// `status` is the status of the condition.
|
||||
// Can be True, False, Unknown.
|
||||
// Required.
|
||||
// Should be specified and set to one of True, False, Unknown.
|
||||
Status *flowcontrolv1beta1.ConditionStatus `json:"status,omitempty"`
|
||||
// `lastTransitionTime` is the last time the condition transitioned from one status to another.
|
||||
LastTransitionTime *v1.Time `json:"lastTransitionTime,omitempty"`
|
||||
|
||||
@@ -32,8 +32,7 @@ type PriorityLevelConfigurationConditionApplyConfiguration struct {
|
||||
// Required.
|
||||
Type *flowcontrolv1beta1.PriorityLevelConfigurationConditionType `json:"type,omitempty"`
|
||||
// `status` is the status of the condition.
|
||||
// Can be True, False, Unknown.
|
||||
// Required.
|
||||
// Should be specified and set to one of True, False, Unknown.
|
||||
Status *flowcontrolv1beta1.ConditionStatus `json:"status,omitempty"`
|
||||
// `lastTransitionTime` is the last time the condition transitioned from one status to another.
|
||||
LastTransitionTime *v1.Time `json:"lastTransitionTime,omitempty"`
|
||||
|
||||
@@ -32,8 +32,7 @@ type FlowSchemaConditionApplyConfiguration struct {
|
||||
// Required.
|
||||
Type *flowcontrolv1beta2.FlowSchemaConditionType `json:"type,omitempty"`
|
||||
// `status` is the status of the condition.
|
||||
// Can be True, False, Unknown.
|
||||
// Required.
|
||||
// Should be specified and set to one of True, False, Unknown.
|
||||
Status *flowcontrolv1beta2.ConditionStatus `json:"status,omitempty"`
|
||||
// `lastTransitionTime` is the last time the condition transitioned from one status to another.
|
||||
LastTransitionTime *v1.Time `json:"lastTransitionTime,omitempty"`
|
||||
|
||||
@@ -32,8 +32,7 @@ type PriorityLevelConfigurationConditionApplyConfiguration struct {
|
||||
// Required.
|
||||
Type *flowcontrolv1beta2.PriorityLevelConfigurationConditionType `json:"type,omitempty"`
|
||||
// `status` is the status of the condition.
|
||||
// Can be True, False, Unknown.
|
||||
// Required.
|
||||
// Should be specified and set to one of True, False, Unknown.
|
||||
Status *flowcontrolv1beta2.ConditionStatus `json:"status,omitempty"`
|
||||
// `lastTransitionTime` is the last time the condition transitioned from one status to another.
|
||||
LastTransitionTime *v1.Time `json:"lastTransitionTime,omitempty"`
|
||||
|
||||
@@ -32,8 +32,7 @@ type FlowSchemaConditionApplyConfiguration struct {
|
||||
// Required.
|
||||
Type *flowcontrolv1beta3.FlowSchemaConditionType `json:"type,omitempty"`
|
||||
// `status` is the status of the condition.
|
||||
// Can be True, False, Unknown.
|
||||
// Required.
|
||||
// Should be specified and set to one of True, False, Unknown.
|
||||
Status *flowcontrolv1beta3.ConditionStatus `json:"status,omitempty"`
|
||||
// `lastTransitionTime` is the last time the condition transitioned from one status to another.
|
||||
LastTransitionTime *v1.Time `json:"lastTransitionTime,omitempty"`
|
||||
|
||||
@@ -32,8 +32,7 @@ type PriorityLevelConfigurationConditionApplyConfiguration struct {
|
||||
// Required.
|
||||
Type *flowcontrolv1beta3.PriorityLevelConfigurationConditionType `json:"type,omitempty"`
|
||||
// `status` is the status of the condition.
|
||||
// Can be True, False, Unknown.
|
||||
// Required.
|
||||
// Should be specified and set to one of True, False, Unknown.
|
||||
Status *flowcontrolv1beta3.ConditionStatus `json:"status,omitempty"`
|
||||
// `lastTransitionTime` is the last time the condition transitioned from one status to another.
|
||||
LastTransitionTime *v1.Time `json:"lastTransitionTime,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user