rename assuredConcurrencyShares for flowcontrol v1beta3

Kubernetes-commit: 66fc0d703794f309c9715028d3b63f64c281a5fd
This commit is contained in:
Abu Kashem
2022-09-21 15:40:33 -04:00
committed by Kubernetes Publisher
parent 9bac803bd8
commit 9b97b72528
2 changed files with 9 additions and 9 deletions

View File

@@ -21,7 +21,7 @@ package v1beta3
// LimitedPriorityLevelConfigurationApplyConfiguration represents an declarative configuration of the LimitedPriorityLevelConfiguration type for use // LimitedPriorityLevelConfigurationApplyConfiguration represents an declarative configuration of the LimitedPriorityLevelConfiguration type for use
// with apply. // with apply.
type LimitedPriorityLevelConfigurationApplyConfiguration struct { type LimitedPriorityLevelConfigurationApplyConfiguration struct {
AssuredConcurrencyShares *int32 `json:"assuredConcurrencyShares,omitempty"` NominalConcurrencyShares *int32 `json:"nominalConcurrencyShares,omitempty"`
LimitResponse *LimitResponseApplyConfiguration `json:"limitResponse,omitempty"` LimitResponse *LimitResponseApplyConfiguration `json:"limitResponse,omitempty"`
} }
@@ -31,11 +31,11 @@ func LimitedPriorityLevelConfiguration() *LimitedPriorityLevelConfigurationApply
return &LimitedPriorityLevelConfigurationApplyConfiguration{} return &LimitedPriorityLevelConfigurationApplyConfiguration{}
} }
// WithAssuredConcurrencyShares sets the AssuredConcurrencyShares field in the declarative configuration to the given value // WithNominalConcurrencyShares sets the NominalConcurrencyShares field in the declarative configuration to the given value
// and returns the receiver, so that objects can be built by chaining "With" function invocations. // and returns the receiver, so that objects can be built by chaining "With" function invocations.
// If called multiple times, the AssuredConcurrencyShares field is set to the value of the last call. // If called multiple times, the NominalConcurrencyShares field is set to the value of the last call.
func (b *LimitedPriorityLevelConfigurationApplyConfiguration) WithAssuredConcurrencyShares(value int32) *LimitedPriorityLevelConfigurationApplyConfiguration { func (b *LimitedPriorityLevelConfigurationApplyConfiguration) WithNominalConcurrencyShares(value int32) *LimitedPriorityLevelConfigurationApplyConfiguration {
b.AssuredConcurrencyShares = &value b.NominalConcurrencyShares = &value
return b return b
} }

View File

@@ -9346,14 +9346,14 @@ var schemaYAML = typed.YAMLObject(`types:
- name: io.k8s.api.flowcontrol.v1beta3.LimitedPriorityLevelConfiguration - name: io.k8s.api.flowcontrol.v1beta3.LimitedPriorityLevelConfiguration
map: map:
fields: fields:
- name: assuredConcurrencyShares
type:
scalar: numeric
default: 0
- name: limitResponse - name: limitResponse
type: type:
namedType: io.k8s.api.flowcontrol.v1beta3.LimitResponse namedType: io.k8s.api.flowcontrol.v1beta3.LimitResponse
default: {} default: {}
- name: nominalConcurrencyShares
type:
scalar: numeric
default: 0
- name: io.k8s.api.flowcontrol.v1beta3.NonResourcePolicyRule - name: io.k8s.api.flowcontrol.v1beta3.NonResourcePolicyRule
map: map:
fields: fields: