Documentation ¶
Index ¶
- type AllocationResultApplyConfiguration
- func (b *AllocationResultApplyConfiguration) WithController(value string) *AllocationResultApplyConfiguration
- func (b *AllocationResultApplyConfiguration) WithDevices(value *DeviceAllocationResultApplyConfiguration) *AllocationResultApplyConfiguration
- func (b *AllocationResultApplyConfiguration) WithNodeSelector(value *v1.NodeSelectorApplyConfiguration) *AllocationResultApplyConfiguration
- type BasicDeviceApplyConfiguration
- type CELDeviceSelectorApplyConfiguration
- type DeviceAllocationConfigurationApplyConfiguration
- func (b *DeviceAllocationConfigurationApplyConfiguration) WithOpaque(value *OpaqueDeviceConfigurationApplyConfiguration) *DeviceAllocationConfigurationApplyConfiguration
- func (b *DeviceAllocationConfigurationApplyConfiguration) WithRequests(values ...string) *DeviceAllocationConfigurationApplyConfiguration
- func (b *DeviceAllocationConfigurationApplyConfiguration) WithSource(value v1alpha3.AllocationConfigSource) *DeviceAllocationConfigurationApplyConfiguration
- type DeviceAllocationResultApplyConfiguration
- func (b *DeviceAllocationResultApplyConfiguration) WithConfig(values ...*DeviceAllocationConfigurationApplyConfiguration) *DeviceAllocationResultApplyConfiguration
- func (b *DeviceAllocationResultApplyConfiguration) WithResults(values ...*DeviceRequestAllocationResultApplyConfiguration) *DeviceAllocationResultApplyConfiguration
- type DeviceApplyConfiguration
- type DeviceAttributeApplyConfiguration
- func (b *DeviceAttributeApplyConfiguration) WithBoolValue(value bool) *DeviceAttributeApplyConfiguration
- func (b *DeviceAttributeApplyConfiguration) WithIntValue(value int64) *DeviceAttributeApplyConfiguration
- func (b *DeviceAttributeApplyConfiguration) WithStringValue(value string) *DeviceAttributeApplyConfiguration
- func (b *DeviceAttributeApplyConfiguration) WithVersionValue(value string) *DeviceAttributeApplyConfiguration
- type DeviceClaimApplyConfiguration
- func (b *DeviceClaimApplyConfiguration) WithConfig(values ...*DeviceClaimConfigurationApplyConfiguration) *DeviceClaimApplyConfiguration
- func (b *DeviceClaimApplyConfiguration) WithConstraints(values ...*DeviceConstraintApplyConfiguration) *DeviceClaimApplyConfiguration
- func (b *DeviceClaimApplyConfiguration) WithRequests(values ...*DeviceRequestApplyConfiguration) *DeviceClaimApplyConfiguration
- type DeviceClaimConfigurationApplyConfiguration
- type DeviceClassApplyConfiguration
- func DeviceClass(name string) *DeviceClassApplyConfiguration
- func ExtractDeviceClass(deviceClass *resourcev1alpha3.DeviceClass, fieldManager string) (*DeviceClassApplyConfiguration, error)
- func ExtractDeviceClassStatus(deviceClass *resourcev1alpha3.DeviceClass, fieldManager string) (*DeviceClassApplyConfiguration, error)
- func (b *DeviceClassApplyConfiguration) GetName() *string
- func (b *DeviceClassApplyConfiguration) WithAPIVersion(value string) *DeviceClassApplyConfiguration
- func (b *DeviceClassApplyConfiguration) WithAnnotations(entries map[string]string) *DeviceClassApplyConfiguration
- func (b *DeviceClassApplyConfiguration) WithCreationTimestamp(value metav1.Time) *DeviceClassApplyConfiguration
- func (b *DeviceClassApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *DeviceClassApplyConfiguration
- func (b *DeviceClassApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *DeviceClassApplyConfiguration
- func (b *DeviceClassApplyConfiguration) WithFinalizers(values ...string) *DeviceClassApplyConfiguration
- func (b *DeviceClassApplyConfiguration) WithGenerateName(value string) *DeviceClassApplyConfiguration
- func (b *DeviceClassApplyConfiguration) WithGeneration(value int64) *DeviceClassApplyConfiguration
- func (b *DeviceClassApplyConfiguration) WithKind(value string) *DeviceClassApplyConfiguration
- func (b *DeviceClassApplyConfiguration) WithLabels(entries map[string]string) *DeviceClassApplyConfiguration
- func (b *DeviceClassApplyConfiguration) WithName(value string) *DeviceClassApplyConfiguration
- func (b *DeviceClassApplyConfiguration) WithNamespace(value string) *DeviceClassApplyConfiguration
- func (b *DeviceClassApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *DeviceClassApplyConfiguration
- func (b *DeviceClassApplyConfiguration) WithResourceVersion(value string) *DeviceClassApplyConfiguration
- func (b *DeviceClassApplyConfiguration) WithSpec(value *DeviceClassSpecApplyConfiguration) *DeviceClassApplyConfiguration
- func (b *DeviceClassApplyConfiguration) WithUID(value types.UID) *DeviceClassApplyConfiguration
- type DeviceClassConfigurationApplyConfiguration
- type DeviceClassSpecApplyConfiguration
- func (b *DeviceClassSpecApplyConfiguration) WithConfig(values ...*DeviceClassConfigurationApplyConfiguration) *DeviceClassSpecApplyConfiguration
- func (b *DeviceClassSpecApplyConfiguration) WithSelectors(values ...*DeviceSelectorApplyConfiguration) *DeviceClassSpecApplyConfiguration
- func (b *DeviceClassSpecApplyConfiguration) WithSuitableNodes(value *v1.NodeSelectorApplyConfiguration) *DeviceClassSpecApplyConfiguration
- type DeviceConfigurationApplyConfiguration
- type DeviceConstraintApplyConfiguration
- type DeviceRequestAllocationResultApplyConfiguration
- func (b *DeviceRequestAllocationResultApplyConfiguration) WithDevice(value string) *DeviceRequestAllocationResultApplyConfiguration
- func (b *DeviceRequestAllocationResultApplyConfiguration) WithDriver(value string) *DeviceRequestAllocationResultApplyConfiguration
- func (b *DeviceRequestAllocationResultApplyConfiguration) WithPool(value string) *DeviceRequestAllocationResultApplyConfiguration
- func (b *DeviceRequestAllocationResultApplyConfiguration) WithRequest(value string) *DeviceRequestAllocationResultApplyConfiguration
- type DeviceRequestApplyConfiguration
- func (b *DeviceRequestApplyConfiguration) WithAdminAccess(value bool) *DeviceRequestApplyConfiguration
- func (b *DeviceRequestApplyConfiguration) WithAllocationMode(value resourcev1alpha3.DeviceAllocationMode) *DeviceRequestApplyConfiguration
- func (b *DeviceRequestApplyConfiguration) WithCount(value int64) *DeviceRequestApplyConfiguration
- func (b *DeviceRequestApplyConfiguration) WithDeviceClassName(value string) *DeviceRequestApplyConfiguration
- func (b *DeviceRequestApplyConfiguration) WithName(value string) *DeviceRequestApplyConfiguration
- func (b *DeviceRequestApplyConfiguration) WithSelectors(values ...*DeviceSelectorApplyConfiguration) *DeviceRequestApplyConfiguration
- type DeviceSelectorApplyConfiguration
- type OpaqueDeviceConfigurationApplyConfiguration
- type PodSchedulingContextApplyConfiguration
- func ExtractPodSchedulingContext(podSchedulingContext *resourcev1alpha3.PodSchedulingContext, ...) (*PodSchedulingContextApplyConfiguration, error)
- func ExtractPodSchedulingContextStatus(podSchedulingContext *resourcev1alpha3.PodSchedulingContext, ...) (*PodSchedulingContextApplyConfiguration, error)
- func PodSchedulingContext(name, namespace string) *PodSchedulingContextApplyConfiguration
- func (b *PodSchedulingContextApplyConfiguration) GetName() *string
- func (b *PodSchedulingContextApplyConfiguration) WithAPIVersion(value string) *PodSchedulingContextApplyConfiguration
- func (b *PodSchedulingContextApplyConfiguration) WithAnnotations(entries map[string]string) *PodSchedulingContextApplyConfiguration
- func (b *PodSchedulingContextApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PodSchedulingContextApplyConfiguration
- func (b *PodSchedulingContextApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PodSchedulingContextApplyConfiguration
- func (b *PodSchedulingContextApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PodSchedulingContextApplyConfiguration
- func (b *PodSchedulingContextApplyConfiguration) WithFinalizers(values ...string) *PodSchedulingContextApplyConfiguration
- func (b *PodSchedulingContextApplyConfiguration) WithGenerateName(value string) *PodSchedulingContextApplyConfiguration
- func (b *PodSchedulingContextApplyConfiguration) WithGeneration(value int64) *PodSchedulingContextApplyConfiguration
- func (b *PodSchedulingContextApplyConfiguration) WithKind(value string) *PodSchedulingContextApplyConfiguration
- func (b *PodSchedulingContextApplyConfiguration) WithLabels(entries map[string]string) *PodSchedulingContextApplyConfiguration
- func (b *PodSchedulingContextApplyConfiguration) WithName(value string) *PodSchedulingContextApplyConfiguration
- func (b *PodSchedulingContextApplyConfiguration) WithNamespace(value string) *PodSchedulingContextApplyConfiguration
- func (b *PodSchedulingContextApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PodSchedulingContextApplyConfiguration
- func (b *PodSchedulingContextApplyConfiguration) WithResourceVersion(value string) *PodSchedulingContextApplyConfiguration
- func (b *PodSchedulingContextApplyConfiguration) WithSpec(value *PodSchedulingContextSpecApplyConfiguration) *PodSchedulingContextApplyConfiguration
- func (b *PodSchedulingContextApplyConfiguration) WithStatus(value *PodSchedulingContextStatusApplyConfiguration) *PodSchedulingContextApplyConfiguration
- func (b *PodSchedulingContextApplyConfiguration) WithUID(value types.UID) *PodSchedulingContextApplyConfiguration
- type PodSchedulingContextSpecApplyConfiguration
- type PodSchedulingContextStatusApplyConfiguration
- type ResourceClaimApplyConfiguration
- func ExtractResourceClaim(resourceClaim *resourcev1alpha3.ResourceClaim, fieldManager string) (*ResourceClaimApplyConfiguration, error)
- func ExtractResourceClaimStatus(resourceClaim *resourcev1alpha3.ResourceClaim, fieldManager string) (*ResourceClaimApplyConfiguration, error)
- func ResourceClaim(name, namespace string) *ResourceClaimApplyConfiguration
- func (b *ResourceClaimApplyConfiguration) GetName() *string
- func (b *ResourceClaimApplyConfiguration) WithAPIVersion(value string) *ResourceClaimApplyConfiguration
- func (b *ResourceClaimApplyConfiguration) WithAnnotations(entries map[string]string) *ResourceClaimApplyConfiguration
- func (b *ResourceClaimApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ResourceClaimApplyConfiguration
- func (b *ResourceClaimApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ResourceClaimApplyConfiguration
- func (b *ResourceClaimApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ResourceClaimApplyConfiguration
- func (b *ResourceClaimApplyConfiguration) WithFinalizers(values ...string) *ResourceClaimApplyConfiguration
- func (b *ResourceClaimApplyConfiguration) WithGenerateName(value string) *ResourceClaimApplyConfiguration
- func (b *ResourceClaimApplyConfiguration) WithGeneration(value int64) *ResourceClaimApplyConfiguration
- func (b *ResourceClaimApplyConfiguration) WithKind(value string) *ResourceClaimApplyConfiguration
- func (b *ResourceClaimApplyConfiguration) WithLabels(entries map[string]string) *ResourceClaimApplyConfiguration
- func (b *ResourceClaimApplyConfiguration) WithName(value string) *ResourceClaimApplyConfiguration
- func (b *ResourceClaimApplyConfiguration) WithNamespace(value string) *ResourceClaimApplyConfiguration
- func (b *ResourceClaimApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ResourceClaimApplyConfiguration
- func (b *ResourceClaimApplyConfiguration) WithResourceVersion(value string) *ResourceClaimApplyConfiguration
- func (b *ResourceClaimApplyConfiguration) WithSpec(value *ResourceClaimSpecApplyConfiguration) *ResourceClaimApplyConfiguration
- func (b *ResourceClaimApplyConfiguration) WithStatus(value *ResourceClaimStatusApplyConfiguration) *ResourceClaimApplyConfiguration
- func (b *ResourceClaimApplyConfiguration) WithUID(value types.UID) *ResourceClaimApplyConfiguration
- type ResourceClaimConsumerReferenceApplyConfiguration
- func (b *ResourceClaimConsumerReferenceApplyConfiguration) WithAPIGroup(value string) *ResourceClaimConsumerReferenceApplyConfiguration
- func (b *ResourceClaimConsumerReferenceApplyConfiguration) WithName(value string) *ResourceClaimConsumerReferenceApplyConfiguration
- func (b *ResourceClaimConsumerReferenceApplyConfiguration) WithResource(value string) *ResourceClaimConsumerReferenceApplyConfiguration
- func (b *ResourceClaimConsumerReferenceApplyConfiguration) WithUID(value types.UID) *ResourceClaimConsumerReferenceApplyConfiguration
- type ResourceClaimSchedulingStatusApplyConfiguration
- type ResourceClaimSpecApplyConfiguration
- type ResourceClaimStatusApplyConfiguration
- func (b *ResourceClaimStatusApplyConfiguration) WithAllocation(value *AllocationResultApplyConfiguration) *ResourceClaimStatusApplyConfiguration
- func (b *ResourceClaimStatusApplyConfiguration) WithDeallocationRequested(value bool) *ResourceClaimStatusApplyConfiguration
- func (b *ResourceClaimStatusApplyConfiguration) WithReservedFor(values ...*ResourceClaimConsumerReferenceApplyConfiguration) *ResourceClaimStatusApplyConfiguration
- type ResourceClaimTemplateApplyConfiguration
- func ExtractResourceClaimTemplate(resourceClaimTemplate *resourcev1alpha3.ResourceClaimTemplate, ...) (*ResourceClaimTemplateApplyConfiguration, error)
- func ExtractResourceClaimTemplateStatus(resourceClaimTemplate *resourcev1alpha3.ResourceClaimTemplate, ...) (*ResourceClaimTemplateApplyConfiguration, error)
- func ResourceClaimTemplate(name, namespace string) *ResourceClaimTemplateApplyConfiguration
- func (b *ResourceClaimTemplateApplyConfiguration) GetName() *string
- func (b *ResourceClaimTemplateApplyConfiguration) WithAPIVersion(value string) *ResourceClaimTemplateApplyConfiguration
- func (b *ResourceClaimTemplateApplyConfiguration) WithAnnotations(entries map[string]string) *ResourceClaimTemplateApplyConfiguration
- func (b *ResourceClaimTemplateApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ResourceClaimTemplateApplyConfiguration
- func (b *ResourceClaimTemplateApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ResourceClaimTemplateApplyConfiguration
- func (b *ResourceClaimTemplateApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ResourceClaimTemplateApplyConfiguration
- func (b *ResourceClaimTemplateApplyConfiguration) WithFinalizers(values ...string) *ResourceClaimTemplateApplyConfiguration
- func (b *ResourceClaimTemplateApplyConfiguration) WithGenerateName(value string) *ResourceClaimTemplateApplyConfiguration
- func (b *ResourceClaimTemplateApplyConfiguration) WithGeneration(value int64) *ResourceClaimTemplateApplyConfiguration
- func (b *ResourceClaimTemplateApplyConfiguration) WithKind(value string) *ResourceClaimTemplateApplyConfiguration
- func (b *ResourceClaimTemplateApplyConfiguration) WithLabels(entries map[string]string) *ResourceClaimTemplateApplyConfiguration
- func (b *ResourceClaimTemplateApplyConfiguration) WithName(value string) *ResourceClaimTemplateApplyConfiguration
- func (b *ResourceClaimTemplateApplyConfiguration) WithNamespace(value string) *ResourceClaimTemplateApplyConfiguration
- func (b *ResourceClaimTemplateApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ResourceClaimTemplateApplyConfiguration
- func (b *ResourceClaimTemplateApplyConfiguration) WithResourceVersion(value string) *ResourceClaimTemplateApplyConfiguration
- func (b *ResourceClaimTemplateApplyConfiguration) WithSpec(value *ResourceClaimTemplateSpecApplyConfiguration) *ResourceClaimTemplateApplyConfiguration
- func (b *ResourceClaimTemplateApplyConfiguration) WithUID(value types.UID) *ResourceClaimTemplateApplyConfiguration
- type ResourceClaimTemplateSpecApplyConfiguration
- func (b *ResourceClaimTemplateSpecApplyConfiguration) GetName() *string
- func (b *ResourceClaimTemplateSpecApplyConfiguration) WithAnnotations(entries map[string]string) *ResourceClaimTemplateSpecApplyConfiguration
- func (b *ResourceClaimTemplateSpecApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ResourceClaimTemplateSpecApplyConfiguration
- func (b *ResourceClaimTemplateSpecApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ResourceClaimTemplateSpecApplyConfiguration
- func (b *ResourceClaimTemplateSpecApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ResourceClaimTemplateSpecApplyConfiguration
- func (b *ResourceClaimTemplateSpecApplyConfiguration) WithFinalizers(values ...string) *ResourceClaimTemplateSpecApplyConfiguration
- func (b *ResourceClaimTemplateSpecApplyConfiguration) WithGenerateName(value string) *ResourceClaimTemplateSpecApplyConfiguration
- func (b *ResourceClaimTemplateSpecApplyConfiguration) WithGeneration(value int64) *ResourceClaimTemplateSpecApplyConfiguration
- func (b *ResourceClaimTemplateSpecApplyConfiguration) WithLabels(entries map[string]string) *ResourceClaimTemplateSpecApplyConfiguration
- func (b *ResourceClaimTemplateSpecApplyConfiguration) WithName(value string) *ResourceClaimTemplateSpecApplyConfiguration
- func (b *ResourceClaimTemplateSpecApplyConfiguration) WithNamespace(value string) *ResourceClaimTemplateSpecApplyConfiguration
- func (b *ResourceClaimTemplateSpecApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ResourceClaimTemplateSpecApplyConfiguration
- func (b *ResourceClaimTemplateSpecApplyConfiguration) WithResourceVersion(value string) *ResourceClaimTemplateSpecApplyConfiguration
- func (b *ResourceClaimTemplateSpecApplyConfiguration) WithSpec(value *ResourceClaimSpecApplyConfiguration) *ResourceClaimTemplateSpecApplyConfiguration
- func (b *ResourceClaimTemplateSpecApplyConfiguration) WithUID(value types.UID) *ResourceClaimTemplateSpecApplyConfiguration
- type ResourcePoolApplyConfiguration
- func (b *ResourcePoolApplyConfiguration) WithGeneration(value int64) *ResourcePoolApplyConfiguration
- func (b *ResourcePoolApplyConfiguration) WithName(value string) *ResourcePoolApplyConfiguration
- func (b *ResourcePoolApplyConfiguration) WithResourceSliceCount(value int64) *ResourcePoolApplyConfiguration
- type ResourceSliceApplyConfiguration
- func ExtractResourceSlice(resourceSlice *resourcev1alpha3.ResourceSlice, fieldManager string) (*ResourceSliceApplyConfiguration, error)
- func ExtractResourceSliceStatus(resourceSlice *resourcev1alpha3.ResourceSlice, fieldManager string) (*ResourceSliceApplyConfiguration, error)
- func ResourceSlice(name string) *ResourceSliceApplyConfiguration
- func (b *ResourceSliceApplyConfiguration) GetName() *string
- func (b *ResourceSliceApplyConfiguration) WithAPIVersion(value string) *ResourceSliceApplyConfiguration
- func (b *ResourceSliceApplyConfiguration) WithAnnotations(entries map[string]string) *ResourceSliceApplyConfiguration
- func (b *ResourceSliceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ResourceSliceApplyConfiguration
- func (b *ResourceSliceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ResourceSliceApplyConfiguration
- func (b *ResourceSliceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ResourceSliceApplyConfiguration
- func (b *ResourceSliceApplyConfiguration) WithFinalizers(values ...string) *ResourceSliceApplyConfiguration
- func (b *ResourceSliceApplyConfiguration) WithGenerateName(value string) *ResourceSliceApplyConfiguration
- func (b *ResourceSliceApplyConfiguration) WithGeneration(value int64) *ResourceSliceApplyConfiguration
- func (b *ResourceSliceApplyConfiguration) WithKind(value string) *ResourceSliceApplyConfiguration
- func (b *ResourceSliceApplyConfiguration) WithLabels(entries map[string]string) *ResourceSliceApplyConfiguration
- func (b *ResourceSliceApplyConfiguration) WithName(value string) *ResourceSliceApplyConfiguration
- func (b *ResourceSliceApplyConfiguration) WithNamespace(value string) *ResourceSliceApplyConfiguration
- func (b *ResourceSliceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ResourceSliceApplyConfiguration
- func (b *ResourceSliceApplyConfiguration) WithResourceVersion(value string) *ResourceSliceApplyConfiguration
- func (b *ResourceSliceApplyConfiguration) WithSpec(value *ResourceSliceSpecApplyConfiguration) *ResourceSliceApplyConfiguration
- func (b *ResourceSliceApplyConfiguration) WithUID(value types.UID) *ResourceSliceApplyConfiguration
- type ResourceSliceSpecApplyConfiguration
- func (b *ResourceSliceSpecApplyConfiguration) WithAllNodes(value bool) *ResourceSliceSpecApplyConfiguration
- func (b *ResourceSliceSpecApplyConfiguration) WithDevices(values ...*DeviceApplyConfiguration) *ResourceSliceSpecApplyConfiguration
- func (b *ResourceSliceSpecApplyConfiguration) WithDriver(value string) *ResourceSliceSpecApplyConfiguration
- func (b *ResourceSliceSpecApplyConfiguration) WithNodeName(value string) *ResourceSliceSpecApplyConfiguration
- func (b *ResourceSliceSpecApplyConfiguration) WithNodeSelector(value *v1.NodeSelectorApplyConfiguration) *ResourceSliceSpecApplyConfiguration
- func (b *ResourceSliceSpecApplyConfiguration) WithPool(value *ResourcePoolApplyConfiguration) *ResourceSliceSpecApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllocationResultApplyConfiguration ¶
type AllocationResultApplyConfiguration struct { Devices *DeviceAllocationResultApplyConfiguration `json:"devices,omitempty"` NodeSelector *v1.NodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"` Controller *string `json:"controller,omitempty"` }
AllocationResultApplyConfiguration represents a declarative configuration of the AllocationResult type for use with apply.
func AllocationResult ¶
func AllocationResult() *AllocationResultApplyConfiguration
AllocationResultApplyConfiguration constructs a declarative configuration of the AllocationResult type for use with apply.
func (*AllocationResultApplyConfiguration) WithController ¶
func (b *AllocationResultApplyConfiguration) WithController(value string) *AllocationResultApplyConfiguration
WithController sets the Controller 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 Controller field is set to the value of the last call.
func (*AllocationResultApplyConfiguration) WithDevices ¶
func (b *AllocationResultApplyConfiguration) WithDevices(value *DeviceAllocationResultApplyConfiguration) *AllocationResultApplyConfiguration
WithDevices sets the Devices 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 Devices field is set to the value of the last call.
func (*AllocationResultApplyConfiguration) WithNodeSelector ¶
func (b *AllocationResultApplyConfiguration) WithNodeSelector(value *v1.NodeSelectorApplyConfiguration) *AllocationResultApplyConfiguration
WithNodeSelector sets the NodeSelector 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 NodeSelector field is set to the value of the last call.
type BasicDeviceApplyConfiguration ¶
type BasicDeviceApplyConfiguration struct { Attributes map[v1alpha3.QualifiedName]DeviceAttributeApplyConfiguration `json:"attributes,omitempty"` Capacity map[v1alpha3.QualifiedName]resource.Quantity `json:"capacity,omitempty"` }
BasicDeviceApplyConfiguration represents a declarative configuration of the BasicDevice type for use with apply.
func BasicDevice ¶
func BasicDevice() *BasicDeviceApplyConfiguration
BasicDeviceApplyConfiguration constructs a declarative configuration of the BasicDevice type for use with apply.
func (*BasicDeviceApplyConfiguration) WithAttributes ¶
func (b *BasicDeviceApplyConfiguration) WithAttributes(entries map[v1alpha3.QualifiedName]DeviceAttributeApplyConfiguration) *BasicDeviceApplyConfiguration
WithAttributes puts the entries into the Attributes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Attributes field, overwriting an existing map entries in Attributes field with the same key.
func (*BasicDeviceApplyConfiguration) WithCapacity ¶
func (b *BasicDeviceApplyConfiguration) WithCapacity(entries map[v1alpha3.QualifiedName]resource.Quantity) *BasicDeviceApplyConfiguration
WithCapacity puts the entries into the Capacity field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Capacity field, overwriting an existing map entries in Capacity field with the same key.
type CELDeviceSelectorApplyConfiguration ¶
type CELDeviceSelectorApplyConfiguration struct {
Expression *string `json:"expression,omitempty"`
}
CELDeviceSelectorApplyConfiguration represents a declarative configuration of the CELDeviceSelector type for use with apply.
func CELDeviceSelector ¶
func CELDeviceSelector() *CELDeviceSelectorApplyConfiguration
CELDeviceSelectorApplyConfiguration constructs a declarative configuration of the CELDeviceSelector type for use with apply.
func (*CELDeviceSelectorApplyConfiguration) WithExpression ¶
func (b *CELDeviceSelectorApplyConfiguration) WithExpression(value string) *CELDeviceSelectorApplyConfiguration
WithExpression sets the Expression 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 Expression field is set to the value of the last call.
type DeviceAllocationConfigurationApplyConfiguration ¶
type DeviceAllocationConfigurationApplyConfiguration struct { Source *v1alpha3.AllocationConfigSource `json:"source,omitempty"` Requests []string `json:"requests,omitempty"` DeviceConfigurationApplyConfiguration `json:",inline"` }
DeviceAllocationConfigurationApplyConfiguration represents a declarative configuration of the DeviceAllocationConfiguration type for use with apply.
func DeviceAllocationConfiguration ¶
func DeviceAllocationConfiguration() *DeviceAllocationConfigurationApplyConfiguration
DeviceAllocationConfigurationApplyConfiguration constructs a declarative configuration of the DeviceAllocationConfiguration type for use with apply.
func (*DeviceAllocationConfigurationApplyConfiguration) WithOpaque ¶
func (b *DeviceAllocationConfigurationApplyConfiguration) WithOpaque(value *OpaqueDeviceConfigurationApplyConfiguration) *DeviceAllocationConfigurationApplyConfiguration
WithOpaque sets the Opaque 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 Opaque field is set to the value of the last call.
func (*DeviceAllocationConfigurationApplyConfiguration) WithRequests ¶
func (b *DeviceAllocationConfigurationApplyConfiguration) WithRequests(values ...string) *DeviceAllocationConfigurationApplyConfiguration
WithRequests adds the given value to the Requests 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 Requests field.
func (*DeviceAllocationConfigurationApplyConfiguration) WithSource ¶
func (b *DeviceAllocationConfigurationApplyConfiguration) WithSource(value v1alpha3.AllocationConfigSource) *DeviceAllocationConfigurationApplyConfiguration
WithSource sets the Source 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 Source field is set to the value of the last call.
type DeviceAllocationResultApplyConfiguration ¶
type DeviceAllocationResultApplyConfiguration struct { Results []DeviceRequestAllocationResultApplyConfiguration `json:"results,omitempty"` Config []DeviceAllocationConfigurationApplyConfiguration `json:"config,omitempty"` }
DeviceAllocationResultApplyConfiguration represents a declarative configuration of the DeviceAllocationResult type for use with apply.
func DeviceAllocationResult ¶
func DeviceAllocationResult() *DeviceAllocationResultApplyConfiguration
DeviceAllocationResultApplyConfiguration constructs a declarative configuration of the DeviceAllocationResult type for use with apply.
func (*DeviceAllocationResultApplyConfiguration) WithConfig ¶
func (b *DeviceAllocationResultApplyConfiguration) WithConfig(values ...*DeviceAllocationConfigurationApplyConfiguration) *DeviceAllocationResultApplyConfiguration
WithConfig adds the given value to the Config 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 Config field.
func (*DeviceAllocationResultApplyConfiguration) WithResults ¶
func (b *DeviceAllocationResultApplyConfiguration) WithResults(values ...*DeviceRequestAllocationResultApplyConfiguration) *DeviceAllocationResultApplyConfiguration
WithResults adds the given value to the Results 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 Results field.
type DeviceApplyConfiguration ¶
type DeviceApplyConfiguration struct { Name *string `json:"name,omitempty"` Basic *BasicDeviceApplyConfiguration `json:"basic,omitempty"` }
DeviceApplyConfiguration represents a declarative configuration of the Device type for use with apply.
func Device ¶
func Device() *DeviceApplyConfiguration
DeviceApplyConfiguration constructs a declarative configuration of the Device type for use with apply.
func (*DeviceApplyConfiguration) WithBasic ¶
func (b *DeviceApplyConfiguration) WithBasic(value *BasicDeviceApplyConfiguration) *DeviceApplyConfiguration
WithBasic sets the Basic 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 Basic field is set to the value of the last call.
func (*DeviceApplyConfiguration) WithName ¶
func (b *DeviceApplyConfiguration) WithName(value string) *DeviceApplyConfiguration
WithName sets the Name 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 Name field is set to the value of the last call.
type DeviceAttributeApplyConfiguration ¶
type DeviceAttributeApplyConfiguration struct { IntValue *int64 `json:"int,omitempty"` BoolValue *bool `json:"bool,omitempty"` StringValue *string `json:"string,omitempty"` VersionValue *string `json:"version,omitempty"` }
DeviceAttributeApplyConfiguration represents a declarative configuration of the DeviceAttribute type for use with apply.
func DeviceAttribute ¶
func DeviceAttribute() *DeviceAttributeApplyConfiguration
DeviceAttributeApplyConfiguration constructs a declarative configuration of the DeviceAttribute type for use with apply.
func (*DeviceAttributeApplyConfiguration) WithBoolValue ¶
func (b *DeviceAttributeApplyConfiguration) WithBoolValue(value bool) *DeviceAttributeApplyConfiguration
WithBoolValue sets the BoolValue 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 BoolValue field is set to the value of the last call.
func (*DeviceAttributeApplyConfiguration) WithIntValue ¶
func (b *DeviceAttributeApplyConfiguration) WithIntValue(value int64) *DeviceAttributeApplyConfiguration
WithIntValue sets the IntValue 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 IntValue field is set to the value of the last call.
func (*DeviceAttributeApplyConfiguration) WithStringValue ¶
func (b *DeviceAttributeApplyConfiguration) WithStringValue(value string) *DeviceAttributeApplyConfiguration
WithStringValue sets the StringValue 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 StringValue field is set to the value of the last call.
func (*DeviceAttributeApplyConfiguration) WithVersionValue ¶
func (b *DeviceAttributeApplyConfiguration) WithVersionValue(value string) *DeviceAttributeApplyConfiguration
WithVersionValue sets the VersionValue 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 VersionValue field is set to the value of the last call.
type DeviceClaimApplyConfiguration ¶
type DeviceClaimApplyConfiguration struct { Requests []DeviceRequestApplyConfiguration `json:"requests,omitempty"` Constraints []DeviceConstraintApplyConfiguration `json:"constraints,omitempty"` Config []DeviceClaimConfigurationApplyConfiguration `json:"config,omitempty"` }
DeviceClaimApplyConfiguration represents a declarative configuration of the DeviceClaim type for use with apply.
func DeviceClaim ¶
func DeviceClaim() *DeviceClaimApplyConfiguration
DeviceClaimApplyConfiguration constructs a declarative configuration of the DeviceClaim type for use with apply.
func (*DeviceClaimApplyConfiguration) WithConfig ¶
func (b *DeviceClaimApplyConfiguration) WithConfig(values ...*DeviceClaimConfigurationApplyConfiguration) *DeviceClaimApplyConfiguration
WithConfig adds the given value to the Config 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 Config field.
func (*DeviceClaimApplyConfiguration) WithConstraints ¶
func (b *DeviceClaimApplyConfiguration) WithConstraints(values ...*DeviceConstraintApplyConfiguration) *DeviceClaimApplyConfiguration
WithConstraints adds the given value to the Constraints 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 Constraints field.
func (*DeviceClaimApplyConfiguration) WithRequests ¶
func (b *DeviceClaimApplyConfiguration) WithRequests(values ...*DeviceRequestApplyConfiguration) *DeviceClaimApplyConfiguration
WithRequests adds the given value to the Requests 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 Requests field.
type DeviceClaimConfigurationApplyConfiguration ¶
type DeviceClaimConfigurationApplyConfiguration struct { Requests []string `json:"requests,omitempty"` DeviceConfigurationApplyConfiguration `json:",inline"` }
DeviceClaimConfigurationApplyConfiguration represents a declarative configuration of the DeviceClaimConfiguration type for use with apply.
func DeviceClaimConfiguration ¶
func DeviceClaimConfiguration() *DeviceClaimConfigurationApplyConfiguration
DeviceClaimConfigurationApplyConfiguration constructs a declarative configuration of the DeviceClaimConfiguration type for use with apply.
func (*DeviceClaimConfigurationApplyConfiguration) WithOpaque ¶
func (b *DeviceClaimConfigurationApplyConfiguration) WithOpaque(value *OpaqueDeviceConfigurationApplyConfiguration) *DeviceClaimConfigurationApplyConfiguration
WithOpaque sets the Opaque 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 Opaque field is set to the value of the last call.
func (*DeviceClaimConfigurationApplyConfiguration) WithRequests ¶
func (b *DeviceClaimConfigurationApplyConfiguration) WithRequests(values ...string) *DeviceClaimConfigurationApplyConfiguration
WithRequests adds the given value to the Requests 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 Requests field.
type DeviceClassApplyConfiguration ¶
type DeviceClassApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *DeviceClassSpecApplyConfiguration `json:"spec,omitempty"` }
DeviceClassApplyConfiguration represents a declarative configuration of the DeviceClass type for use with apply.
func DeviceClass ¶
func DeviceClass(name string) *DeviceClassApplyConfiguration
DeviceClass constructs a declarative configuration of the DeviceClass type for use with apply.
func ExtractDeviceClass ¶
func ExtractDeviceClass(deviceClass *resourcev1alpha3.DeviceClass, fieldManager string) (*DeviceClassApplyConfiguration, error)
ExtractDeviceClass extracts the applied configuration owned by fieldManager from deviceClass. If no managedFields are found in deviceClass for fieldManager, a DeviceClassApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. deviceClass must be a unmodified DeviceClass API object that was retrieved from the Kubernetes API. ExtractDeviceClass provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractDeviceClassStatus ¶
func ExtractDeviceClassStatus(deviceClass *resourcev1alpha3.DeviceClass, fieldManager string) (*DeviceClassApplyConfiguration, error)
ExtractDeviceClassStatus is the same as ExtractDeviceClass except that it extracts the status subresource applied configuration. Experimental!
func (*DeviceClassApplyConfiguration) GetName ¶
func (b *DeviceClassApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*DeviceClassApplyConfiguration) WithAPIVersion ¶
func (b *DeviceClassApplyConfiguration) WithAPIVersion(value string) *DeviceClassApplyConfiguration
WithAPIVersion sets the APIVersion 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 APIVersion field is set to the value of the last call.
func (*DeviceClassApplyConfiguration) WithAnnotations ¶
func (b *DeviceClassApplyConfiguration) WithAnnotations(entries map[string]string) *DeviceClassApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*DeviceClassApplyConfiguration) WithCreationTimestamp ¶
func (b *DeviceClassApplyConfiguration) WithCreationTimestamp(value metav1.Time) *DeviceClassApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp 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 CreationTimestamp field is set to the value of the last call.
func (*DeviceClassApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *DeviceClassApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *DeviceClassApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds 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 DeletionGracePeriodSeconds field is set to the value of the last call.
func (*DeviceClassApplyConfiguration) WithDeletionTimestamp ¶
func (b *DeviceClassApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *DeviceClassApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp 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 DeletionTimestamp field is set to the value of the last call.
func (*DeviceClassApplyConfiguration) WithFinalizers ¶
func (b *DeviceClassApplyConfiguration) WithFinalizers(values ...string) *DeviceClassApplyConfiguration
WithFinalizers adds the given value to the Finalizers 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 Finalizers field.
func (*DeviceClassApplyConfiguration) WithGenerateName ¶
func (b *DeviceClassApplyConfiguration) WithGenerateName(value string) *DeviceClassApplyConfiguration
WithGenerateName sets the GenerateName 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 GenerateName field is set to the value of the last call.
func (*DeviceClassApplyConfiguration) WithGeneration ¶
func (b *DeviceClassApplyConfiguration) WithGeneration(value int64) *DeviceClassApplyConfiguration
WithGeneration sets the Generation 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 Generation field is set to the value of the last call.
func (*DeviceClassApplyConfiguration) WithKind ¶
func (b *DeviceClassApplyConfiguration) WithKind(value string) *DeviceClassApplyConfiguration
WithKind sets the Kind 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 Kind field is set to the value of the last call.
func (*DeviceClassApplyConfiguration) WithLabels ¶
func (b *DeviceClassApplyConfiguration) WithLabels(entries map[string]string) *DeviceClassApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*DeviceClassApplyConfiguration) WithName ¶
func (b *DeviceClassApplyConfiguration) WithName(value string) *DeviceClassApplyConfiguration
WithName sets the Name 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 Name field is set to the value of the last call.
func (*DeviceClassApplyConfiguration) WithNamespace ¶
func (b *DeviceClassApplyConfiguration) WithNamespace(value string) *DeviceClassApplyConfiguration
WithNamespace sets the Namespace 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 Namespace field is set to the value of the last call.
func (*DeviceClassApplyConfiguration) WithOwnerReferences ¶
func (b *DeviceClassApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *DeviceClassApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences 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 OwnerReferences field.
func (*DeviceClassApplyConfiguration) WithResourceVersion ¶
func (b *DeviceClassApplyConfiguration) WithResourceVersion(value string) *DeviceClassApplyConfiguration
WithResourceVersion sets the ResourceVersion 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 ResourceVersion field is set to the value of the last call.
func (*DeviceClassApplyConfiguration) WithSpec ¶
func (b *DeviceClassApplyConfiguration) WithSpec(value *DeviceClassSpecApplyConfiguration) *DeviceClassApplyConfiguration
WithSpec sets the Spec 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 Spec field is set to the value of the last call.
func (*DeviceClassApplyConfiguration) WithUID ¶
func (b *DeviceClassApplyConfiguration) WithUID(value types.UID) *DeviceClassApplyConfiguration
WithUID sets the UID 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 UID field is set to the value of the last call.
type DeviceClassConfigurationApplyConfiguration ¶
type DeviceClassConfigurationApplyConfiguration struct {
DeviceConfigurationApplyConfiguration `json:",inline"`
}
DeviceClassConfigurationApplyConfiguration represents a declarative configuration of the DeviceClassConfiguration type for use with apply.
func DeviceClassConfiguration ¶
func DeviceClassConfiguration() *DeviceClassConfigurationApplyConfiguration
DeviceClassConfigurationApplyConfiguration constructs a declarative configuration of the DeviceClassConfiguration type for use with apply.
func (*DeviceClassConfigurationApplyConfiguration) WithOpaque ¶
func (b *DeviceClassConfigurationApplyConfiguration) WithOpaque(value *OpaqueDeviceConfigurationApplyConfiguration) *DeviceClassConfigurationApplyConfiguration
WithOpaque sets the Opaque 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 Opaque field is set to the value of the last call.
type DeviceClassSpecApplyConfiguration ¶
type DeviceClassSpecApplyConfiguration struct { Selectors []DeviceSelectorApplyConfiguration `json:"selectors,omitempty"` Config []DeviceClassConfigurationApplyConfiguration `json:"config,omitempty"` SuitableNodes *v1.NodeSelectorApplyConfiguration `json:"suitableNodes,omitempty"` }
DeviceClassSpecApplyConfiguration represents a declarative configuration of the DeviceClassSpec type for use with apply.
func DeviceClassSpec ¶
func DeviceClassSpec() *DeviceClassSpecApplyConfiguration
DeviceClassSpecApplyConfiguration constructs a declarative configuration of the DeviceClassSpec type for use with apply.
func (*DeviceClassSpecApplyConfiguration) WithConfig ¶
func (b *DeviceClassSpecApplyConfiguration) WithConfig(values ...*DeviceClassConfigurationApplyConfiguration) *DeviceClassSpecApplyConfiguration
WithConfig adds the given value to the Config 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 Config field.
func (*DeviceClassSpecApplyConfiguration) WithSelectors ¶
func (b *DeviceClassSpecApplyConfiguration) WithSelectors(values ...*DeviceSelectorApplyConfiguration) *DeviceClassSpecApplyConfiguration
WithSelectors adds the given value to the Selectors 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 Selectors field.
func (*DeviceClassSpecApplyConfiguration) WithSuitableNodes ¶
func (b *DeviceClassSpecApplyConfiguration) WithSuitableNodes(value *v1.NodeSelectorApplyConfiguration) *DeviceClassSpecApplyConfiguration
WithSuitableNodes sets the SuitableNodes 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 SuitableNodes field is set to the value of the last call.
type DeviceConfigurationApplyConfiguration ¶
type DeviceConfigurationApplyConfiguration struct {
Opaque *OpaqueDeviceConfigurationApplyConfiguration `json:"opaque,omitempty"`
}
DeviceConfigurationApplyConfiguration represents a declarative configuration of the DeviceConfiguration type for use with apply.
func DeviceConfiguration ¶
func DeviceConfiguration() *DeviceConfigurationApplyConfiguration
DeviceConfigurationApplyConfiguration constructs a declarative configuration of the DeviceConfiguration type for use with apply.
func (*DeviceConfigurationApplyConfiguration) WithOpaque ¶
func (b *DeviceConfigurationApplyConfiguration) WithOpaque(value *OpaqueDeviceConfigurationApplyConfiguration) *DeviceConfigurationApplyConfiguration
WithOpaque sets the Opaque 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 Opaque field is set to the value of the last call.
type DeviceConstraintApplyConfiguration ¶
type DeviceConstraintApplyConfiguration struct { Requests []string `json:"requests,omitempty"` MatchAttribute *v1alpha3.FullyQualifiedName `json:"matchAttribute,omitempty"` }
DeviceConstraintApplyConfiguration represents a declarative configuration of the DeviceConstraint type for use with apply.
func DeviceConstraint ¶
func DeviceConstraint() *DeviceConstraintApplyConfiguration
DeviceConstraintApplyConfiguration constructs a declarative configuration of the DeviceConstraint type for use with apply.
func (*DeviceConstraintApplyConfiguration) WithMatchAttribute ¶
func (b *DeviceConstraintApplyConfiguration) WithMatchAttribute(value v1alpha3.FullyQualifiedName) *DeviceConstraintApplyConfiguration
WithMatchAttribute sets the MatchAttribute 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 MatchAttribute field is set to the value of the last call.
func (*DeviceConstraintApplyConfiguration) WithRequests ¶
func (b *DeviceConstraintApplyConfiguration) WithRequests(values ...string) *DeviceConstraintApplyConfiguration
WithRequests adds the given value to the Requests 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 Requests field.
type DeviceRequestAllocationResultApplyConfiguration ¶
type DeviceRequestAllocationResultApplyConfiguration struct { Request *string `json:"request,omitempty"` Driver *string `json:"driver,omitempty"` Pool *string `json:"pool,omitempty"` Device *string `json:"device,omitempty"` }
DeviceRequestAllocationResultApplyConfiguration represents a declarative configuration of the DeviceRequestAllocationResult type for use with apply.
func DeviceRequestAllocationResult ¶
func DeviceRequestAllocationResult() *DeviceRequestAllocationResultApplyConfiguration
DeviceRequestAllocationResultApplyConfiguration constructs a declarative configuration of the DeviceRequestAllocationResult type for use with apply.
func (*DeviceRequestAllocationResultApplyConfiguration) WithDevice ¶
func (b *DeviceRequestAllocationResultApplyConfiguration) WithDevice(value string) *DeviceRequestAllocationResultApplyConfiguration
WithDevice sets the Device 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 Device field is set to the value of the last call.
func (*DeviceRequestAllocationResultApplyConfiguration) WithDriver ¶
func (b *DeviceRequestAllocationResultApplyConfiguration) WithDriver(value string) *DeviceRequestAllocationResultApplyConfiguration
WithDriver sets the Driver 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 Driver field is set to the value of the last call.
func (*DeviceRequestAllocationResultApplyConfiguration) WithPool ¶
func (b *DeviceRequestAllocationResultApplyConfiguration) WithPool(value string) *DeviceRequestAllocationResultApplyConfiguration
WithPool sets the Pool 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 Pool field is set to the value of the last call.
func (*DeviceRequestAllocationResultApplyConfiguration) WithRequest ¶
func (b *DeviceRequestAllocationResultApplyConfiguration) WithRequest(value string) *DeviceRequestAllocationResultApplyConfiguration
WithRequest sets the Request 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 Request field is set to the value of the last call.
type DeviceRequestApplyConfiguration ¶
type DeviceRequestApplyConfiguration struct { Name *string `json:"name,omitempty"` DeviceClassName *string `json:"deviceClassName,omitempty"` Selectors []DeviceSelectorApplyConfiguration `json:"selectors,omitempty"` AllocationMode *resourcev1alpha3.DeviceAllocationMode `json:"allocationMode,omitempty"` Count *int64 `json:"count,omitempty"` AdminAccess *bool `json:"adminAccess,omitempty"` }
DeviceRequestApplyConfiguration represents a declarative configuration of the DeviceRequest type for use with apply.
func DeviceRequest ¶
func DeviceRequest() *DeviceRequestApplyConfiguration
DeviceRequestApplyConfiguration constructs a declarative configuration of the DeviceRequest type for use with apply.
func (*DeviceRequestApplyConfiguration) WithAdminAccess ¶
func (b *DeviceRequestApplyConfiguration) WithAdminAccess(value bool) *DeviceRequestApplyConfiguration
WithAdminAccess sets the AdminAccess 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 AdminAccess field is set to the value of the last call.
func (*DeviceRequestApplyConfiguration) WithAllocationMode ¶
func (b *DeviceRequestApplyConfiguration) WithAllocationMode(value resourcev1alpha3.DeviceAllocationMode) *DeviceRequestApplyConfiguration
WithAllocationMode sets the AllocationMode 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 AllocationMode field is set to the value of the last call.
func (*DeviceRequestApplyConfiguration) WithCount ¶
func (b *DeviceRequestApplyConfiguration) WithCount(value int64) *DeviceRequestApplyConfiguration
WithCount sets the Count 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 Count field is set to the value of the last call.
func (*DeviceRequestApplyConfiguration) WithDeviceClassName ¶
func (b *DeviceRequestApplyConfiguration) WithDeviceClassName(value string) *DeviceRequestApplyConfiguration
WithDeviceClassName sets the DeviceClassName 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 DeviceClassName field is set to the value of the last call.
func (*DeviceRequestApplyConfiguration) WithName ¶
func (b *DeviceRequestApplyConfiguration) WithName(value string) *DeviceRequestApplyConfiguration
WithName sets the Name 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 Name field is set to the value of the last call.
func (*DeviceRequestApplyConfiguration) WithSelectors ¶
func (b *DeviceRequestApplyConfiguration) WithSelectors(values ...*DeviceSelectorApplyConfiguration) *DeviceRequestApplyConfiguration
WithSelectors adds the given value to the Selectors 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 Selectors field.
type DeviceSelectorApplyConfiguration ¶
type DeviceSelectorApplyConfiguration struct {
CEL *CELDeviceSelectorApplyConfiguration `json:"cel,omitempty"`
}
DeviceSelectorApplyConfiguration represents a declarative configuration of the DeviceSelector type for use with apply.
func DeviceSelector ¶
func DeviceSelector() *DeviceSelectorApplyConfiguration
DeviceSelectorApplyConfiguration constructs a declarative configuration of the DeviceSelector type for use with apply.
func (*DeviceSelectorApplyConfiguration) WithCEL ¶
func (b *DeviceSelectorApplyConfiguration) WithCEL(value *CELDeviceSelectorApplyConfiguration) *DeviceSelectorApplyConfiguration
WithCEL sets the CEL 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 CEL field is set to the value of the last call.
type OpaqueDeviceConfigurationApplyConfiguration ¶
type OpaqueDeviceConfigurationApplyConfiguration struct { Driver *string `json:"driver,omitempty"` Parameters *runtime.RawExtension `json:"parameters,omitempty"` }
OpaqueDeviceConfigurationApplyConfiguration represents a declarative configuration of the OpaqueDeviceConfiguration type for use with apply.
func OpaqueDeviceConfiguration ¶
func OpaqueDeviceConfiguration() *OpaqueDeviceConfigurationApplyConfiguration
OpaqueDeviceConfigurationApplyConfiguration constructs a declarative configuration of the OpaqueDeviceConfiguration type for use with apply.
func (*OpaqueDeviceConfigurationApplyConfiguration) WithDriver ¶
func (b *OpaqueDeviceConfigurationApplyConfiguration) WithDriver(value string) *OpaqueDeviceConfigurationApplyConfiguration
WithDriver sets the Driver 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 Driver field is set to the value of the last call.
func (*OpaqueDeviceConfigurationApplyConfiguration) WithParameters ¶
func (b *OpaqueDeviceConfigurationApplyConfiguration) WithParameters(value runtime.RawExtension) *OpaqueDeviceConfigurationApplyConfiguration
WithParameters sets the Parameters 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 Parameters field is set to the value of the last call.
type PodSchedulingContextApplyConfiguration ¶
type PodSchedulingContextApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *PodSchedulingContextSpecApplyConfiguration `json:"spec,omitempty"` Status *PodSchedulingContextStatusApplyConfiguration `json:"status,omitempty"` }
PodSchedulingContextApplyConfiguration represents a declarative configuration of the PodSchedulingContext type for use with apply.
func ExtractPodSchedulingContext ¶
func ExtractPodSchedulingContext(podSchedulingContext *resourcev1alpha3.PodSchedulingContext, fieldManager string) (*PodSchedulingContextApplyConfiguration, error)
ExtractPodSchedulingContext extracts the applied configuration owned by fieldManager from podSchedulingContext. If no managedFields are found in podSchedulingContext for fieldManager, a PodSchedulingContextApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. podSchedulingContext must be a unmodified PodSchedulingContext API object that was retrieved from the Kubernetes API. ExtractPodSchedulingContext provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractPodSchedulingContextStatus ¶
func ExtractPodSchedulingContextStatus(podSchedulingContext *resourcev1alpha3.PodSchedulingContext, fieldManager string) (*PodSchedulingContextApplyConfiguration, error)
ExtractPodSchedulingContextStatus is the same as ExtractPodSchedulingContext except that it extracts the status subresource applied configuration. Experimental!
func PodSchedulingContext ¶
func PodSchedulingContext(name, namespace string) *PodSchedulingContextApplyConfiguration
PodSchedulingContext constructs a declarative configuration of the PodSchedulingContext type for use with apply.
func (*PodSchedulingContextApplyConfiguration) GetName ¶
func (b *PodSchedulingContextApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*PodSchedulingContextApplyConfiguration) WithAPIVersion ¶
func (b *PodSchedulingContextApplyConfiguration) WithAPIVersion(value string) *PodSchedulingContextApplyConfiguration
WithAPIVersion sets the APIVersion 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 APIVersion field is set to the value of the last call.
func (*PodSchedulingContextApplyConfiguration) WithAnnotations ¶
func (b *PodSchedulingContextApplyConfiguration) WithAnnotations(entries map[string]string) *PodSchedulingContextApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*PodSchedulingContextApplyConfiguration) WithCreationTimestamp ¶
func (b *PodSchedulingContextApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PodSchedulingContextApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp 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 CreationTimestamp field is set to the value of the last call.
func (*PodSchedulingContextApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *PodSchedulingContextApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PodSchedulingContextApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds 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 DeletionGracePeriodSeconds field is set to the value of the last call.
func (*PodSchedulingContextApplyConfiguration) WithDeletionTimestamp ¶
func (b *PodSchedulingContextApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PodSchedulingContextApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp 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 DeletionTimestamp field is set to the value of the last call.
func (*PodSchedulingContextApplyConfiguration) WithFinalizers ¶
func (b *PodSchedulingContextApplyConfiguration) WithFinalizers(values ...string) *PodSchedulingContextApplyConfiguration
WithFinalizers adds the given value to the Finalizers 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 Finalizers field.
func (*PodSchedulingContextApplyConfiguration) WithGenerateName ¶
func (b *PodSchedulingContextApplyConfiguration) WithGenerateName(value string) *PodSchedulingContextApplyConfiguration
WithGenerateName sets the GenerateName 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 GenerateName field is set to the value of the last call.
func (*PodSchedulingContextApplyConfiguration) WithGeneration ¶
func (b *PodSchedulingContextApplyConfiguration) WithGeneration(value int64) *PodSchedulingContextApplyConfiguration
WithGeneration sets the Generation 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 Generation field is set to the value of the last call.
func (*PodSchedulingContextApplyConfiguration) WithKind ¶
func (b *PodSchedulingContextApplyConfiguration) WithKind(value string) *PodSchedulingContextApplyConfiguration
WithKind sets the Kind 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 Kind field is set to the value of the last call.
func (*PodSchedulingContextApplyConfiguration) WithLabels ¶
func (b *PodSchedulingContextApplyConfiguration) WithLabels(entries map[string]string) *PodSchedulingContextApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*PodSchedulingContextApplyConfiguration) WithName ¶
func (b *PodSchedulingContextApplyConfiguration) WithName(value string) *PodSchedulingContextApplyConfiguration
WithName sets the Name 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 Name field is set to the value of the last call.
func (*PodSchedulingContextApplyConfiguration) WithNamespace ¶
func (b *PodSchedulingContextApplyConfiguration) WithNamespace(value string) *PodSchedulingContextApplyConfiguration
WithNamespace sets the Namespace 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 Namespace field is set to the value of the last call.
func (*PodSchedulingContextApplyConfiguration) WithOwnerReferences ¶
func (b *PodSchedulingContextApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PodSchedulingContextApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences 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 OwnerReferences field.
func (*PodSchedulingContextApplyConfiguration) WithResourceVersion ¶
func (b *PodSchedulingContextApplyConfiguration) WithResourceVersion(value string) *PodSchedulingContextApplyConfiguration
WithResourceVersion sets the ResourceVersion 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 ResourceVersion field is set to the value of the last call.
func (*PodSchedulingContextApplyConfiguration) WithSpec ¶
func (b *PodSchedulingContextApplyConfiguration) WithSpec(value *PodSchedulingContextSpecApplyConfiguration) *PodSchedulingContextApplyConfiguration
WithSpec sets the Spec 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 Spec field is set to the value of the last call.
func (*PodSchedulingContextApplyConfiguration) WithStatus ¶
func (b *PodSchedulingContextApplyConfiguration) WithStatus(value *PodSchedulingContextStatusApplyConfiguration) *PodSchedulingContextApplyConfiguration
WithStatus sets the Status 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 Status field is set to the value of the last call.
func (*PodSchedulingContextApplyConfiguration) WithUID ¶
func (b *PodSchedulingContextApplyConfiguration) WithUID(value types.UID) *PodSchedulingContextApplyConfiguration
WithUID sets the UID 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 UID field is set to the value of the last call.
type PodSchedulingContextSpecApplyConfiguration ¶
type PodSchedulingContextSpecApplyConfiguration struct { SelectedNode *string `json:"selectedNode,omitempty"` PotentialNodes []string `json:"potentialNodes,omitempty"` }
PodSchedulingContextSpecApplyConfiguration represents a declarative configuration of the PodSchedulingContextSpec type for use with apply.
func PodSchedulingContextSpec ¶
func PodSchedulingContextSpec() *PodSchedulingContextSpecApplyConfiguration
PodSchedulingContextSpecApplyConfiguration constructs a declarative configuration of the PodSchedulingContextSpec type for use with apply.
func (*PodSchedulingContextSpecApplyConfiguration) WithPotentialNodes ¶
func (b *PodSchedulingContextSpecApplyConfiguration) WithPotentialNodes(values ...string) *PodSchedulingContextSpecApplyConfiguration
WithPotentialNodes adds the given value to the PotentialNodes 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 PotentialNodes field.
func (*PodSchedulingContextSpecApplyConfiguration) WithSelectedNode ¶
func (b *PodSchedulingContextSpecApplyConfiguration) WithSelectedNode(value string) *PodSchedulingContextSpecApplyConfiguration
WithSelectedNode sets the SelectedNode 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 SelectedNode field is set to the value of the last call.
type PodSchedulingContextStatusApplyConfiguration ¶
type PodSchedulingContextStatusApplyConfiguration struct {
ResourceClaims []ResourceClaimSchedulingStatusApplyConfiguration `json:"resourceClaims,omitempty"`
}
PodSchedulingContextStatusApplyConfiguration represents a declarative configuration of the PodSchedulingContextStatus type for use with apply.
func PodSchedulingContextStatus ¶
func PodSchedulingContextStatus() *PodSchedulingContextStatusApplyConfiguration
PodSchedulingContextStatusApplyConfiguration constructs a declarative configuration of the PodSchedulingContextStatus type for use with apply.
func (*PodSchedulingContextStatusApplyConfiguration) WithResourceClaims ¶
func (b *PodSchedulingContextStatusApplyConfiguration) WithResourceClaims(values ...*ResourceClaimSchedulingStatusApplyConfiguration) *PodSchedulingContextStatusApplyConfiguration
WithResourceClaims adds the given value to the ResourceClaims 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 ResourceClaims field.
type ResourceClaimApplyConfiguration ¶
type ResourceClaimApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ResourceClaimSpecApplyConfiguration `json:"spec,omitempty"` Status *ResourceClaimStatusApplyConfiguration `json:"status,omitempty"` }
ResourceClaimApplyConfiguration represents a declarative configuration of the ResourceClaim type for use with apply.
func ExtractResourceClaim ¶
func ExtractResourceClaim(resourceClaim *resourcev1alpha3.ResourceClaim, fieldManager string) (*ResourceClaimApplyConfiguration, error)
ExtractResourceClaim extracts the applied configuration owned by fieldManager from resourceClaim. If no managedFields are found in resourceClaim for fieldManager, a ResourceClaimApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. resourceClaim must be a unmodified ResourceClaim API object that was retrieved from the Kubernetes API. ExtractResourceClaim provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractResourceClaimStatus ¶
func ExtractResourceClaimStatus(resourceClaim *resourcev1alpha3.ResourceClaim, fieldManager string) (*ResourceClaimApplyConfiguration, error)
ExtractResourceClaimStatus is the same as ExtractResourceClaim except that it extracts the status subresource applied configuration. Experimental!
func ResourceClaim ¶
func ResourceClaim(name, namespace string) *ResourceClaimApplyConfiguration
ResourceClaim constructs a declarative configuration of the ResourceClaim type for use with apply.
func (*ResourceClaimApplyConfiguration) GetName ¶
func (b *ResourceClaimApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*ResourceClaimApplyConfiguration) WithAPIVersion ¶
func (b *ResourceClaimApplyConfiguration) WithAPIVersion(value string) *ResourceClaimApplyConfiguration
WithAPIVersion sets the APIVersion 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 APIVersion field is set to the value of the last call.
func (*ResourceClaimApplyConfiguration) WithAnnotations ¶
func (b *ResourceClaimApplyConfiguration) WithAnnotations(entries map[string]string) *ResourceClaimApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*ResourceClaimApplyConfiguration) WithCreationTimestamp ¶
func (b *ResourceClaimApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ResourceClaimApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp 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 CreationTimestamp field is set to the value of the last call.
func (*ResourceClaimApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ResourceClaimApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ResourceClaimApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds 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 DeletionGracePeriodSeconds field is set to the value of the last call.
func (*ResourceClaimApplyConfiguration) WithDeletionTimestamp ¶
func (b *ResourceClaimApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ResourceClaimApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp 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 DeletionTimestamp field is set to the value of the last call.
func (*ResourceClaimApplyConfiguration) WithFinalizers ¶
func (b *ResourceClaimApplyConfiguration) WithFinalizers(values ...string) *ResourceClaimApplyConfiguration
WithFinalizers adds the given value to the Finalizers 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 Finalizers field.
func (*ResourceClaimApplyConfiguration) WithGenerateName ¶
func (b *ResourceClaimApplyConfiguration) WithGenerateName(value string) *ResourceClaimApplyConfiguration
WithGenerateName sets the GenerateName 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 GenerateName field is set to the value of the last call.
func (*ResourceClaimApplyConfiguration) WithGeneration ¶
func (b *ResourceClaimApplyConfiguration) WithGeneration(value int64) *ResourceClaimApplyConfiguration
WithGeneration sets the Generation 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 Generation field is set to the value of the last call.
func (*ResourceClaimApplyConfiguration) WithKind ¶
func (b *ResourceClaimApplyConfiguration) WithKind(value string) *ResourceClaimApplyConfiguration
WithKind sets the Kind 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 Kind field is set to the value of the last call.
func (*ResourceClaimApplyConfiguration) WithLabels ¶
func (b *ResourceClaimApplyConfiguration) WithLabels(entries map[string]string) *ResourceClaimApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*ResourceClaimApplyConfiguration) WithName ¶
func (b *ResourceClaimApplyConfiguration) WithName(value string) *ResourceClaimApplyConfiguration
WithName sets the Name 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 Name field is set to the value of the last call.
func (*ResourceClaimApplyConfiguration) WithNamespace ¶
func (b *ResourceClaimApplyConfiguration) WithNamespace(value string) *ResourceClaimApplyConfiguration
WithNamespace sets the Namespace 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 Namespace field is set to the value of the last call.
func (*ResourceClaimApplyConfiguration) WithOwnerReferences ¶
func (b *ResourceClaimApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ResourceClaimApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences 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 OwnerReferences field.
func (*ResourceClaimApplyConfiguration) WithResourceVersion ¶
func (b *ResourceClaimApplyConfiguration) WithResourceVersion(value string) *ResourceClaimApplyConfiguration
WithResourceVersion sets the ResourceVersion 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 ResourceVersion field is set to the value of the last call.
func (*ResourceClaimApplyConfiguration) WithSpec ¶
func (b *ResourceClaimApplyConfiguration) WithSpec(value *ResourceClaimSpecApplyConfiguration) *ResourceClaimApplyConfiguration
WithSpec sets the Spec 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 Spec field is set to the value of the last call.
func (*ResourceClaimApplyConfiguration) WithStatus ¶
func (b *ResourceClaimApplyConfiguration) WithStatus(value *ResourceClaimStatusApplyConfiguration) *ResourceClaimApplyConfiguration
WithStatus sets the Status 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 Status field is set to the value of the last call.
func (*ResourceClaimApplyConfiguration) WithUID ¶
func (b *ResourceClaimApplyConfiguration) WithUID(value types.UID) *ResourceClaimApplyConfiguration
WithUID sets the UID 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 UID field is set to the value of the last call.
type ResourceClaimConsumerReferenceApplyConfiguration ¶
type ResourceClaimConsumerReferenceApplyConfiguration struct { APIGroup *string `json:"apiGroup,omitempty"` Resource *string `json:"resource,omitempty"` Name *string `json:"name,omitempty"` UID *types.UID `json:"uid,omitempty"` }
ResourceClaimConsumerReferenceApplyConfiguration represents a declarative configuration of the ResourceClaimConsumerReference type for use with apply.
func ResourceClaimConsumerReference ¶
func ResourceClaimConsumerReference() *ResourceClaimConsumerReferenceApplyConfiguration
ResourceClaimConsumerReferenceApplyConfiguration constructs a declarative configuration of the ResourceClaimConsumerReference type for use with apply.
func (*ResourceClaimConsumerReferenceApplyConfiguration) WithAPIGroup ¶
func (b *ResourceClaimConsumerReferenceApplyConfiguration) WithAPIGroup(value string) *ResourceClaimConsumerReferenceApplyConfiguration
WithAPIGroup sets the APIGroup 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 APIGroup field is set to the value of the last call.
func (*ResourceClaimConsumerReferenceApplyConfiguration) WithName ¶
func (b *ResourceClaimConsumerReferenceApplyConfiguration) WithName(value string) *ResourceClaimConsumerReferenceApplyConfiguration
WithName sets the Name 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 Name field is set to the value of the last call.
func (*ResourceClaimConsumerReferenceApplyConfiguration) WithResource ¶
func (b *ResourceClaimConsumerReferenceApplyConfiguration) WithResource(value string) *ResourceClaimConsumerReferenceApplyConfiguration
WithResource sets the Resource 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 Resource field is set to the value of the last call.
func (*ResourceClaimConsumerReferenceApplyConfiguration) WithUID ¶
func (b *ResourceClaimConsumerReferenceApplyConfiguration) WithUID(value types.UID) *ResourceClaimConsumerReferenceApplyConfiguration
WithUID sets the UID 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 UID field is set to the value of the last call.
type ResourceClaimSchedulingStatusApplyConfiguration ¶
type ResourceClaimSchedulingStatusApplyConfiguration struct { Name *string `json:"name,omitempty"` UnsuitableNodes []string `json:"unsuitableNodes,omitempty"` }
ResourceClaimSchedulingStatusApplyConfiguration represents a declarative configuration of the ResourceClaimSchedulingStatus type for use with apply.
func ResourceClaimSchedulingStatus ¶
func ResourceClaimSchedulingStatus() *ResourceClaimSchedulingStatusApplyConfiguration
ResourceClaimSchedulingStatusApplyConfiguration constructs a declarative configuration of the ResourceClaimSchedulingStatus type for use with apply.
func (*ResourceClaimSchedulingStatusApplyConfiguration) WithName ¶
func (b *ResourceClaimSchedulingStatusApplyConfiguration) WithName(value string) *ResourceClaimSchedulingStatusApplyConfiguration
WithName sets the Name 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 Name field is set to the value of the last call.
func (*ResourceClaimSchedulingStatusApplyConfiguration) WithUnsuitableNodes ¶
func (b *ResourceClaimSchedulingStatusApplyConfiguration) WithUnsuitableNodes(values ...string) *ResourceClaimSchedulingStatusApplyConfiguration
WithUnsuitableNodes adds the given value to the UnsuitableNodes 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 UnsuitableNodes field.
type ResourceClaimSpecApplyConfiguration ¶
type ResourceClaimSpecApplyConfiguration struct { Devices *DeviceClaimApplyConfiguration `json:"devices,omitempty"` Controller *string `json:"controller,omitempty"` }
ResourceClaimSpecApplyConfiguration represents a declarative configuration of the ResourceClaimSpec type for use with apply.
func ResourceClaimSpec ¶
func ResourceClaimSpec() *ResourceClaimSpecApplyConfiguration
ResourceClaimSpecApplyConfiguration constructs a declarative configuration of the ResourceClaimSpec type for use with apply.
func (*ResourceClaimSpecApplyConfiguration) WithController ¶
func (b *ResourceClaimSpecApplyConfiguration) WithController(value string) *ResourceClaimSpecApplyConfiguration
WithController sets the Controller 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 Controller field is set to the value of the last call.
func (*ResourceClaimSpecApplyConfiguration) WithDevices ¶
func (b *ResourceClaimSpecApplyConfiguration) WithDevices(value *DeviceClaimApplyConfiguration) *ResourceClaimSpecApplyConfiguration
WithDevices sets the Devices 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 Devices field is set to the value of the last call.
type ResourceClaimStatusApplyConfiguration ¶
type ResourceClaimStatusApplyConfiguration struct { Allocation *AllocationResultApplyConfiguration `json:"allocation,omitempty"` ReservedFor []ResourceClaimConsumerReferenceApplyConfiguration `json:"reservedFor,omitempty"` DeallocationRequested *bool `json:"deallocationRequested,omitempty"` }
ResourceClaimStatusApplyConfiguration represents a declarative configuration of the ResourceClaimStatus type for use with apply.
func ResourceClaimStatus ¶
func ResourceClaimStatus() *ResourceClaimStatusApplyConfiguration
ResourceClaimStatusApplyConfiguration constructs a declarative configuration of the ResourceClaimStatus type for use with apply.
func (*ResourceClaimStatusApplyConfiguration) WithAllocation ¶
func (b *ResourceClaimStatusApplyConfiguration) WithAllocation(value *AllocationResultApplyConfiguration) *ResourceClaimStatusApplyConfiguration
WithAllocation sets the Allocation 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 Allocation field is set to the value of the last call.
func (*ResourceClaimStatusApplyConfiguration) WithDeallocationRequested ¶
func (b *ResourceClaimStatusApplyConfiguration) WithDeallocationRequested(value bool) *ResourceClaimStatusApplyConfiguration
WithDeallocationRequested sets the DeallocationRequested 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 DeallocationRequested field is set to the value of the last call.
func (*ResourceClaimStatusApplyConfiguration) WithReservedFor ¶
func (b *ResourceClaimStatusApplyConfiguration) WithReservedFor(values ...*ResourceClaimConsumerReferenceApplyConfiguration) *ResourceClaimStatusApplyConfiguration
WithReservedFor adds the given value to the ReservedFor 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 ReservedFor field.
type ResourceClaimTemplateApplyConfiguration ¶
type ResourceClaimTemplateApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ResourceClaimTemplateSpecApplyConfiguration `json:"spec,omitempty"` }
ResourceClaimTemplateApplyConfiguration represents a declarative configuration of the ResourceClaimTemplate type for use with apply.
func ExtractResourceClaimTemplate ¶
func ExtractResourceClaimTemplate(resourceClaimTemplate *resourcev1alpha3.ResourceClaimTemplate, fieldManager string) (*ResourceClaimTemplateApplyConfiguration, error)
ExtractResourceClaimTemplate extracts the applied configuration owned by fieldManager from resourceClaimTemplate. If no managedFields are found in resourceClaimTemplate for fieldManager, a ResourceClaimTemplateApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. resourceClaimTemplate must be a unmodified ResourceClaimTemplate API object that was retrieved from the Kubernetes API. ExtractResourceClaimTemplate provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractResourceClaimTemplateStatus ¶
func ExtractResourceClaimTemplateStatus(resourceClaimTemplate *resourcev1alpha3.ResourceClaimTemplate, fieldManager string) (*ResourceClaimTemplateApplyConfiguration, error)
ExtractResourceClaimTemplateStatus is the same as ExtractResourceClaimTemplate except that it extracts the status subresource applied configuration. Experimental!
func ResourceClaimTemplate ¶
func ResourceClaimTemplate(name, namespace string) *ResourceClaimTemplateApplyConfiguration
ResourceClaimTemplate constructs a declarative configuration of the ResourceClaimTemplate type for use with apply.
func (*ResourceClaimTemplateApplyConfiguration) GetName ¶
func (b *ResourceClaimTemplateApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*ResourceClaimTemplateApplyConfiguration) WithAPIVersion ¶
func (b *ResourceClaimTemplateApplyConfiguration) WithAPIVersion(value string) *ResourceClaimTemplateApplyConfiguration
WithAPIVersion sets the APIVersion 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 APIVersion field is set to the value of the last call.
func (*ResourceClaimTemplateApplyConfiguration) WithAnnotations ¶
func (b *ResourceClaimTemplateApplyConfiguration) WithAnnotations(entries map[string]string) *ResourceClaimTemplateApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*ResourceClaimTemplateApplyConfiguration) WithCreationTimestamp ¶
func (b *ResourceClaimTemplateApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ResourceClaimTemplateApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp 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 CreationTimestamp field is set to the value of the last call.
func (*ResourceClaimTemplateApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ResourceClaimTemplateApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ResourceClaimTemplateApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds 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 DeletionGracePeriodSeconds field is set to the value of the last call.
func (*ResourceClaimTemplateApplyConfiguration) WithDeletionTimestamp ¶
func (b *ResourceClaimTemplateApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ResourceClaimTemplateApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp 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 DeletionTimestamp field is set to the value of the last call.
func (*ResourceClaimTemplateApplyConfiguration) WithFinalizers ¶
func (b *ResourceClaimTemplateApplyConfiguration) WithFinalizers(values ...string) *ResourceClaimTemplateApplyConfiguration
WithFinalizers adds the given value to the Finalizers 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 Finalizers field.
func (*ResourceClaimTemplateApplyConfiguration) WithGenerateName ¶
func (b *ResourceClaimTemplateApplyConfiguration) WithGenerateName(value string) *ResourceClaimTemplateApplyConfiguration
WithGenerateName sets the GenerateName 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 GenerateName field is set to the value of the last call.
func (*ResourceClaimTemplateApplyConfiguration) WithGeneration ¶
func (b *ResourceClaimTemplateApplyConfiguration) WithGeneration(value int64) *ResourceClaimTemplateApplyConfiguration
WithGeneration sets the Generation 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 Generation field is set to the value of the last call.
func (*ResourceClaimTemplateApplyConfiguration) WithKind ¶
func (b *ResourceClaimTemplateApplyConfiguration) WithKind(value string) *ResourceClaimTemplateApplyConfiguration
WithKind sets the Kind 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 Kind field is set to the value of the last call.
func (*ResourceClaimTemplateApplyConfiguration) WithLabels ¶
func (b *ResourceClaimTemplateApplyConfiguration) WithLabels(entries map[string]string) *ResourceClaimTemplateApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*ResourceClaimTemplateApplyConfiguration) WithName ¶
func (b *ResourceClaimTemplateApplyConfiguration) WithName(value string) *ResourceClaimTemplateApplyConfiguration
WithName sets the Name 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 Name field is set to the value of the last call.
func (*ResourceClaimTemplateApplyConfiguration) WithNamespace ¶
func (b *ResourceClaimTemplateApplyConfiguration) WithNamespace(value string) *ResourceClaimTemplateApplyConfiguration
WithNamespace sets the Namespace 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 Namespace field is set to the value of the last call.
func (*ResourceClaimTemplateApplyConfiguration) WithOwnerReferences ¶
func (b *ResourceClaimTemplateApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ResourceClaimTemplateApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences 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 OwnerReferences field.
func (*ResourceClaimTemplateApplyConfiguration) WithResourceVersion ¶
func (b *ResourceClaimTemplateApplyConfiguration) WithResourceVersion(value string) *ResourceClaimTemplateApplyConfiguration
WithResourceVersion sets the ResourceVersion 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 ResourceVersion field is set to the value of the last call.
func (*ResourceClaimTemplateApplyConfiguration) WithSpec ¶
func (b *ResourceClaimTemplateApplyConfiguration) WithSpec(value *ResourceClaimTemplateSpecApplyConfiguration) *ResourceClaimTemplateApplyConfiguration
WithSpec sets the Spec 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 Spec field is set to the value of the last call.
func (*ResourceClaimTemplateApplyConfiguration) WithUID ¶
func (b *ResourceClaimTemplateApplyConfiguration) WithUID(value types.UID) *ResourceClaimTemplateApplyConfiguration
WithUID sets the UID 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 UID field is set to the value of the last call.
type ResourceClaimTemplateSpecApplyConfiguration ¶
type ResourceClaimTemplateSpecApplyConfiguration struct { *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ResourceClaimSpecApplyConfiguration `json:"spec,omitempty"` }
ResourceClaimTemplateSpecApplyConfiguration represents a declarative configuration of the ResourceClaimTemplateSpec type for use with apply.
func ResourceClaimTemplateSpec ¶
func ResourceClaimTemplateSpec() *ResourceClaimTemplateSpecApplyConfiguration
ResourceClaimTemplateSpecApplyConfiguration constructs a declarative configuration of the ResourceClaimTemplateSpec type for use with apply.
func (*ResourceClaimTemplateSpecApplyConfiguration) GetName ¶
func (b *ResourceClaimTemplateSpecApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*ResourceClaimTemplateSpecApplyConfiguration) WithAnnotations ¶
func (b *ResourceClaimTemplateSpecApplyConfiguration) WithAnnotations(entries map[string]string) *ResourceClaimTemplateSpecApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*ResourceClaimTemplateSpecApplyConfiguration) WithCreationTimestamp ¶
func (b *ResourceClaimTemplateSpecApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ResourceClaimTemplateSpecApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp 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 CreationTimestamp field is set to the value of the last call.
func (*ResourceClaimTemplateSpecApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ResourceClaimTemplateSpecApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ResourceClaimTemplateSpecApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds 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 DeletionGracePeriodSeconds field is set to the value of the last call.
func (*ResourceClaimTemplateSpecApplyConfiguration) WithDeletionTimestamp ¶
func (b *ResourceClaimTemplateSpecApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ResourceClaimTemplateSpecApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp 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 DeletionTimestamp field is set to the value of the last call.
func (*ResourceClaimTemplateSpecApplyConfiguration) WithFinalizers ¶
func (b *ResourceClaimTemplateSpecApplyConfiguration) WithFinalizers(values ...string) *ResourceClaimTemplateSpecApplyConfiguration
WithFinalizers adds the given value to the Finalizers 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 Finalizers field.
func (*ResourceClaimTemplateSpecApplyConfiguration) WithGenerateName ¶
func (b *ResourceClaimTemplateSpecApplyConfiguration) WithGenerateName(value string) *ResourceClaimTemplateSpecApplyConfiguration
WithGenerateName sets the GenerateName 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 GenerateName field is set to the value of the last call.
func (*ResourceClaimTemplateSpecApplyConfiguration) WithGeneration ¶
func (b *ResourceClaimTemplateSpecApplyConfiguration) WithGeneration(value int64) *ResourceClaimTemplateSpecApplyConfiguration
WithGeneration sets the Generation 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 Generation field is set to the value of the last call.
func (*ResourceClaimTemplateSpecApplyConfiguration) WithLabels ¶
func (b *ResourceClaimTemplateSpecApplyConfiguration) WithLabels(entries map[string]string) *ResourceClaimTemplateSpecApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*ResourceClaimTemplateSpecApplyConfiguration) WithName ¶
func (b *ResourceClaimTemplateSpecApplyConfiguration) WithName(value string) *ResourceClaimTemplateSpecApplyConfiguration
WithName sets the Name 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 Name field is set to the value of the last call.
func (*ResourceClaimTemplateSpecApplyConfiguration) WithNamespace ¶
func (b *ResourceClaimTemplateSpecApplyConfiguration) WithNamespace(value string) *ResourceClaimTemplateSpecApplyConfiguration
WithNamespace sets the Namespace 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 Namespace field is set to the value of the last call.
func (*ResourceClaimTemplateSpecApplyConfiguration) WithOwnerReferences ¶
func (b *ResourceClaimTemplateSpecApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ResourceClaimTemplateSpecApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences 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 OwnerReferences field.
func (*ResourceClaimTemplateSpecApplyConfiguration) WithResourceVersion ¶
func (b *ResourceClaimTemplateSpecApplyConfiguration) WithResourceVersion(value string) *ResourceClaimTemplateSpecApplyConfiguration
WithResourceVersion sets the ResourceVersion 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 ResourceVersion field is set to the value of the last call.
func (*ResourceClaimTemplateSpecApplyConfiguration) WithSpec ¶
func (b *ResourceClaimTemplateSpecApplyConfiguration) WithSpec(value *ResourceClaimSpecApplyConfiguration) *ResourceClaimTemplateSpecApplyConfiguration
WithSpec sets the Spec 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 Spec field is set to the value of the last call.
func (*ResourceClaimTemplateSpecApplyConfiguration) WithUID ¶
func (b *ResourceClaimTemplateSpecApplyConfiguration) WithUID(value types.UID) *ResourceClaimTemplateSpecApplyConfiguration
WithUID sets the UID 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 UID field is set to the value of the last call.
type ResourcePoolApplyConfiguration ¶
type ResourcePoolApplyConfiguration struct { Name *string `json:"name,omitempty"` Generation *int64 `json:"generation,omitempty"` ResourceSliceCount *int64 `json:"resourceSliceCount,omitempty"` }
ResourcePoolApplyConfiguration represents a declarative configuration of the ResourcePool type for use with apply.
func ResourcePool ¶
func ResourcePool() *ResourcePoolApplyConfiguration
ResourcePoolApplyConfiguration constructs a declarative configuration of the ResourcePool type for use with apply.
func (*ResourcePoolApplyConfiguration) WithGeneration ¶
func (b *ResourcePoolApplyConfiguration) WithGeneration(value int64) *ResourcePoolApplyConfiguration
WithGeneration sets the Generation 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 Generation field is set to the value of the last call.
func (*ResourcePoolApplyConfiguration) WithName ¶
func (b *ResourcePoolApplyConfiguration) WithName(value string) *ResourcePoolApplyConfiguration
WithName sets the Name 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 Name field is set to the value of the last call.
func (*ResourcePoolApplyConfiguration) WithResourceSliceCount ¶
func (b *ResourcePoolApplyConfiguration) WithResourceSliceCount(value int64) *ResourcePoolApplyConfiguration
WithResourceSliceCount sets the ResourceSliceCount 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 ResourceSliceCount field is set to the value of the last call.
type ResourceSliceApplyConfiguration ¶
type ResourceSliceApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ResourceSliceSpecApplyConfiguration `json:"spec,omitempty"` }
ResourceSliceApplyConfiguration represents a declarative configuration of the ResourceSlice type for use with apply.
func ExtractResourceSlice ¶
func ExtractResourceSlice(resourceSlice *resourcev1alpha3.ResourceSlice, fieldManager string) (*ResourceSliceApplyConfiguration, error)
ExtractResourceSlice extracts the applied configuration owned by fieldManager from resourceSlice. If no managedFields are found in resourceSlice for fieldManager, a ResourceSliceApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. resourceSlice must be a unmodified ResourceSlice API object that was retrieved from the Kubernetes API. ExtractResourceSlice provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractResourceSliceStatus ¶
func ExtractResourceSliceStatus(resourceSlice *resourcev1alpha3.ResourceSlice, fieldManager string) (*ResourceSliceApplyConfiguration, error)
ExtractResourceSliceStatus is the same as ExtractResourceSlice except that it extracts the status subresource applied configuration. Experimental!
func ResourceSlice ¶
func ResourceSlice(name string) *ResourceSliceApplyConfiguration
ResourceSlice constructs a declarative configuration of the ResourceSlice type for use with apply.
func (*ResourceSliceApplyConfiguration) GetName ¶
func (b *ResourceSliceApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*ResourceSliceApplyConfiguration) WithAPIVersion ¶
func (b *ResourceSliceApplyConfiguration) WithAPIVersion(value string) *ResourceSliceApplyConfiguration
WithAPIVersion sets the APIVersion 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 APIVersion field is set to the value of the last call.
func (*ResourceSliceApplyConfiguration) WithAnnotations ¶
func (b *ResourceSliceApplyConfiguration) WithAnnotations(entries map[string]string) *ResourceSliceApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*ResourceSliceApplyConfiguration) WithCreationTimestamp ¶
func (b *ResourceSliceApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ResourceSliceApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp 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 CreationTimestamp field is set to the value of the last call.
func (*ResourceSliceApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ResourceSliceApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ResourceSliceApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds 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 DeletionGracePeriodSeconds field is set to the value of the last call.
func (*ResourceSliceApplyConfiguration) WithDeletionTimestamp ¶
func (b *ResourceSliceApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ResourceSliceApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp 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 DeletionTimestamp field is set to the value of the last call.
func (*ResourceSliceApplyConfiguration) WithFinalizers ¶
func (b *ResourceSliceApplyConfiguration) WithFinalizers(values ...string) *ResourceSliceApplyConfiguration
WithFinalizers adds the given value to the Finalizers 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 Finalizers field.
func (*ResourceSliceApplyConfiguration) WithGenerateName ¶
func (b *ResourceSliceApplyConfiguration) WithGenerateName(value string) *ResourceSliceApplyConfiguration
WithGenerateName sets the GenerateName 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 GenerateName field is set to the value of the last call.
func (*ResourceSliceApplyConfiguration) WithGeneration ¶
func (b *ResourceSliceApplyConfiguration) WithGeneration(value int64) *ResourceSliceApplyConfiguration
WithGeneration sets the Generation 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 Generation field is set to the value of the last call.
func (*ResourceSliceApplyConfiguration) WithKind ¶
func (b *ResourceSliceApplyConfiguration) WithKind(value string) *ResourceSliceApplyConfiguration
WithKind sets the Kind 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 Kind field is set to the value of the last call.
func (*ResourceSliceApplyConfiguration) WithLabels ¶
func (b *ResourceSliceApplyConfiguration) WithLabels(entries map[string]string) *ResourceSliceApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*ResourceSliceApplyConfiguration) WithName ¶
func (b *ResourceSliceApplyConfiguration) WithName(value string) *ResourceSliceApplyConfiguration
WithName sets the Name 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 Name field is set to the value of the last call.
func (*ResourceSliceApplyConfiguration) WithNamespace ¶
func (b *ResourceSliceApplyConfiguration) WithNamespace(value string) *ResourceSliceApplyConfiguration
WithNamespace sets the Namespace 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 Namespace field is set to the value of the last call.
func (*ResourceSliceApplyConfiguration) WithOwnerReferences ¶
func (b *ResourceSliceApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ResourceSliceApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences 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 OwnerReferences field.
func (*ResourceSliceApplyConfiguration) WithResourceVersion ¶
func (b *ResourceSliceApplyConfiguration) WithResourceVersion(value string) *ResourceSliceApplyConfiguration
WithResourceVersion sets the ResourceVersion 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 ResourceVersion field is set to the value of the last call.
func (*ResourceSliceApplyConfiguration) WithSpec ¶
func (b *ResourceSliceApplyConfiguration) WithSpec(value *ResourceSliceSpecApplyConfiguration) *ResourceSliceApplyConfiguration
WithSpec sets the Spec 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 Spec field is set to the value of the last call.
func (*ResourceSliceApplyConfiguration) WithUID ¶
func (b *ResourceSliceApplyConfiguration) WithUID(value types.UID) *ResourceSliceApplyConfiguration
WithUID sets the UID 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 UID field is set to the value of the last call.
type ResourceSliceSpecApplyConfiguration ¶
type ResourceSliceSpecApplyConfiguration struct { Driver *string `json:"driver,omitempty"` Pool *ResourcePoolApplyConfiguration `json:"pool,omitempty"` NodeName *string `json:"nodeName,omitempty"` NodeSelector *v1.NodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"` AllNodes *bool `json:"allNodes,omitempty"` Devices []DeviceApplyConfiguration `json:"devices,omitempty"` }
ResourceSliceSpecApplyConfiguration represents a declarative configuration of the ResourceSliceSpec type for use with apply.
func ResourceSliceSpec ¶
func ResourceSliceSpec() *ResourceSliceSpecApplyConfiguration
ResourceSliceSpecApplyConfiguration constructs a declarative configuration of the ResourceSliceSpec type for use with apply.
func (*ResourceSliceSpecApplyConfiguration) WithAllNodes ¶
func (b *ResourceSliceSpecApplyConfiguration) WithAllNodes(value bool) *ResourceSliceSpecApplyConfiguration
WithAllNodes sets the AllNodes 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 AllNodes field is set to the value of the last call.
func (*ResourceSliceSpecApplyConfiguration) WithDevices ¶
func (b *ResourceSliceSpecApplyConfiguration) WithDevices(values ...*DeviceApplyConfiguration) *ResourceSliceSpecApplyConfiguration
WithDevices adds the given value to the Devices 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 Devices field.
func (*ResourceSliceSpecApplyConfiguration) WithDriver ¶
func (b *ResourceSliceSpecApplyConfiguration) WithDriver(value string) *ResourceSliceSpecApplyConfiguration
WithDriver sets the Driver 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 Driver field is set to the value of the last call.
func (*ResourceSliceSpecApplyConfiguration) WithNodeName ¶
func (b *ResourceSliceSpecApplyConfiguration) WithNodeName(value string) *ResourceSliceSpecApplyConfiguration
WithNodeName sets the NodeName 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 NodeName field is set to the value of the last call.
func (*ResourceSliceSpecApplyConfiguration) WithNodeSelector ¶
func (b *ResourceSliceSpecApplyConfiguration) WithNodeSelector(value *v1.NodeSelectorApplyConfiguration) *ResourceSliceSpecApplyConfiguration
WithNodeSelector sets the NodeSelector 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 NodeSelector field is set to the value of the last call.
func (*ResourceSliceSpecApplyConfiguration) WithPool ¶
func (b *ResourceSliceSpecApplyConfiguration) WithPool(value *ResourcePoolApplyConfiguration) *ResourceSliceSpecApplyConfiguration
WithPool sets the Pool 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 Pool field is set to the value of the last call.
Source Files ¶
- allocationresult.go
- basicdevice.go
- celdeviceselector.go
- device.go
- deviceallocationconfiguration.go
- deviceallocationresult.go
- deviceattribute.go
- deviceclaim.go
- deviceclaimconfiguration.go
- deviceclass.go
- deviceclassconfiguration.go
- deviceclassspec.go
- deviceconfiguration.go
- deviceconstraint.go
- devicerequest.go
- devicerequestallocationresult.go
- deviceselector.go
- opaquedeviceconfiguration.go
- podschedulingcontext.go
- podschedulingcontextspec.go
- podschedulingcontextstatus.go
- resourceclaim.go
- resourceclaimconsumerreference.go
- resourceclaimschedulingstatus.go
- resourceclaimspec.go
- resourceclaimstatus.go
- resourceclaimtemplate.go
- resourceclaimtemplatespec.go
- resourcepool.go
- resourceslice.go
- resourceslicespec.go