KEP-5007 DRA Device Binding Conditions: Run make update

Kubernetes-commit: ac81b829e4a1a26e11b5eb058b754b3fc621b0aa
This commit is contained in:
Kobayashi,Daisuke 2025-07-29 11:34:03 +00:00 committed by Kubernetes Publisher
parent f78361a647
commit 9999d6448a
10 changed files with 326 additions and 47 deletions

View File

@ -12800,6 +12800,9 @@ var schemaYAML = typed.YAMLObject(`types:
- name: io.k8s.api.resource.v1.AllocationResult
map:
fields:
- name: allocationTimestamp
type:
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time
- name: devices
type:
namedType: io.k8s.api.resource.v1.DeviceAllocationResult
@ -12843,6 +12846,21 @@ var schemaYAML = typed.YAMLObject(`types:
map:
elementType:
namedType: io.k8s.api.resource.v1.DeviceAttribute
- name: bindingConditions
type:
list:
elementType:
scalar: string
elementRelationship: atomic
- name: bindingFailureConditions
type:
list:
elementType:
scalar: string
elementRelationship: atomic
- name: bindsToNode
type:
scalar: boolean
- name: capacity
type:
map:
@ -13039,6 +13057,18 @@ var schemaYAML = typed.YAMLObject(`types:
- name: adminAccess
type:
scalar: boolean
- name: bindingConditions
type:
list:
elementType:
scalar: string
elementRelationship: atomic
- name: bindingFailureConditions
type:
list:
elementType:
scalar: string
elementRelationship: atomic
- name: device
type:
scalar: string
@ -13460,6 +13490,9 @@ var schemaYAML = typed.YAMLObject(`types:
- name: io.k8s.api.resource.v1beta1.AllocationResult
map:
fields:
- name: allocationTimestamp
type:
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time
- name: devices
type:
namedType: io.k8s.api.resource.v1beta1.DeviceAllocationResult
@ -13478,6 +13511,21 @@ var schemaYAML = typed.YAMLObject(`types:
map:
elementType:
namedType: io.k8s.api.resource.v1beta1.DeviceAttribute
- name: bindingConditions
type:
list:
elementType:
scalar: string
elementRelationship: atomic
- name: bindingFailureConditions
type:
list:
elementType:
scalar: string
elementRelationship: atomic
- name: bindsToNode
type:
scalar: boolean
- name: capacity
type:
map:
@ -13727,6 +13775,18 @@ var schemaYAML = typed.YAMLObject(`types:
- name: adminAccess
type:
scalar: boolean
- name: bindingConditions
type:
list:
elementType:
scalar: string
elementRelationship: atomic
- name: bindingFailureConditions
type:
list:
elementType:
scalar: string
elementRelationship: atomic
- name: device
type:
scalar: string
@ -14042,6 +14102,9 @@ var schemaYAML = typed.YAMLObject(`types:
- name: io.k8s.api.resource.v1beta2.AllocationResult
map:
fields:
- name: allocationTimestamp
type:
namedType: io.k8s.apimachinery.pkg.apis.meta.v1.Time
- name: devices
type:
namedType: io.k8s.api.resource.v1beta2.DeviceAllocationResult
@ -14085,6 +14148,21 @@ var schemaYAML = typed.YAMLObject(`types:
map:
elementType:
namedType: io.k8s.api.resource.v1beta2.DeviceAttribute
- name: bindingConditions
type:
list:
elementType:
scalar: string
elementRelationship: atomic
- name: bindingFailureConditions
type:
list:
elementType:
scalar: string
elementRelationship: atomic
- name: bindsToNode
type:
scalar: boolean
- name: capacity
type:
map:
@ -14281,6 +14359,18 @@ var schemaYAML = typed.YAMLObject(`types:
- name: adminAccess
type:
scalar: boolean
- name: bindingConditions
type:
list:
elementType:
scalar: string
elementRelationship: atomic
- name: bindingFailureConditions
type:
list:
elementType:
scalar: string
elementRelationship: atomic
- name: device
type:
scalar: string

View File

@ -19,14 +19,16 @@ limitations under the License.
package v1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
corev1 "k8s.io/client-go/applyconfigurations/core/v1"
)
// AllocationResultApplyConfiguration represents a declarative configuration of the AllocationResult type for use
// with apply.
type AllocationResultApplyConfiguration struct {
Devices *DeviceAllocationResultApplyConfiguration `json:"devices,omitempty"`
NodeSelector *corev1.NodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"`
Devices *DeviceAllocationResultApplyConfiguration `json:"devices,omitempty"`
NodeSelector *corev1.NodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"`
AllocationTimestamp *metav1.Time `json:"allocationTimestamp,omitempty"`
}
// AllocationResultApplyConfiguration constructs a declarative configuration of the AllocationResult type for use with
@ -50,3 +52,11 @@ func (b *AllocationResultApplyConfiguration) WithNodeSelector(value *corev1.Node
b.NodeSelector = value
return b
}
// WithAllocationTimestamp sets the AllocationTimestamp 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 AllocationTimestamp field is set to the value of the last call.
func (b *AllocationResultApplyConfiguration) WithAllocationTimestamp(value metav1.Time) *AllocationResultApplyConfiguration {
b.AllocationTimestamp = &value
return b
}

View File

@ -26,14 +26,17 @@ import (
// DeviceApplyConfiguration represents a declarative configuration of the Device type for use
// with apply.
type DeviceApplyConfiguration struct {
Name *string `json:"name,omitempty"`
Attributes map[resourcev1.QualifiedName]DeviceAttributeApplyConfiguration `json:"attributes,omitempty"`
Capacity map[resourcev1.QualifiedName]DeviceCapacityApplyConfiguration `json:"capacity,omitempty"`
ConsumesCounters []DeviceCounterConsumptionApplyConfiguration `json:"consumesCounters,omitempty"`
NodeName *string `json:"nodeName,omitempty"`
NodeSelector *corev1.NodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"`
AllNodes *bool `json:"allNodes,omitempty"`
Taints []DeviceTaintApplyConfiguration `json:"taints,omitempty"`
Name *string `json:"name,omitempty"`
Attributes map[resourcev1.QualifiedName]DeviceAttributeApplyConfiguration `json:"attributes,omitempty"`
Capacity map[resourcev1.QualifiedName]DeviceCapacityApplyConfiguration `json:"capacity,omitempty"`
ConsumesCounters []DeviceCounterConsumptionApplyConfiguration `json:"consumesCounters,omitempty"`
NodeName *string `json:"nodeName,omitempty"`
NodeSelector *corev1.NodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"`
AllNodes *bool `json:"allNodes,omitempty"`
Taints []DeviceTaintApplyConfiguration `json:"taints,omitempty"`
BindsToNode *bool `json:"bindsToNode,omitempty"`
BindingConditions []string `json:"bindingConditions,omitempty"`
BindingFailureConditions []string `json:"bindingFailureConditions,omitempty"`
}
// DeviceApplyConfiguration constructs a declarative configuration of the Device type for use with
@ -127,3 +130,31 @@ func (b *DeviceApplyConfiguration) WithTaints(values ...*DeviceTaintApplyConfigu
}
return b
}
// WithBindsToNode sets the BindsToNode 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 BindsToNode field is set to the value of the last call.
func (b *DeviceApplyConfiguration) WithBindsToNode(value bool) *DeviceApplyConfiguration {
b.BindsToNode = &value
return b
}
// WithBindingConditions adds the given value to the BindingConditions field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the BindingConditions field.
func (b *DeviceApplyConfiguration) WithBindingConditions(values ...string) *DeviceApplyConfiguration {
for i := range values {
b.BindingConditions = append(b.BindingConditions, values[i])
}
return b
}
// WithBindingFailureConditions adds the given value to the BindingFailureConditions field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the BindingFailureConditions field.
func (b *DeviceApplyConfiguration) WithBindingFailureConditions(values ...string) *DeviceApplyConfiguration {
for i := range values {
b.BindingFailureConditions = append(b.BindingFailureConditions, values[i])
}
return b
}

View File

@ -21,12 +21,14 @@ package v1
// DeviceRequestAllocationResultApplyConfiguration represents a declarative configuration of the DeviceRequestAllocationResult type for use
// with apply.
type DeviceRequestAllocationResultApplyConfiguration struct {
Request *string `json:"request,omitempty"`
Driver *string `json:"driver,omitempty"`
Pool *string `json:"pool,omitempty"`
Device *string `json:"device,omitempty"`
AdminAccess *bool `json:"adminAccess,omitempty"`
Tolerations []DeviceTolerationApplyConfiguration `json:"tolerations,omitempty"`
Request *string `json:"request,omitempty"`
Driver *string `json:"driver,omitempty"`
Pool *string `json:"pool,omitempty"`
Device *string `json:"device,omitempty"`
AdminAccess *bool `json:"adminAccess,omitempty"`
Tolerations []DeviceTolerationApplyConfiguration `json:"tolerations,omitempty"`
BindingConditions []string `json:"bindingConditions,omitempty"`
BindingFailureConditions []string `json:"bindingFailureConditions,omitempty"`
}
// DeviceRequestAllocationResultApplyConfiguration constructs a declarative configuration of the DeviceRequestAllocationResult type for use with
@ -87,3 +89,23 @@ func (b *DeviceRequestAllocationResultApplyConfiguration) WithTolerations(values
}
return b
}
// WithBindingConditions adds the given value to the BindingConditions field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the BindingConditions field.
func (b *DeviceRequestAllocationResultApplyConfiguration) WithBindingConditions(values ...string) *DeviceRequestAllocationResultApplyConfiguration {
for i := range values {
b.BindingConditions = append(b.BindingConditions, values[i])
}
return b
}
// WithBindingFailureConditions adds the given value to the BindingFailureConditions field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the BindingFailureConditions field.
func (b *DeviceRequestAllocationResultApplyConfiguration) WithBindingFailureConditions(values ...string) *DeviceRequestAllocationResultApplyConfiguration {
for i := range values {
b.BindingFailureConditions = append(b.BindingFailureConditions, values[i])
}
return b
}

View File

@ -19,14 +19,16 @@ limitations under the License.
package v1beta1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
v1 "k8s.io/client-go/applyconfigurations/core/v1"
)
// AllocationResultApplyConfiguration represents a declarative configuration of the AllocationResult type for use
// with apply.
type AllocationResultApplyConfiguration struct {
Devices *DeviceAllocationResultApplyConfiguration `json:"devices,omitempty"`
NodeSelector *v1.NodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"`
Devices *DeviceAllocationResultApplyConfiguration `json:"devices,omitempty"`
NodeSelector *v1.NodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"`
AllocationTimestamp *metav1.Time `json:"allocationTimestamp,omitempty"`
}
// AllocationResultApplyConfiguration constructs a declarative configuration of the AllocationResult type for use with
@ -50,3 +52,11 @@ func (b *AllocationResultApplyConfiguration) WithNodeSelector(value *v1.NodeSele
b.NodeSelector = value
return b
}
// WithAllocationTimestamp sets the AllocationTimestamp 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 AllocationTimestamp field is set to the value of the last call.
func (b *AllocationResultApplyConfiguration) WithAllocationTimestamp(value metav1.Time) *AllocationResultApplyConfiguration {
b.AllocationTimestamp = &value
return b
}

View File

@ -26,13 +26,16 @@ import (
// BasicDeviceApplyConfiguration represents a declarative configuration of the BasicDevice type for use
// with apply.
type BasicDeviceApplyConfiguration struct {
Attributes map[resourcev1beta1.QualifiedName]DeviceAttributeApplyConfiguration `json:"attributes,omitempty"`
Capacity map[resourcev1beta1.QualifiedName]DeviceCapacityApplyConfiguration `json:"capacity,omitempty"`
ConsumesCounters []DeviceCounterConsumptionApplyConfiguration `json:"consumesCounters,omitempty"`
NodeName *string `json:"nodeName,omitempty"`
NodeSelector *v1.NodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"`
AllNodes *bool `json:"allNodes,omitempty"`
Taints []DeviceTaintApplyConfiguration `json:"taints,omitempty"`
Attributes map[resourcev1beta1.QualifiedName]DeviceAttributeApplyConfiguration `json:"attributes,omitempty"`
Capacity map[resourcev1beta1.QualifiedName]DeviceCapacityApplyConfiguration `json:"capacity,omitempty"`
ConsumesCounters []DeviceCounterConsumptionApplyConfiguration `json:"consumesCounters,omitempty"`
NodeName *string `json:"nodeName,omitempty"`
NodeSelector *v1.NodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"`
AllNodes *bool `json:"allNodes,omitempty"`
Taints []DeviceTaintApplyConfiguration `json:"taints,omitempty"`
BindsToNode *bool `json:"bindsToNode,omitempty"`
BindingConditions []string `json:"bindingConditions,omitempty"`
BindingFailureConditions []string `json:"bindingFailureConditions,omitempty"`
}
// BasicDeviceApplyConfiguration constructs a declarative configuration of the BasicDevice type for use with
@ -118,3 +121,31 @@ func (b *BasicDeviceApplyConfiguration) WithTaints(values ...*DeviceTaintApplyCo
}
return b
}
// WithBindsToNode sets the BindsToNode 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 BindsToNode field is set to the value of the last call.
func (b *BasicDeviceApplyConfiguration) WithBindsToNode(value bool) *BasicDeviceApplyConfiguration {
b.BindsToNode = &value
return b
}
// WithBindingConditions adds the given value to the BindingConditions field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the BindingConditions field.
func (b *BasicDeviceApplyConfiguration) WithBindingConditions(values ...string) *BasicDeviceApplyConfiguration {
for i := range values {
b.BindingConditions = append(b.BindingConditions, values[i])
}
return b
}
// WithBindingFailureConditions adds the given value to the BindingFailureConditions field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the BindingFailureConditions field.
func (b *BasicDeviceApplyConfiguration) WithBindingFailureConditions(values ...string) *BasicDeviceApplyConfiguration {
for i := range values {
b.BindingFailureConditions = append(b.BindingFailureConditions, values[i])
}
return b
}

View File

@ -21,12 +21,14 @@ package v1beta1
// DeviceRequestAllocationResultApplyConfiguration represents a declarative configuration of the DeviceRequestAllocationResult type for use
// with apply.
type DeviceRequestAllocationResultApplyConfiguration struct {
Request *string `json:"request,omitempty"`
Driver *string `json:"driver,omitempty"`
Pool *string `json:"pool,omitempty"`
Device *string `json:"device,omitempty"`
AdminAccess *bool `json:"adminAccess,omitempty"`
Tolerations []DeviceTolerationApplyConfiguration `json:"tolerations,omitempty"`
Request *string `json:"request,omitempty"`
Driver *string `json:"driver,omitempty"`
Pool *string `json:"pool,omitempty"`
Device *string `json:"device,omitempty"`
AdminAccess *bool `json:"adminAccess,omitempty"`
Tolerations []DeviceTolerationApplyConfiguration `json:"tolerations,omitempty"`
BindingConditions []string `json:"bindingConditions,omitempty"`
BindingFailureConditions []string `json:"bindingFailureConditions,omitempty"`
}
// DeviceRequestAllocationResultApplyConfiguration constructs a declarative configuration of the DeviceRequestAllocationResult type for use with
@ -87,3 +89,23 @@ func (b *DeviceRequestAllocationResultApplyConfiguration) WithTolerations(values
}
return b
}
// WithBindingConditions adds the given value to the BindingConditions field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the BindingConditions field.
func (b *DeviceRequestAllocationResultApplyConfiguration) WithBindingConditions(values ...string) *DeviceRequestAllocationResultApplyConfiguration {
for i := range values {
b.BindingConditions = append(b.BindingConditions, values[i])
}
return b
}
// WithBindingFailureConditions adds the given value to the BindingFailureConditions field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the BindingFailureConditions field.
func (b *DeviceRequestAllocationResultApplyConfiguration) WithBindingFailureConditions(values ...string) *DeviceRequestAllocationResultApplyConfiguration {
for i := range values {
b.BindingFailureConditions = append(b.BindingFailureConditions, values[i])
}
return b
}

View File

@ -19,14 +19,16 @@ limitations under the License.
package v1beta2
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
v1 "k8s.io/client-go/applyconfigurations/core/v1"
)
// AllocationResultApplyConfiguration represents a declarative configuration of the AllocationResult type for use
// with apply.
type AllocationResultApplyConfiguration struct {
Devices *DeviceAllocationResultApplyConfiguration `json:"devices,omitempty"`
NodeSelector *v1.NodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"`
Devices *DeviceAllocationResultApplyConfiguration `json:"devices,omitempty"`
NodeSelector *v1.NodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"`
AllocationTimestamp *metav1.Time `json:"allocationTimestamp,omitempty"`
}
// AllocationResultApplyConfiguration constructs a declarative configuration of the AllocationResult type for use with
@ -50,3 +52,11 @@ func (b *AllocationResultApplyConfiguration) WithNodeSelector(value *v1.NodeSele
b.NodeSelector = value
return b
}
// WithAllocationTimestamp sets the AllocationTimestamp 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 AllocationTimestamp field is set to the value of the last call.
func (b *AllocationResultApplyConfiguration) WithAllocationTimestamp(value metav1.Time) *AllocationResultApplyConfiguration {
b.AllocationTimestamp = &value
return b
}

View File

@ -26,14 +26,17 @@ import (
// DeviceApplyConfiguration represents a declarative configuration of the Device type for use
// with apply.
type DeviceApplyConfiguration struct {
Name *string `json:"name,omitempty"`
Attributes map[resourcev1beta2.QualifiedName]DeviceAttributeApplyConfiguration `json:"attributes,omitempty"`
Capacity map[resourcev1beta2.QualifiedName]DeviceCapacityApplyConfiguration `json:"capacity,omitempty"`
ConsumesCounters []DeviceCounterConsumptionApplyConfiguration `json:"consumesCounters,omitempty"`
NodeName *string `json:"nodeName,omitempty"`
NodeSelector *v1.NodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"`
AllNodes *bool `json:"allNodes,omitempty"`
Taints []DeviceTaintApplyConfiguration `json:"taints,omitempty"`
Name *string `json:"name,omitempty"`
Attributes map[resourcev1beta2.QualifiedName]DeviceAttributeApplyConfiguration `json:"attributes,omitempty"`
Capacity map[resourcev1beta2.QualifiedName]DeviceCapacityApplyConfiguration `json:"capacity,omitempty"`
ConsumesCounters []DeviceCounterConsumptionApplyConfiguration `json:"consumesCounters,omitempty"`
NodeName *string `json:"nodeName,omitempty"`
NodeSelector *v1.NodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"`
AllNodes *bool `json:"allNodes,omitempty"`
Taints []DeviceTaintApplyConfiguration `json:"taints,omitempty"`
BindsToNode *bool `json:"bindsToNode,omitempty"`
BindingConditions []string `json:"bindingConditions,omitempty"`
BindingFailureConditions []string `json:"bindingFailureConditions,omitempty"`
}
// DeviceApplyConfiguration constructs a declarative configuration of the Device type for use with
@ -127,3 +130,31 @@ func (b *DeviceApplyConfiguration) WithTaints(values ...*DeviceTaintApplyConfigu
}
return b
}
// WithBindsToNode sets the BindsToNode 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 BindsToNode field is set to the value of the last call.
func (b *DeviceApplyConfiguration) WithBindsToNode(value bool) *DeviceApplyConfiguration {
b.BindsToNode = &value
return b
}
// WithBindingConditions adds the given value to the BindingConditions field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the BindingConditions field.
func (b *DeviceApplyConfiguration) WithBindingConditions(values ...string) *DeviceApplyConfiguration {
for i := range values {
b.BindingConditions = append(b.BindingConditions, values[i])
}
return b
}
// WithBindingFailureConditions adds the given value to the BindingFailureConditions field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the BindingFailureConditions field.
func (b *DeviceApplyConfiguration) WithBindingFailureConditions(values ...string) *DeviceApplyConfiguration {
for i := range values {
b.BindingFailureConditions = append(b.BindingFailureConditions, values[i])
}
return b
}

View File

@ -21,12 +21,14 @@ package v1beta2
// DeviceRequestAllocationResultApplyConfiguration represents a declarative configuration of the DeviceRequestAllocationResult type for use
// with apply.
type DeviceRequestAllocationResultApplyConfiguration struct {
Request *string `json:"request,omitempty"`
Driver *string `json:"driver,omitempty"`
Pool *string `json:"pool,omitempty"`
Device *string `json:"device,omitempty"`
AdminAccess *bool `json:"adminAccess,omitempty"`
Tolerations []DeviceTolerationApplyConfiguration `json:"tolerations,omitempty"`
Request *string `json:"request,omitempty"`
Driver *string `json:"driver,omitempty"`
Pool *string `json:"pool,omitempty"`
Device *string `json:"device,omitempty"`
AdminAccess *bool `json:"adminAccess,omitempty"`
Tolerations []DeviceTolerationApplyConfiguration `json:"tolerations,omitempty"`
BindingConditions []string `json:"bindingConditions,omitempty"`
BindingFailureConditions []string `json:"bindingFailureConditions,omitempty"`
}
// DeviceRequestAllocationResultApplyConfiguration constructs a declarative configuration of the DeviceRequestAllocationResult type for use with
@ -87,3 +89,23 @@ func (b *DeviceRequestAllocationResultApplyConfiguration) WithTolerations(values
}
return b
}
// WithBindingConditions adds the given value to the BindingConditions field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the BindingConditions field.
func (b *DeviceRequestAllocationResultApplyConfiguration) WithBindingConditions(values ...string) *DeviceRequestAllocationResultApplyConfiguration {
for i := range values {
b.BindingConditions = append(b.BindingConditions, values[i])
}
return b
}
// WithBindingFailureConditions adds the given value to the BindingFailureConditions field in the declarative configuration
// and returns the receiver, so that objects can be build by chaining "With" function invocations.
// If called multiple times, values provided by each call will be appended to the BindingFailureConditions field.
func (b *DeviceRequestAllocationResultApplyConfiguration) WithBindingFailureConditions(values ...string) *DeviceRequestAllocationResultApplyConfiguration {
for i := range values {
b.BindingFailureConditions = append(b.BindingFailureConditions, values[i])
}
return b
}