mirror of
https://github.com/kubernetes/client-go.git
synced 2025-06-27 15:39:39 +00:00
generated: Changes for api introduced
Kubernetes-commit: 5464b649812f08c7edaa1f5c39c93ce1e96cfbb4
This commit is contained in:
parent
507a20486c
commit
906f6d916e
@ -35,6 +35,7 @@ type StatefulSetSpecApplyConfiguration struct {
|
|||||||
PodManagementPolicy *appsv1.PodManagementPolicyType `json:"podManagementPolicy,omitempty"`
|
PodManagementPolicy *appsv1.PodManagementPolicyType `json:"podManagementPolicy,omitempty"`
|
||||||
UpdateStrategy *StatefulSetUpdateStrategyApplyConfiguration `json:"updateStrategy,omitempty"`
|
UpdateStrategy *StatefulSetUpdateStrategyApplyConfiguration `json:"updateStrategy,omitempty"`
|
||||||
RevisionHistoryLimit *int32 `json:"revisionHistoryLimit,omitempty"`
|
RevisionHistoryLimit *int32 `json:"revisionHistoryLimit,omitempty"`
|
||||||
|
MinReadySeconds *int32 `json:"minReadySeconds,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// StatefulSetSpecApplyConfiguration constructs an declarative configuration of the StatefulSetSpec type for use with
|
// StatefulSetSpecApplyConfiguration constructs an declarative configuration of the StatefulSetSpec type for use with
|
||||||
@ -111,3 +112,11 @@ func (b *StatefulSetSpecApplyConfiguration) WithRevisionHistoryLimit(value int32
|
|||||||
b.RevisionHistoryLimit = &value
|
b.RevisionHistoryLimit = &value
|
||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// WithMinReadySeconds sets the MinReadySeconds field in the declarative configuration to the given value
|
||||||
|
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||||
|
// If called multiple times, the MinReadySeconds field is set to the value of the last call.
|
||||||
|
func (b *StatefulSetSpecApplyConfiguration) WithMinReadySeconds(value int32) *StatefulSetSpecApplyConfiguration {
|
||||||
|
b.MinReadySeconds = &value
|
||||||
|
return b
|
||||||
|
}
|
||||||
|
@ -30,6 +30,7 @@ type StatefulSetStatusApplyConfiguration struct {
|
|||||||
UpdateRevision *string `json:"updateRevision,omitempty"`
|
UpdateRevision *string `json:"updateRevision,omitempty"`
|
||||||
CollisionCount *int32 `json:"collisionCount,omitempty"`
|
CollisionCount *int32 `json:"collisionCount,omitempty"`
|
||||||
Conditions []StatefulSetConditionApplyConfiguration `json:"conditions,omitempty"`
|
Conditions []StatefulSetConditionApplyConfiguration `json:"conditions,omitempty"`
|
||||||
|
AvailableReplicas *int32 `json:"availableReplicas,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// StatefulSetStatusApplyConfiguration constructs an declarative configuration of the StatefulSetStatus type for use with
|
// StatefulSetStatusApplyConfiguration constructs an declarative configuration of the StatefulSetStatus type for use with
|
||||||
@ -114,3 +115,11 @@ func (b *StatefulSetStatusApplyConfiguration) WithConditions(values ...*Stateful
|
|||||||
}
|
}
|
||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// WithAvailableReplicas sets the AvailableReplicas field in the declarative configuration to the given value
|
||||||
|
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||||
|
// If called multiple times, the AvailableReplicas field is set to the value of the last call.
|
||||||
|
func (b *StatefulSetStatusApplyConfiguration) WithAvailableReplicas(value int32) *StatefulSetStatusApplyConfiguration {
|
||||||
|
b.AvailableReplicas = &value
|
||||||
|
return b
|
||||||
|
}
|
||||||
|
@ -35,6 +35,7 @@ type StatefulSetSpecApplyConfiguration struct {
|
|||||||
PodManagementPolicy *v1beta1.PodManagementPolicyType `json:"podManagementPolicy,omitempty"`
|
PodManagementPolicy *v1beta1.PodManagementPolicyType `json:"podManagementPolicy,omitempty"`
|
||||||
UpdateStrategy *StatefulSetUpdateStrategyApplyConfiguration `json:"updateStrategy,omitempty"`
|
UpdateStrategy *StatefulSetUpdateStrategyApplyConfiguration `json:"updateStrategy,omitempty"`
|
||||||
RevisionHistoryLimit *int32 `json:"revisionHistoryLimit,omitempty"`
|
RevisionHistoryLimit *int32 `json:"revisionHistoryLimit,omitempty"`
|
||||||
|
MinReadySeconds *int32 `json:"minReadySeconds,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// StatefulSetSpecApplyConfiguration constructs an declarative configuration of the StatefulSetSpec type for use with
|
// StatefulSetSpecApplyConfiguration constructs an declarative configuration of the StatefulSetSpec type for use with
|
||||||
@ -111,3 +112,11 @@ func (b *StatefulSetSpecApplyConfiguration) WithRevisionHistoryLimit(value int32
|
|||||||
b.RevisionHistoryLimit = &value
|
b.RevisionHistoryLimit = &value
|
||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// WithMinReadySeconds sets the MinReadySeconds field in the declarative configuration to the given value
|
||||||
|
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||||
|
// If called multiple times, the MinReadySeconds field is set to the value of the last call.
|
||||||
|
func (b *StatefulSetSpecApplyConfiguration) WithMinReadySeconds(value int32) *StatefulSetSpecApplyConfiguration {
|
||||||
|
b.MinReadySeconds = &value
|
||||||
|
return b
|
||||||
|
}
|
||||||
|
@ -30,6 +30,7 @@ type StatefulSetStatusApplyConfiguration struct {
|
|||||||
UpdateRevision *string `json:"updateRevision,omitempty"`
|
UpdateRevision *string `json:"updateRevision,omitempty"`
|
||||||
CollisionCount *int32 `json:"collisionCount,omitempty"`
|
CollisionCount *int32 `json:"collisionCount,omitempty"`
|
||||||
Conditions []StatefulSetConditionApplyConfiguration `json:"conditions,omitempty"`
|
Conditions []StatefulSetConditionApplyConfiguration `json:"conditions,omitempty"`
|
||||||
|
AvailableReplicas *int32 `json:"availableReplicas,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// StatefulSetStatusApplyConfiguration constructs an declarative configuration of the StatefulSetStatus type for use with
|
// StatefulSetStatusApplyConfiguration constructs an declarative configuration of the StatefulSetStatus type for use with
|
||||||
@ -114,3 +115,11 @@ func (b *StatefulSetStatusApplyConfiguration) WithConditions(values ...*Stateful
|
|||||||
}
|
}
|
||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// WithAvailableReplicas sets the AvailableReplicas field in the declarative configuration to the given value
|
||||||
|
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||||
|
// If called multiple times, the AvailableReplicas field is set to the value of the last call.
|
||||||
|
func (b *StatefulSetStatusApplyConfiguration) WithAvailableReplicas(value int32) *StatefulSetStatusApplyConfiguration {
|
||||||
|
b.AvailableReplicas = &value
|
||||||
|
return b
|
||||||
|
}
|
||||||
|
@ -35,6 +35,7 @@ type StatefulSetSpecApplyConfiguration struct {
|
|||||||
PodManagementPolicy *v1beta2.PodManagementPolicyType `json:"podManagementPolicy,omitempty"`
|
PodManagementPolicy *v1beta2.PodManagementPolicyType `json:"podManagementPolicy,omitempty"`
|
||||||
UpdateStrategy *StatefulSetUpdateStrategyApplyConfiguration `json:"updateStrategy,omitempty"`
|
UpdateStrategy *StatefulSetUpdateStrategyApplyConfiguration `json:"updateStrategy,omitempty"`
|
||||||
RevisionHistoryLimit *int32 `json:"revisionHistoryLimit,omitempty"`
|
RevisionHistoryLimit *int32 `json:"revisionHistoryLimit,omitempty"`
|
||||||
|
MinReadySeconds *int32 `json:"minReadySeconds,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// StatefulSetSpecApplyConfiguration constructs an declarative configuration of the StatefulSetSpec type for use with
|
// StatefulSetSpecApplyConfiguration constructs an declarative configuration of the StatefulSetSpec type for use with
|
||||||
@ -111,3 +112,11 @@ func (b *StatefulSetSpecApplyConfiguration) WithRevisionHistoryLimit(value int32
|
|||||||
b.RevisionHistoryLimit = &value
|
b.RevisionHistoryLimit = &value
|
||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// WithMinReadySeconds sets the MinReadySeconds field in the declarative configuration to the given value
|
||||||
|
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||||
|
// If called multiple times, the MinReadySeconds field is set to the value of the last call.
|
||||||
|
func (b *StatefulSetSpecApplyConfiguration) WithMinReadySeconds(value int32) *StatefulSetSpecApplyConfiguration {
|
||||||
|
b.MinReadySeconds = &value
|
||||||
|
return b
|
||||||
|
}
|
||||||
|
@ -30,6 +30,7 @@ type StatefulSetStatusApplyConfiguration struct {
|
|||||||
UpdateRevision *string `json:"updateRevision,omitempty"`
|
UpdateRevision *string `json:"updateRevision,omitempty"`
|
||||||
CollisionCount *int32 `json:"collisionCount,omitempty"`
|
CollisionCount *int32 `json:"collisionCount,omitempty"`
|
||||||
Conditions []StatefulSetConditionApplyConfiguration `json:"conditions,omitempty"`
|
Conditions []StatefulSetConditionApplyConfiguration `json:"conditions,omitempty"`
|
||||||
|
AvailableReplicas *int32 `json:"availableReplicas,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// StatefulSetStatusApplyConfiguration constructs an declarative configuration of the StatefulSetStatus type for use with
|
// StatefulSetStatusApplyConfiguration constructs an declarative configuration of the StatefulSetStatus type for use with
|
||||||
@ -114,3 +115,11 @@ func (b *StatefulSetStatusApplyConfiguration) WithConditions(values ...*Stateful
|
|||||||
}
|
}
|
||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// WithAvailableReplicas sets the AvailableReplicas field in the declarative configuration to the given value
|
||||||
|
// and returns the receiver, so that objects can be built by chaining "With" function invocations.
|
||||||
|
// If called multiple times, the AvailableReplicas field is set to the value of the last call.
|
||||||
|
func (b *StatefulSetStatusApplyConfiguration) WithAvailableReplicas(value int32) *StatefulSetStatusApplyConfiguration {
|
||||||
|
b.AvailableReplicas = &value
|
||||||
|
return b
|
||||||
|
}
|
||||||
|
@ -910,6 +910,9 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: io.k8s.api.apps.v1.StatefulSetSpec
|
- name: io.k8s.api.apps.v1.StatefulSetSpec
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
|
- name: minReadySeconds
|
||||||
|
type:
|
||||||
|
scalar: numeric
|
||||||
- name: podManagementPolicy
|
- name: podManagementPolicy
|
||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
@ -943,6 +946,9 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: io.k8s.api.apps.v1.StatefulSetStatus
|
- name: io.k8s.api.apps.v1.StatefulSetStatus
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
|
- name: availableReplicas
|
||||||
|
type:
|
||||||
|
scalar: numeric
|
||||||
- name: collisionCount
|
- name: collisionCount
|
||||||
type:
|
type:
|
||||||
scalar: numeric
|
scalar: numeric
|
||||||
@ -1191,6 +1197,9 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: io.k8s.api.apps.v1beta1.StatefulSetSpec
|
- name: io.k8s.api.apps.v1beta1.StatefulSetSpec
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
|
- name: minReadySeconds
|
||||||
|
type:
|
||||||
|
scalar: numeric
|
||||||
- name: podManagementPolicy
|
- name: podManagementPolicy
|
||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
@ -1224,6 +1233,9 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: io.k8s.api.apps.v1beta1.StatefulSetStatus
|
- name: io.k8s.api.apps.v1beta1.StatefulSetStatus
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
|
- name: availableReplicas
|
||||||
|
type:
|
||||||
|
scalar: numeric
|
||||||
- name: collisionCount
|
- name: collisionCount
|
||||||
type:
|
type:
|
||||||
scalar: numeric
|
scalar: numeric
|
||||||
@ -1670,6 +1682,9 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: io.k8s.api.apps.v1beta2.StatefulSetSpec
|
- name: io.k8s.api.apps.v1beta2.StatefulSetSpec
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
|
- name: minReadySeconds
|
||||||
|
type:
|
||||||
|
scalar: numeric
|
||||||
- name: podManagementPolicy
|
- name: podManagementPolicy
|
||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
@ -1703,6 +1718,9 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: io.k8s.api.apps.v1beta2.StatefulSetStatus
|
- name: io.k8s.api.apps.v1beta2.StatefulSetStatus
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
|
- name: availableReplicas
|
||||||
|
type:
|
||||||
|
scalar: numeric
|
||||||
- name: collisionCount
|
- name: collisionCount
|
||||||
type:
|
type:
|
||||||
scalar: numeric
|
scalar: numeric
|
||||||
|
Loading…
Reference in New Issue
Block a user