mirror of
https://github.com/kubernetes/client-go.git
synced 2025-08-15 05:53:15 +00:00
Update generated code for APF borrowing by exempt
Signed-off-by: Mike Spreitzer <mspreitz@us.ibm.com> Kubernetes-commit: f78d6062eb8c4565e570f4c8657856a0bd082cf9
This commit is contained in:
parent
0c7c900fd5
commit
4c1cb3cb29
@ -0,0 +1,48 @@
|
|||||||
|
/*
|
||||||
|
Copyright The Kubernetes Authors.
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Code generated by applyconfiguration-gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package v1alpha1
|
||||||
|
|
||||||
|
// ExemptPriorityLevelConfigurationApplyConfiguration represents an declarative configuration of the ExemptPriorityLevelConfiguration type for use
|
||||||
|
// with apply.
|
||||||
|
type ExemptPriorityLevelConfigurationApplyConfiguration struct {
|
||||||
|
NominalConcurrencyShares *int32 `json:"nominalConcurrencyShares,omitempty"`
|
||||||
|
LendablePercent *int32 `json:"lendablePercent,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
// ExemptPriorityLevelConfigurationApplyConfiguration constructs an declarative configuration of the ExemptPriorityLevelConfiguration type for use with
|
||||||
|
// apply.
|
||||||
|
func ExemptPriorityLevelConfiguration() *ExemptPriorityLevelConfigurationApplyConfiguration {
|
||||||
|
return &ExemptPriorityLevelConfigurationApplyConfiguration{}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 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.
|
||||||
|
// If called multiple times, the NominalConcurrencyShares field is set to the value of the last call.
|
||||||
|
func (b *ExemptPriorityLevelConfigurationApplyConfiguration) WithNominalConcurrencyShares(value int32) *ExemptPriorityLevelConfigurationApplyConfiguration {
|
||||||
|
b.NominalConcurrencyShares = &value
|
||||||
|
return b
|
||||||
|
}
|
||||||
|
|
||||||
|
// WithLendablePercent sets the LendablePercent 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 LendablePercent field is set to the value of the last call.
|
||||||
|
func (b *ExemptPriorityLevelConfigurationApplyConfiguration) WithLendablePercent(value int32) *ExemptPriorityLevelConfigurationApplyConfiguration {
|
||||||
|
b.LendablePercent = &value
|
||||||
|
return b
|
||||||
|
}
|
@ -27,6 +27,7 @@ import (
|
|||||||
type PriorityLevelConfigurationSpecApplyConfiguration struct {
|
type PriorityLevelConfigurationSpecApplyConfiguration struct {
|
||||||
Type *v1alpha1.PriorityLevelEnablement `json:"type,omitempty"`
|
Type *v1alpha1.PriorityLevelEnablement `json:"type,omitempty"`
|
||||||
Limited *LimitedPriorityLevelConfigurationApplyConfiguration `json:"limited,omitempty"`
|
Limited *LimitedPriorityLevelConfigurationApplyConfiguration `json:"limited,omitempty"`
|
||||||
|
Exempt *ExemptPriorityLevelConfigurationApplyConfiguration `json:"exempt,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// PriorityLevelConfigurationSpecApplyConfiguration constructs an declarative configuration of the PriorityLevelConfigurationSpec type for use with
|
// PriorityLevelConfigurationSpecApplyConfiguration constructs an declarative configuration of the PriorityLevelConfigurationSpec type for use with
|
||||||
@ -50,3 +51,11 @@ func (b *PriorityLevelConfigurationSpecApplyConfiguration) WithLimited(value *Li
|
|||||||
b.Limited = value
|
b.Limited = value
|
||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// WithExempt sets the Exempt 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 Exempt field is set to the value of the last call.
|
||||||
|
func (b *PriorityLevelConfigurationSpecApplyConfiguration) WithExempt(value *ExemptPriorityLevelConfigurationApplyConfiguration) *PriorityLevelConfigurationSpecApplyConfiguration {
|
||||||
|
b.Exempt = value
|
||||||
|
return b
|
||||||
|
}
|
||||||
|
@ -0,0 +1,48 @@
|
|||||||
|
/*
|
||||||
|
Copyright The Kubernetes Authors.
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Code generated by applyconfiguration-gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package v1beta1
|
||||||
|
|
||||||
|
// ExemptPriorityLevelConfigurationApplyConfiguration represents an declarative configuration of the ExemptPriorityLevelConfiguration type for use
|
||||||
|
// with apply.
|
||||||
|
type ExemptPriorityLevelConfigurationApplyConfiguration struct {
|
||||||
|
NominalConcurrencyShares *int32 `json:"nominalConcurrencyShares,omitempty"`
|
||||||
|
LendablePercent *int32 `json:"lendablePercent,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
// ExemptPriorityLevelConfigurationApplyConfiguration constructs an declarative configuration of the ExemptPriorityLevelConfiguration type for use with
|
||||||
|
// apply.
|
||||||
|
func ExemptPriorityLevelConfiguration() *ExemptPriorityLevelConfigurationApplyConfiguration {
|
||||||
|
return &ExemptPriorityLevelConfigurationApplyConfiguration{}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 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.
|
||||||
|
// If called multiple times, the NominalConcurrencyShares field is set to the value of the last call.
|
||||||
|
func (b *ExemptPriorityLevelConfigurationApplyConfiguration) WithNominalConcurrencyShares(value int32) *ExemptPriorityLevelConfigurationApplyConfiguration {
|
||||||
|
b.NominalConcurrencyShares = &value
|
||||||
|
return b
|
||||||
|
}
|
||||||
|
|
||||||
|
// WithLendablePercent sets the LendablePercent 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 LendablePercent field is set to the value of the last call.
|
||||||
|
func (b *ExemptPriorityLevelConfigurationApplyConfiguration) WithLendablePercent(value int32) *ExemptPriorityLevelConfigurationApplyConfiguration {
|
||||||
|
b.LendablePercent = &value
|
||||||
|
return b
|
||||||
|
}
|
@ -27,6 +27,7 @@ import (
|
|||||||
type PriorityLevelConfigurationSpecApplyConfiguration struct {
|
type PriorityLevelConfigurationSpecApplyConfiguration struct {
|
||||||
Type *v1beta1.PriorityLevelEnablement `json:"type,omitempty"`
|
Type *v1beta1.PriorityLevelEnablement `json:"type,omitempty"`
|
||||||
Limited *LimitedPriorityLevelConfigurationApplyConfiguration `json:"limited,omitempty"`
|
Limited *LimitedPriorityLevelConfigurationApplyConfiguration `json:"limited,omitempty"`
|
||||||
|
Exempt *ExemptPriorityLevelConfigurationApplyConfiguration `json:"exempt,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// PriorityLevelConfigurationSpecApplyConfiguration constructs an declarative configuration of the PriorityLevelConfigurationSpec type for use with
|
// PriorityLevelConfigurationSpecApplyConfiguration constructs an declarative configuration of the PriorityLevelConfigurationSpec type for use with
|
||||||
@ -50,3 +51,11 @@ func (b *PriorityLevelConfigurationSpecApplyConfiguration) WithLimited(value *Li
|
|||||||
b.Limited = value
|
b.Limited = value
|
||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// WithExempt sets the Exempt 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 Exempt field is set to the value of the last call.
|
||||||
|
func (b *PriorityLevelConfigurationSpecApplyConfiguration) WithExempt(value *ExemptPriorityLevelConfigurationApplyConfiguration) *PriorityLevelConfigurationSpecApplyConfiguration {
|
||||||
|
b.Exempt = value
|
||||||
|
return b
|
||||||
|
}
|
||||||
|
@ -0,0 +1,48 @@
|
|||||||
|
/*
|
||||||
|
Copyright The Kubernetes Authors.
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Code generated by applyconfiguration-gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package v1beta2
|
||||||
|
|
||||||
|
// ExemptPriorityLevelConfigurationApplyConfiguration represents an declarative configuration of the ExemptPriorityLevelConfiguration type for use
|
||||||
|
// with apply.
|
||||||
|
type ExemptPriorityLevelConfigurationApplyConfiguration struct {
|
||||||
|
NominalConcurrencyShares *int32 `json:"nominalConcurrencyShares,omitempty"`
|
||||||
|
LendablePercent *int32 `json:"lendablePercent,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
// ExemptPriorityLevelConfigurationApplyConfiguration constructs an declarative configuration of the ExemptPriorityLevelConfiguration type for use with
|
||||||
|
// apply.
|
||||||
|
func ExemptPriorityLevelConfiguration() *ExemptPriorityLevelConfigurationApplyConfiguration {
|
||||||
|
return &ExemptPriorityLevelConfigurationApplyConfiguration{}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 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.
|
||||||
|
// If called multiple times, the NominalConcurrencyShares field is set to the value of the last call.
|
||||||
|
func (b *ExemptPriorityLevelConfigurationApplyConfiguration) WithNominalConcurrencyShares(value int32) *ExemptPriorityLevelConfigurationApplyConfiguration {
|
||||||
|
b.NominalConcurrencyShares = &value
|
||||||
|
return b
|
||||||
|
}
|
||||||
|
|
||||||
|
// WithLendablePercent sets the LendablePercent 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 LendablePercent field is set to the value of the last call.
|
||||||
|
func (b *ExemptPriorityLevelConfigurationApplyConfiguration) WithLendablePercent(value int32) *ExemptPriorityLevelConfigurationApplyConfiguration {
|
||||||
|
b.LendablePercent = &value
|
||||||
|
return b
|
||||||
|
}
|
@ -27,6 +27,7 @@ import (
|
|||||||
type PriorityLevelConfigurationSpecApplyConfiguration struct {
|
type PriorityLevelConfigurationSpecApplyConfiguration struct {
|
||||||
Type *v1beta2.PriorityLevelEnablement `json:"type,omitempty"`
|
Type *v1beta2.PriorityLevelEnablement `json:"type,omitempty"`
|
||||||
Limited *LimitedPriorityLevelConfigurationApplyConfiguration `json:"limited,omitempty"`
|
Limited *LimitedPriorityLevelConfigurationApplyConfiguration `json:"limited,omitempty"`
|
||||||
|
Exempt *ExemptPriorityLevelConfigurationApplyConfiguration `json:"exempt,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// PriorityLevelConfigurationSpecApplyConfiguration constructs an declarative configuration of the PriorityLevelConfigurationSpec type for use with
|
// PriorityLevelConfigurationSpecApplyConfiguration constructs an declarative configuration of the PriorityLevelConfigurationSpec type for use with
|
||||||
@ -50,3 +51,11 @@ func (b *PriorityLevelConfigurationSpecApplyConfiguration) WithLimited(value *Li
|
|||||||
b.Limited = value
|
b.Limited = value
|
||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// WithExempt sets the Exempt 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 Exempt field is set to the value of the last call.
|
||||||
|
func (b *PriorityLevelConfigurationSpecApplyConfiguration) WithExempt(value *ExemptPriorityLevelConfigurationApplyConfiguration) *PriorityLevelConfigurationSpecApplyConfiguration {
|
||||||
|
b.Exempt = value
|
||||||
|
return b
|
||||||
|
}
|
||||||
|
@ -0,0 +1,48 @@
|
|||||||
|
/*
|
||||||
|
Copyright The Kubernetes Authors.
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Code generated by applyconfiguration-gen. DO NOT EDIT.
|
||||||
|
|
||||||
|
package v1beta3
|
||||||
|
|
||||||
|
// ExemptPriorityLevelConfigurationApplyConfiguration represents an declarative configuration of the ExemptPriorityLevelConfiguration type for use
|
||||||
|
// with apply.
|
||||||
|
type ExemptPriorityLevelConfigurationApplyConfiguration struct {
|
||||||
|
NominalConcurrencyShares *int32 `json:"nominalConcurrencyShares,omitempty"`
|
||||||
|
LendablePercent *int32 `json:"lendablePercent,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
// ExemptPriorityLevelConfigurationApplyConfiguration constructs an declarative configuration of the ExemptPriorityLevelConfiguration type for use with
|
||||||
|
// apply.
|
||||||
|
func ExemptPriorityLevelConfiguration() *ExemptPriorityLevelConfigurationApplyConfiguration {
|
||||||
|
return &ExemptPriorityLevelConfigurationApplyConfiguration{}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 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.
|
||||||
|
// If called multiple times, the NominalConcurrencyShares field is set to the value of the last call.
|
||||||
|
func (b *ExemptPriorityLevelConfigurationApplyConfiguration) WithNominalConcurrencyShares(value int32) *ExemptPriorityLevelConfigurationApplyConfiguration {
|
||||||
|
b.NominalConcurrencyShares = &value
|
||||||
|
return b
|
||||||
|
}
|
||||||
|
|
||||||
|
// WithLendablePercent sets the LendablePercent 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 LendablePercent field is set to the value of the last call.
|
||||||
|
func (b *ExemptPriorityLevelConfigurationApplyConfiguration) WithLendablePercent(value int32) *ExemptPriorityLevelConfigurationApplyConfiguration {
|
||||||
|
b.LendablePercent = &value
|
||||||
|
return b
|
||||||
|
}
|
@ -27,6 +27,7 @@ import (
|
|||||||
type PriorityLevelConfigurationSpecApplyConfiguration struct {
|
type PriorityLevelConfigurationSpecApplyConfiguration struct {
|
||||||
Type *v1beta3.PriorityLevelEnablement `json:"type,omitempty"`
|
Type *v1beta3.PriorityLevelEnablement `json:"type,omitempty"`
|
||||||
Limited *LimitedPriorityLevelConfigurationApplyConfiguration `json:"limited,omitempty"`
|
Limited *LimitedPriorityLevelConfigurationApplyConfiguration `json:"limited,omitempty"`
|
||||||
|
Exempt *ExemptPriorityLevelConfigurationApplyConfiguration `json:"exempt,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// PriorityLevelConfigurationSpecApplyConfiguration constructs an declarative configuration of the PriorityLevelConfigurationSpec type for use with
|
// PriorityLevelConfigurationSpecApplyConfiguration constructs an declarative configuration of the PriorityLevelConfigurationSpec type for use with
|
||||||
@ -50,3 +51,11 @@ func (b *PriorityLevelConfigurationSpecApplyConfiguration) WithLimited(value *Li
|
|||||||
b.Limited = value
|
b.Limited = value
|
||||||
return b
|
return b
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// WithExempt sets the Exempt 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 Exempt field is set to the value of the last call.
|
||||||
|
func (b *PriorityLevelConfigurationSpecApplyConfiguration) WithExempt(value *ExemptPriorityLevelConfigurationApplyConfiguration) *PriorityLevelConfigurationSpecApplyConfiguration {
|
||||||
|
b.Exempt = value
|
||||||
|
return b
|
||||||
|
}
|
||||||
|
@ -8580,6 +8580,15 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: maxUnavailable
|
- name: maxUnavailable
|
||||||
type:
|
type:
|
||||||
namedType: io.k8s.apimachinery.pkg.util.intstr.IntOrString
|
namedType: io.k8s.apimachinery.pkg.util.intstr.IntOrString
|
||||||
|
- name: io.k8s.api.flowcontrol.v1alpha1.ExemptPriorityLevelConfiguration
|
||||||
|
map:
|
||||||
|
fields:
|
||||||
|
- name: lendablePercent
|
||||||
|
type:
|
||||||
|
scalar: numeric
|
||||||
|
- name: nominalConcurrencyShares
|
||||||
|
type:
|
||||||
|
scalar: numeric
|
||||||
- name: io.k8s.api.flowcontrol.v1alpha1.FlowDistinguisherMethod
|
- name: io.k8s.api.flowcontrol.v1alpha1.FlowDistinguisherMethod
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
@ -8783,6 +8792,9 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationSpec
|
- name: io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationSpec
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
|
- name: exempt
|
||||||
|
type:
|
||||||
|
namedType: io.k8s.api.flowcontrol.v1alpha1.ExemptPriorityLevelConfiguration
|
||||||
- name: limited
|
- name: limited
|
||||||
type:
|
type:
|
||||||
namedType: io.k8s.api.flowcontrol.v1alpha1.LimitedPriorityLevelConfiguration
|
namedType: io.k8s.api.flowcontrol.v1alpha1.LimitedPriorityLevelConfiguration
|
||||||
@ -8793,6 +8805,8 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
unions:
|
unions:
|
||||||
- discriminator: type
|
- discriminator: type
|
||||||
fields:
|
fields:
|
||||||
|
- fieldName: exempt
|
||||||
|
discriminatorValue: Exempt
|
||||||
- fieldName: limited
|
- fieldName: limited
|
||||||
discriminatorValue: Limited
|
discriminatorValue: Limited
|
||||||
- name: io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationStatus
|
- name: io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationStatus
|
||||||
@ -8894,6 +8908,15 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
default: ""
|
default: ""
|
||||||
|
- name: io.k8s.api.flowcontrol.v1beta1.ExemptPriorityLevelConfiguration
|
||||||
|
map:
|
||||||
|
fields:
|
||||||
|
- name: lendablePercent
|
||||||
|
type:
|
||||||
|
scalar: numeric
|
||||||
|
- name: nominalConcurrencyShares
|
||||||
|
type:
|
||||||
|
scalar: numeric
|
||||||
- name: io.k8s.api.flowcontrol.v1beta1.FlowDistinguisherMethod
|
- name: io.k8s.api.flowcontrol.v1beta1.FlowDistinguisherMethod
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
@ -9097,6 +9120,9 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationSpec
|
- name: io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationSpec
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
|
- name: exempt
|
||||||
|
type:
|
||||||
|
namedType: io.k8s.api.flowcontrol.v1beta1.ExemptPriorityLevelConfiguration
|
||||||
- name: limited
|
- name: limited
|
||||||
type:
|
type:
|
||||||
namedType: io.k8s.api.flowcontrol.v1beta1.LimitedPriorityLevelConfiguration
|
namedType: io.k8s.api.flowcontrol.v1beta1.LimitedPriorityLevelConfiguration
|
||||||
@ -9107,6 +9133,8 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
unions:
|
unions:
|
||||||
- discriminator: type
|
- discriminator: type
|
||||||
fields:
|
fields:
|
||||||
|
- fieldName: exempt
|
||||||
|
discriminatorValue: Exempt
|
||||||
- fieldName: limited
|
- fieldName: limited
|
||||||
discriminatorValue: Limited
|
discriminatorValue: Limited
|
||||||
- name: io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationStatus
|
- name: io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfigurationStatus
|
||||||
@ -9208,6 +9236,15 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
default: ""
|
default: ""
|
||||||
|
- name: io.k8s.api.flowcontrol.v1beta2.ExemptPriorityLevelConfiguration
|
||||||
|
map:
|
||||||
|
fields:
|
||||||
|
- name: lendablePercent
|
||||||
|
type:
|
||||||
|
scalar: numeric
|
||||||
|
- name: nominalConcurrencyShares
|
||||||
|
type:
|
||||||
|
scalar: numeric
|
||||||
- name: io.k8s.api.flowcontrol.v1beta2.FlowDistinguisherMethod
|
- name: io.k8s.api.flowcontrol.v1beta2.FlowDistinguisherMethod
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
@ -9411,6 +9448,9 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfigurationSpec
|
- name: io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfigurationSpec
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
|
- name: exempt
|
||||||
|
type:
|
||||||
|
namedType: io.k8s.api.flowcontrol.v1beta2.ExemptPriorityLevelConfiguration
|
||||||
- name: limited
|
- name: limited
|
||||||
type:
|
type:
|
||||||
namedType: io.k8s.api.flowcontrol.v1beta2.LimitedPriorityLevelConfiguration
|
namedType: io.k8s.api.flowcontrol.v1beta2.LimitedPriorityLevelConfiguration
|
||||||
@ -9421,6 +9461,8 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
unions:
|
unions:
|
||||||
- discriminator: type
|
- discriminator: type
|
||||||
fields:
|
fields:
|
||||||
|
- fieldName: exempt
|
||||||
|
discriminatorValue: Exempt
|
||||||
- fieldName: limited
|
- fieldName: limited
|
||||||
discriminatorValue: Limited
|
discriminatorValue: Limited
|
||||||
- name: io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfigurationStatus
|
- name: io.k8s.api.flowcontrol.v1beta2.PriorityLevelConfigurationStatus
|
||||||
@ -9522,6 +9564,15 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
type:
|
type:
|
||||||
scalar: string
|
scalar: string
|
||||||
default: ""
|
default: ""
|
||||||
|
- name: io.k8s.api.flowcontrol.v1beta3.ExemptPriorityLevelConfiguration
|
||||||
|
map:
|
||||||
|
fields:
|
||||||
|
- name: lendablePercent
|
||||||
|
type:
|
||||||
|
scalar: numeric
|
||||||
|
- name: nominalConcurrencyShares
|
||||||
|
type:
|
||||||
|
scalar: numeric
|
||||||
- name: io.k8s.api.flowcontrol.v1beta3.FlowDistinguisherMethod
|
- name: io.k8s.api.flowcontrol.v1beta3.FlowDistinguisherMethod
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
@ -9725,6 +9776,9 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
- name: io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationSpec
|
- name: io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationSpec
|
||||||
map:
|
map:
|
||||||
fields:
|
fields:
|
||||||
|
- name: exempt
|
||||||
|
type:
|
||||||
|
namedType: io.k8s.api.flowcontrol.v1beta3.ExemptPriorityLevelConfiguration
|
||||||
- name: limited
|
- name: limited
|
||||||
type:
|
type:
|
||||||
namedType: io.k8s.api.flowcontrol.v1beta3.LimitedPriorityLevelConfiguration
|
namedType: io.k8s.api.flowcontrol.v1beta3.LimitedPriorityLevelConfiguration
|
||||||
@ -9735,6 +9789,8 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||||||
unions:
|
unions:
|
||||||
- discriminator: type
|
- discriminator: type
|
||||||
fields:
|
fields:
|
||||||
|
- fieldName: exempt
|
||||||
|
discriminatorValue: Exempt
|
||||||
- fieldName: limited
|
- fieldName: limited
|
||||||
discriminatorValue: Limited
|
discriminatorValue: Limited
|
||||||
- name: io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationStatus
|
- name: io.k8s.api.flowcontrol.v1beta3.PriorityLevelConfigurationStatus
|
||||||
|
@ -1041,6 +1041,8 @@ func ForKind(kind schema.GroupVersionKind) interface{} {
|
|||||||
return &applyconfigurationsextensionsv1beta1.ScaleApplyConfiguration{}
|
return &applyconfigurationsextensionsv1beta1.ScaleApplyConfiguration{}
|
||||||
|
|
||||||
// Group=flowcontrol.apiserver.k8s.io, Version=v1alpha1
|
// Group=flowcontrol.apiserver.k8s.io, Version=v1alpha1
|
||||||
|
case flowcontrolv1alpha1.SchemeGroupVersion.WithKind("ExemptPriorityLevelConfiguration"):
|
||||||
|
return &applyconfigurationsflowcontrolv1alpha1.ExemptPriorityLevelConfigurationApplyConfiguration{}
|
||||||
case flowcontrolv1alpha1.SchemeGroupVersion.WithKind("FlowDistinguisherMethod"):
|
case flowcontrolv1alpha1.SchemeGroupVersion.WithKind("FlowDistinguisherMethod"):
|
||||||
return &applyconfigurationsflowcontrolv1alpha1.FlowDistinguisherMethodApplyConfiguration{}
|
return &applyconfigurationsflowcontrolv1alpha1.FlowDistinguisherMethodApplyConfiguration{}
|
||||||
case flowcontrolv1alpha1.SchemeGroupVersion.WithKind("FlowSchema"):
|
case flowcontrolv1alpha1.SchemeGroupVersion.WithKind("FlowSchema"):
|
||||||
@ -1083,6 +1085,8 @@ func ForKind(kind schema.GroupVersionKind) interface{} {
|
|||||||
return &applyconfigurationsflowcontrolv1alpha1.UserSubjectApplyConfiguration{}
|
return &applyconfigurationsflowcontrolv1alpha1.UserSubjectApplyConfiguration{}
|
||||||
|
|
||||||
// Group=flowcontrol.apiserver.k8s.io, Version=v1beta1
|
// Group=flowcontrol.apiserver.k8s.io, Version=v1beta1
|
||||||
|
case flowcontrolv1beta1.SchemeGroupVersion.WithKind("ExemptPriorityLevelConfiguration"):
|
||||||
|
return &applyconfigurationsflowcontrolv1beta1.ExemptPriorityLevelConfigurationApplyConfiguration{}
|
||||||
case flowcontrolv1beta1.SchemeGroupVersion.WithKind("FlowDistinguisherMethod"):
|
case flowcontrolv1beta1.SchemeGroupVersion.WithKind("FlowDistinguisherMethod"):
|
||||||
return &applyconfigurationsflowcontrolv1beta1.FlowDistinguisherMethodApplyConfiguration{}
|
return &applyconfigurationsflowcontrolv1beta1.FlowDistinguisherMethodApplyConfiguration{}
|
||||||
case flowcontrolv1beta1.SchemeGroupVersion.WithKind("FlowSchema"):
|
case flowcontrolv1beta1.SchemeGroupVersion.WithKind("FlowSchema"):
|
||||||
@ -1125,6 +1129,8 @@ func ForKind(kind schema.GroupVersionKind) interface{} {
|
|||||||
return &applyconfigurationsflowcontrolv1beta1.UserSubjectApplyConfiguration{}
|
return &applyconfigurationsflowcontrolv1beta1.UserSubjectApplyConfiguration{}
|
||||||
|
|
||||||
// Group=flowcontrol.apiserver.k8s.io, Version=v1beta2
|
// Group=flowcontrol.apiserver.k8s.io, Version=v1beta2
|
||||||
|
case flowcontrolv1beta2.SchemeGroupVersion.WithKind("ExemptPriorityLevelConfiguration"):
|
||||||
|
return &applyconfigurationsflowcontrolv1beta2.ExemptPriorityLevelConfigurationApplyConfiguration{}
|
||||||
case flowcontrolv1beta2.SchemeGroupVersion.WithKind("FlowDistinguisherMethod"):
|
case flowcontrolv1beta2.SchemeGroupVersion.WithKind("FlowDistinguisherMethod"):
|
||||||
return &applyconfigurationsflowcontrolv1beta2.FlowDistinguisherMethodApplyConfiguration{}
|
return &applyconfigurationsflowcontrolv1beta2.FlowDistinguisherMethodApplyConfiguration{}
|
||||||
case flowcontrolv1beta2.SchemeGroupVersion.WithKind("FlowSchema"):
|
case flowcontrolv1beta2.SchemeGroupVersion.WithKind("FlowSchema"):
|
||||||
@ -1167,6 +1173,8 @@ func ForKind(kind schema.GroupVersionKind) interface{} {
|
|||||||
return &applyconfigurationsflowcontrolv1beta2.UserSubjectApplyConfiguration{}
|
return &applyconfigurationsflowcontrolv1beta2.UserSubjectApplyConfiguration{}
|
||||||
|
|
||||||
// Group=flowcontrol.apiserver.k8s.io, Version=v1beta3
|
// Group=flowcontrol.apiserver.k8s.io, Version=v1beta3
|
||||||
|
case v1beta3.SchemeGroupVersion.WithKind("ExemptPriorityLevelConfiguration"):
|
||||||
|
return &flowcontrolv1beta3.ExemptPriorityLevelConfigurationApplyConfiguration{}
|
||||||
case v1beta3.SchemeGroupVersion.WithKind("FlowDistinguisherMethod"):
|
case v1beta3.SchemeGroupVersion.WithKind("FlowDistinguisherMethod"):
|
||||||
return &flowcontrolv1beta3.FlowDistinguisherMethodApplyConfiguration{}
|
return &flowcontrolv1beta3.FlowDistinguisherMethodApplyConfiguration{}
|
||||||
case v1beta3.SchemeGroupVersion.WithKind("FlowSchema"):
|
case v1beta3.SchemeGroupVersion.WithKind("FlowSchema"):
|
||||||
|
Loading…
Reference in New Issue
Block a user