v1alpha2

package
v0.30.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllocationResultApplyConfiguration

type AllocationResultApplyConfiguration struct {
	ResourceHandles  []ResourceHandleApplyConfiguration `json:"resourceHandles,omitempty"`
	AvailableOnNodes *v1.NodeSelectorApplyConfiguration `json:"availableOnNodes,omitempty"`
	Shareable        *bool                              `json:"shareable,omitempty"`
}

AllocationResultApplyConfiguration represents an declarative configuration of the AllocationResult type for use with apply.

func AllocationResult

func AllocationResult() *AllocationResultApplyConfiguration

AllocationResultApplyConfiguration constructs an declarative configuration of the AllocationResult type for use with apply.

func (*AllocationResultApplyConfiguration) WithAvailableOnNodes

WithAvailableOnNodes sets the AvailableOnNodes 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 AvailableOnNodes field is set to the value of the last call.

func (*AllocationResultApplyConfiguration) WithResourceHandles

WithResourceHandles adds the given value to the ResourceHandles 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 ResourceHandles field.

func (*AllocationResultApplyConfiguration) WithShareable

WithShareable sets the Shareable 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 Shareable field is set to the value of the last call.

type AllocationResultModelApplyConfiguration added in v0.30.0

type AllocationResultModelApplyConfiguration struct {
	NamedResources *NamedResourcesAllocationResultApplyConfiguration `json:"namedResources,omitempty"`
}

AllocationResultModelApplyConfiguration represents an declarative configuration of the AllocationResultModel type for use with apply.

func AllocationResultModel added in v0.30.0

func AllocationResultModel() *AllocationResultModelApplyConfiguration

AllocationResultModelApplyConfiguration constructs an declarative configuration of the AllocationResultModel type for use with apply.

func (*AllocationResultModelApplyConfiguration) WithNamedResources added in v0.30.0

WithNamedResources sets the NamedResources 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 NamedResources field is set to the value of the last call.

type DriverAllocationResultApplyConfiguration added in v0.30.0

type DriverAllocationResultApplyConfiguration struct {
	VendorRequestParameters                 *runtime.RawExtension `json:"vendorRequestParameters,omitempty"`
	AllocationResultModelApplyConfiguration `json:",inline"`
}

DriverAllocationResultApplyConfiguration represents an declarative configuration of the DriverAllocationResult type for use with apply.

func DriverAllocationResult added in v0.30.0

func DriverAllocationResult() *DriverAllocationResultApplyConfiguration

DriverAllocationResultApplyConfiguration constructs an declarative configuration of the DriverAllocationResult type for use with apply.

func (*DriverAllocationResultApplyConfiguration) WithNamedResources added in v0.30.0

WithNamedResources sets the NamedResources 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 NamedResources field is set to the value of the last call.

func (*DriverAllocationResultApplyConfiguration) WithVendorRequestParameters added in v0.30.0

WithVendorRequestParameters sets the VendorRequestParameters 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 VendorRequestParameters field is set to the value of the last call.

type DriverRequestsApplyConfiguration added in v0.30.0

type DriverRequestsApplyConfiguration struct {
	DriverName       *string                             `json:"driverName,omitempty"`
	VendorParameters *runtime.RawExtension               `json:"vendorParameters,omitempty"`
	Requests         []ResourceRequestApplyConfiguration `json:"requests,omitempty"`
}

DriverRequestsApplyConfiguration represents an declarative configuration of the DriverRequests type for use with apply.

func DriverRequests added in v0.30.0

func DriverRequests() *DriverRequestsApplyConfiguration

DriverRequestsApplyConfiguration constructs an declarative configuration of the DriverRequests type for use with apply.

func (*DriverRequestsApplyConfiguration) WithDriverName added in v0.30.0

WithDriverName sets the DriverName 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 DriverName field is set to the value of the last call.

func (*DriverRequestsApplyConfiguration) WithRequests added in v0.30.0

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 (*DriverRequestsApplyConfiguration) WithVendorParameters added in v0.30.0

WithVendorParameters sets the VendorParameters 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 VendorParameters field is set to the value of the last call.

type NamedResourcesAllocationResultApplyConfiguration added in v0.30.0

type NamedResourcesAllocationResultApplyConfiguration struct {
	Name *string `json:"name,omitempty"`
}

NamedResourcesAllocationResultApplyConfiguration represents an declarative configuration of the NamedResourcesAllocationResult type for use with apply.

func NamedResourcesAllocationResult added in v0.30.0

func NamedResourcesAllocationResult() *NamedResourcesAllocationResultApplyConfiguration

NamedResourcesAllocationResultApplyConfiguration constructs an declarative configuration of the NamedResourcesAllocationResult type for use with apply.

func (*NamedResourcesAllocationResultApplyConfiguration) WithName added in v0.30.0

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 NamedResourcesAttributeApplyConfiguration added in v0.30.0

type NamedResourcesAttributeApplyConfiguration struct {
	Name                                           *string `json:"name,omitempty"`
	NamedResourcesAttributeValueApplyConfiguration `json:",inline"`
}

NamedResourcesAttributeApplyConfiguration represents an declarative configuration of the NamedResourcesAttribute type for use with apply.

func NamedResourcesAttribute added in v0.30.0

func NamedResourcesAttribute() *NamedResourcesAttributeApplyConfiguration

NamedResourcesAttributeApplyConfiguration constructs an declarative configuration of the NamedResourcesAttribute type for use with apply.

func (*NamedResourcesAttributeApplyConfiguration) WithBoolValue added in v0.30.0

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 (*NamedResourcesAttributeApplyConfiguration) WithIntSliceValue added in v0.30.0

WithIntSliceValue sets the IntSliceValue 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 IntSliceValue field is set to the value of the last call.

func (*NamedResourcesAttributeApplyConfiguration) WithIntValue added in v0.30.0

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 (*NamedResourcesAttributeApplyConfiguration) WithName added in v0.30.0

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 (*NamedResourcesAttributeApplyConfiguration) WithQuantityValue added in v0.30.0

WithQuantityValue sets the QuantityValue 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 QuantityValue field is set to the value of the last call.

func (*NamedResourcesAttributeApplyConfiguration) WithStringSliceValue added in v0.30.0

WithStringSliceValue sets the StringSliceValue 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 StringSliceValue field is set to the value of the last call.

func (*NamedResourcesAttributeApplyConfiguration) WithStringValue added in v0.30.0

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 (*NamedResourcesAttributeApplyConfiguration) WithVersionValue added in v0.30.0

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 NamedResourcesAttributeValueApplyConfiguration added in v0.30.0

type NamedResourcesAttributeValueApplyConfiguration struct {
	QuantityValue    *resource.Quantity                           `json:"quantity,omitempty"`
	BoolValue        *bool                                        `json:"bool,omitempty"`
	IntValue         *int64                                       `json:"int,omitempty"`
	IntSliceValue    *NamedResourcesIntSliceApplyConfiguration    `json:"intSlice,omitempty"`
	StringValue      *string                                      `json:"string,omitempty"`
	StringSliceValue *NamedResourcesStringSliceApplyConfiguration `json:"stringSlice,omitempty"`
	VersionValue     *string                                      `json:"version,omitempty"`
}

NamedResourcesAttributeValueApplyConfiguration represents an declarative configuration of the NamedResourcesAttributeValue type for use with apply.

func NamedResourcesAttributeValue added in v0.30.0

func NamedResourcesAttributeValue() *NamedResourcesAttributeValueApplyConfiguration

NamedResourcesAttributeValueApplyConfiguration constructs an declarative configuration of the NamedResourcesAttributeValue type for use with apply.

func (*NamedResourcesAttributeValueApplyConfiguration) WithBoolValue added in v0.30.0

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 (*NamedResourcesAttributeValueApplyConfiguration) WithIntSliceValue added in v0.30.0

WithIntSliceValue sets the IntSliceValue 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 IntSliceValue field is set to the value of the last call.

func (*NamedResourcesAttributeValueApplyConfiguration) WithIntValue added in v0.30.0

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 (*NamedResourcesAttributeValueApplyConfiguration) WithQuantityValue added in v0.30.0

WithQuantityValue sets the QuantityValue 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 QuantityValue field is set to the value of the last call.

func (*NamedResourcesAttributeValueApplyConfiguration) WithStringSliceValue added in v0.30.0

WithStringSliceValue sets the StringSliceValue 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 StringSliceValue field is set to the value of the last call.

func (*NamedResourcesAttributeValueApplyConfiguration) WithStringValue added in v0.30.0

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 (*NamedResourcesAttributeValueApplyConfiguration) WithVersionValue added in v0.30.0

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 NamedResourcesFilterApplyConfiguration added in v0.30.0

type NamedResourcesFilterApplyConfiguration struct {
	Selector *string `json:"selector,omitempty"`
}

NamedResourcesFilterApplyConfiguration represents an declarative configuration of the NamedResourcesFilter type for use with apply.

func NamedResourcesFilter added in v0.30.0

func NamedResourcesFilter() *NamedResourcesFilterApplyConfiguration

NamedResourcesFilterApplyConfiguration constructs an declarative configuration of the NamedResourcesFilter type for use with apply.

func (*NamedResourcesFilterApplyConfiguration) WithSelector added in v0.30.0

WithSelector sets the Selector 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 Selector field is set to the value of the last call.

type NamedResourcesInstanceApplyConfiguration added in v0.30.0

type NamedResourcesInstanceApplyConfiguration struct {
	Name       *string                                     `json:"name,omitempty"`
	Attributes []NamedResourcesAttributeApplyConfiguration `json:"attributes,omitempty"`
}

NamedResourcesInstanceApplyConfiguration represents an declarative configuration of the NamedResourcesInstance type for use with apply.

func NamedResourcesInstance added in v0.30.0

func NamedResourcesInstance() *NamedResourcesInstanceApplyConfiguration

NamedResourcesInstanceApplyConfiguration constructs an declarative configuration of the NamedResourcesInstance type for use with apply.

func (*NamedResourcesInstanceApplyConfiguration) WithAttributes added in v0.30.0

WithAttributes adds the given value to 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, values provided by each call will be appended to the Attributes field.

func (*NamedResourcesInstanceApplyConfiguration) WithName added in v0.30.0

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 NamedResourcesIntSliceApplyConfiguration added in v0.30.0

type NamedResourcesIntSliceApplyConfiguration struct {
	Ints []int64 `json:"ints,omitempty"`
}

NamedResourcesIntSliceApplyConfiguration represents an declarative configuration of the NamedResourcesIntSlice type for use with apply.

func NamedResourcesIntSlice added in v0.30.0

func NamedResourcesIntSlice() *NamedResourcesIntSliceApplyConfiguration

NamedResourcesIntSliceApplyConfiguration constructs an declarative configuration of the NamedResourcesIntSlice type for use with apply.

func (*NamedResourcesIntSliceApplyConfiguration) WithInts added in v0.30.0

WithInts adds the given value to the Ints 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 Ints field.

type NamedResourcesRequestApplyConfiguration added in v0.30.0

type NamedResourcesRequestApplyConfiguration struct {
	Selector *string `json:"selector,omitempty"`
}

NamedResourcesRequestApplyConfiguration represents an declarative configuration of the NamedResourcesRequest type for use with apply.

func NamedResourcesRequest added in v0.30.0

func NamedResourcesRequest() *NamedResourcesRequestApplyConfiguration

NamedResourcesRequestApplyConfiguration constructs an declarative configuration of the NamedResourcesRequest type for use with apply.

func (*NamedResourcesRequestApplyConfiguration) WithSelector added in v0.30.0

WithSelector sets the Selector 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 Selector field is set to the value of the last call.

type NamedResourcesResourcesApplyConfiguration added in v0.30.0

type NamedResourcesResourcesApplyConfiguration struct {
	Instances []NamedResourcesInstanceApplyConfiguration `json:"instances,omitempty"`
}

NamedResourcesResourcesApplyConfiguration represents an declarative configuration of the NamedResourcesResources type for use with apply.

func NamedResourcesResources added in v0.30.0

func NamedResourcesResources() *NamedResourcesResourcesApplyConfiguration

NamedResourcesResourcesApplyConfiguration constructs an declarative configuration of the NamedResourcesResources type for use with apply.

func (*NamedResourcesResourcesApplyConfiguration) WithInstances added in v0.30.0

WithInstances adds the given value to the Instances 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 Instances field.

type NamedResourcesStringSliceApplyConfiguration added in v0.30.0

type NamedResourcesStringSliceApplyConfiguration struct {
	Strings []string `json:"strings,omitempty"`
}

NamedResourcesStringSliceApplyConfiguration represents an declarative configuration of the NamedResourcesStringSlice type for use with apply.

func NamedResourcesStringSlice added in v0.30.0

func NamedResourcesStringSlice() *NamedResourcesStringSliceApplyConfiguration

NamedResourcesStringSliceApplyConfiguration constructs an declarative configuration of the NamedResourcesStringSlice type for use with apply.

func (*NamedResourcesStringSliceApplyConfiguration) WithStrings added in v0.30.0

WithStrings adds the given value to the Strings 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 Strings field.

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 an declarative configuration of the PodSchedulingContext type for use with apply.

func ExtractPodSchedulingContext

func ExtractPodSchedulingContext(podSchedulingContext *resourcev1alpha2.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 *resourcev1alpha2.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 an declarative configuration of the PodSchedulingContext type for use with apply.

func (*PodSchedulingContextApplyConfiguration) WithAPIVersion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 an declarative configuration of the PodSchedulingContextSpec type for use with apply.

func PodSchedulingContextSpec

func PodSchedulingContextSpec() *PodSchedulingContextSpecApplyConfiguration

PodSchedulingContextSpecApplyConfiguration constructs an declarative configuration of the PodSchedulingContextSpec type for use with apply.

func (*PodSchedulingContextSpecApplyConfiguration) WithPotentialNodes

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

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 an declarative configuration of the PodSchedulingContextStatus type for use with apply.

func PodSchedulingContextStatus

func PodSchedulingContextStatus() *PodSchedulingContextStatusApplyConfiguration

PodSchedulingContextStatusApplyConfiguration constructs an declarative configuration of the PodSchedulingContextStatus type for use with apply.

func (*PodSchedulingContextStatusApplyConfiguration) WithResourceClaims

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 an declarative configuration of the ResourceClaim type for use with apply.

func ExtractResourceClaim

func ExtractResourceClaim(resourceClaim *resourcev1alpha2.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 *resourcev1alpha2.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 an declarative configuration of the ResourceClaim type for use with apply.

func (*ResourceClaimApplyConfiguration) WithAPIVersion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 an declarative configuration of the ResourceClaimConsumerReference type for use with apply.

func ResourceClaimConsumerReference

func ResourceClaimConsumerReference() *ResourceClaimConsumerReferenceApplyConfiguration

ResourceClaimConsumerReferenceApplyConfiguration constructs an declarative configuration of the ResourceClaimConsumerReference type for use with apply.

func (*ResourceClaimConsumerReferenceApplyConfiguration) WithAPIGroup

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

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

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

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 ResourceClaimParametersApplyConfiguration added in v0.30.0

type ResourceClaimParametersApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	GeneratedFrom                    *ResourceClaimParametersReferenceApplyConfiguration `json:"generatedFrom,omitempty"`
	Shareable                        *bool                                               `json:"shareable,omitempty"`
	DriverRequests                   []DriverRequestsApplyConfiguration                  `json:"driverRequests,omitempty"`
}

ResourceClaimParametersApplyConfiguration represents an declarative configuration of the ResourceClaimParameters type for use with apply.

func ExtractResourceClaimParameters added in v0.30.0

func ExtractResourceClaimParameters(resourceClaimParameters *resourcev1alpha2.ResourceClaimParameters, fieldManager string) (*ResourceClaimParametersApplyConfiguration, error)

ExtractResourceClaimParameters extracts the applied configuration owned by fieldManager from resourceClaimParameters. If no managedFields are found in resourceClaimParameters for fieldManager, a ResourceClaimParametersApplyConfiguration 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. resourceClaimParameters must be a unmodified ResourceClaimParameters API object that was retrieved from the Kubernetes API. ExtractResourceClaimParameters 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 ExtractResourceClaimParametersStatus added in v0.30.0

func ExtractResourceClaimParametersStatus(resourceClaimParameters *resourcev1alpha2.ResourceClaimParameters, fieldManager string) (*ResourceClaimParametersApplyConfiguration, error)

ExtractResourceClaimParametersStatus is the same as ExtractResourceClaimParameters except that it extracts the status subresource applied configuration. Experimental!

func ResourceClaimParameters added in v0.30.0

func ResourceClaimParameters(name, namespace string) *ResourceClaimParametersApplyConfiguration

ResourceClaimParameters constructs an declarative configuration of the ResourceClaimParameters type for use with apply.

func (*ResourceClaimParametersApplyConfiguration) WithAPIVersion added in v0.30.0

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 (*ResourceClaimParametersApplyConfiguration) WithAnnotations added in v0.30.0

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 (*ResourceClaimParametersApplyConfiguration) WithCreationTimestamp added in v0.30.0

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 (*ResourceClaimParametersApplyConfiguration) WithDeletionGracePeriodSeconds added in v0.30.0

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 (*ResourceClaimParametersApplyConfiguration) WithDeletionTimestamp added in v0.30.0

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 (*ResourceClaimParametersApplyConfiguration) WithDriverRequests added in v0.30.0

WithDriverRequests adds the given value to the DriverRequests 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 DriverRequests field.

func (*ResourceClaimParametersApplyConfiguration) WithFinalizers added in v0.30.0

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 (*ResourceClaimParametersApplyConfiguration) WithGenerateName added in v0.30.0

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 (*ResourceClaimParametersApplyConfiguration) WithGeneratedFrom added in v0.30.0

WithGeneratedFrom sets the GeneratedFrom 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 GeneratedFrom field is set to the value of the last call.

func (*ResourceClaimParametersApplyConfiguration) WithGeneration added in v0.30.0

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 (*ResourceClaimParametersApplyConfiguration) WithKind added in v0.30.0

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 (*ResourceClaimParametersApplyConfiguration) WithLabels added in v0.30.0

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 (*ResourceClaimParametersApplyConfiguration) WithName added in v0.30.0

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 (*ResourceClaimParametersApplyConfiguration) WithNamespace added in v0.30.0

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 (*ResourceClaimParametersApplyConfiguration) WithOwnerReferences added in v0.30.0

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 (*ResourceClaimParametersApplyConfiguration) WithResourceVersion added in v0.30.0

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 (*ResourceClaimParametersApplyConfiguration) WithShareable added in v0.30.0

WithShareable sets the Shareable 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 Shareable field is set to the value of the last call.

func (*ResourceClaimParametersApplyConfiguration) WithUID added in v0.30.0

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 ResourceClaimParametersReferenceApplyConfiguration

type ResourceClaimParametersReferenceApplyConfiguration struct {
	APIGroup *string `json:"apiGroup,omitempty"`
	Kind     *string `json:"kind,omitempty"`
	Name     *string `json:"name,omitempty"`
}

ResourceClaimParametersReferenceApplyConfiguration represents an declarative configuration of the ResourceClaimParametersReference type for use with apply.

func ResourceClaimParametersReference

func ResourceClaimParametersReference() *ResourceClaimParametersReferenceApplyConfiguration

ResourceClaimParametersReferenceApplyConfiguration constructs an declarative configuration of the ResourceClaimParametersReference type for use with apply.

func (*ResourceClaimParametersReferenceApplyConfiguration) WithAPIGroup

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 (*ResourceClaimParametersReferenceApplyConfiguration) WithKind

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 (*ResourceClaimParametersReferenceApplyConfiguration) WithName

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 ResourceClaimSchedulingStatusApplyConfiguration

type ResourceClaimSchedulingStatusApplyConfiguration struct {
	Name            *string  `json:"name,omitempty"`
	UnsuitableNodes []string `json:"unsuitableNodes,omitempty"`
}

ResourceClaimSchedulingStatusApplyConfiguration represents an declarative configuration of the ResourceClaimSchedulingStatus type for use with apply.

func ResourceClaimSchedulingStatus

func ResourceClaimSchedulingStatus() *ResourceClaimSchedulingStatusApplyConfiguration

ResourceClaimSchedulingStatusApplyConfiguration constructs an declarative configuration of the ResourceClaimSchedulingStatus type for use with apply.

func (*ResourceClaimSchedulingStatusApplyConfiguration) WithName

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

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 {
	ResourceClassName *string                                             `json:"resourceClassName,omitempty"`
	ParametersRef     *ResourceClaimParametersReferenceApplyConfiguration `json:"parametersRef,omitempty"`
	AllocationMode    *resourcev1alpha2.AllocationMode                    `json:"allocationMode,omitempty"`
}

ResourceClaimSpecApplyConfiguration represents an declarative configuration of the ResourceClaimSpec type for use with apply.

func ResourceClaimSpec

func ResourceClaimSpec() *ResourceClaimSpecApplyConfiguration

ResourceClaimSpecApplyConfiguration constructs an declarative configuration of the ResourceClaimSpec type for use with apply.

func (*ResourceClaimSpecApplyConfiguration) WithAllocationMode

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 (*ResourceClaimSpecApplyConfiguration) WithParametersRef

WithParametersRef sets the ParametersRef 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 ParametersRef field is set to the value of the last call.

func (*ResourceClaimSpecApplyConfiguration) WithResourceClassName

WithResourceClassName sets the ResourceClassName 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 ResourceClassName field is set to the value of the last call.

type ResourceClaimStatusApplyConfiguration

type ResourceClaimStatusApplyConfiguration struct {
	DriverName            *string                                            `json:"driverName,omitempty"`
	Allocation            *AllocationResultApplyConfiguration                `json:"allocation,omitempty"`
	ReservedFor           []ResourceClaimConsumerReferenceApplyConfiguration `json:"reservedFor,omitempty"`
	DeallocationRequested *bool                                              `json:"deallocationRequested,omitempty"`
}

ResourceClaimStatusApplyConfiguration represents an declarative configuration of the ResourceClaimStatus type for use with apply.

func ResourceClaimStatus

func ResourceClaimStatus() *ResourceClaimStatusApplyConfiguration

ResourceClaimStatusApplyConfiguration constructs an declarative configuration of the ResourceClaimStatus type for use with apply.

func (*ResourceClaimStatusApplyConfiguration) WithAllocation

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

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) WithDriverName

WithDriverName sets the DriverName 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 DriverName field is set to the value of the last call.

func (*ResourceClaimStatusApplyConfiguration) WithReservedFor

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 an declarative configuration of the ResourceClaimTemplate type for use with apply.

func ExtractResourceClaimTemplate

func ExtractResourceClaimTemplate(resourceClaimTemplate *resourcev1alpha2.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 *resourcev1alpha2.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 an declarative configuration of the ResourceClaimTemplate type for use with apply.

func (*ResourceClaimTemplateApplyConfiguration) WithAPIVersion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 an declarative configuration of the ResourceClaimTemplateSpec type for use with apply.

func ResourceClaimTemplateSpec

func ResourceClaimTemplateSpec() *ResourceClaimTemplateSpecApplyConfiguration

ResourceClaimTemplateSpecApplyConfiguration constructs an declarative configuration of the ResourceClaimTemplateSpec type for use with apply.

func (*ResourceClaimTemplateSpecApplyConfiguration) WithAnnotations

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

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

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

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

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

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

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

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

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

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

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

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

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

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 ResourceClassApplyConfiguration

type ResourceClassApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	DriverName                       *string                                             `json:"driverName,omitempty"`
	ParametersRef                    *ResourceClassParametersReferenceApplyConfiguration `json:"parametersRef,omitempty"`
	SuitableNodes                    *corev1.NodeSelectorApplyConfiguration              `json:"suitableNodes,omitempty"`
	StructuredParameters             *bool                                               `json:"structuredParameters,omitempty"`
}

ResourceClassApplyConfiguration represents an declarative configuration of the ResourceClass type for use with apply.

func ExtractResourceClass

func ExtractResourceClass(resourceClass *resourcev1alpha2.ResourceClass, fieldManager string) (*ResourceClassApplyConfiguration, error)

ExtractResourceClass extracts the applied configuration owned by fieldManager from resourceClass. If no managedFields are found in resourceClass for fieldManager, a ResourceClassApplyConfiguration 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. resourceClass must be a unmodified ResourceClass API object that was retrieved from the Kubernetes API. ExtractResourceClass 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 ExtractResourceClassStatus

func ExtractResourceClassStatus(resourceClass *resourcev1alpha2.ResourceClass, fieldManager string) (*ResourceClassApplyConfiguration, error)

ExtractResourceClassStatus is the same as ExtractResourceClass except that it extracts the status subresource applied configuration. Experimental!

func ResourceClass

func ResourceClass(name string) *ResourceClassApplyConfiguration

ResourceClass constructs an declarative configuration of the ResourceClass type for use with apply.

func (*ResourceClassApplyConfiguration) WithAPIVersion

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 (*ResourceClassApplyConfiguration) WithAnnotations

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 (*ResourceClassApplyConfiguration) WithCreationTimestamp

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 (*ResourceClassApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *ResourceClassApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ResourceClassApplyConfiguration

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 (*ResourceClassApplyConfiguration) WithDeletionTimestamp

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 (*ResourceClassApplyConfiguration) WithDriverName

WithDriverName sets the DriverName 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 DriverName field is set to the value of the last call.

func (*ResourceClassApplyConfiguration) WithFinalizers

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 (*ResourceClassApplyConfiguration) WithGenerateName

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 (*ResourceClassApplyConfiguration) WithGeneration

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 (*ResourceClassApplyConfiguration) WithKind

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 (*ResourceClassApplyConfiguration) WithLabels

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 (*ResourceClassApplyConfiguration) WithName

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 (*ResourceClassApplyConfiguration) WithNamespace

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 (*ResourceClassApplyConfiguration) WithOwnerReferences

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 (*ResourceClassApplyConfiguration) WithParametersRef

WithParametersRef sets the ParametersRef 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 ParametersRef field is set to the value of the last call.

func (*ResourceClassApplyConfiguration) WithResourceVersion

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 (*ResourceClassApplyConfiguration) WithStructuredParameters added in v0.30.0

func (b *ResourceClassApplyConfiguration) WithStructuredParameters(value bool) *ResourceClassApplyConfiguration

WithStructuredParameters sets the StructuredParameters 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 StructuredParameters field is set to the value of the last call.

func (*ResourceClassApplyConfiguration) WithSuitableNodes

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.

func (*ResourceClassApplyConfiguration) WithUID

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 ResourceClassParametersApplyConfiguration added in v0.30.0

type ResourceClassParametersApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	GeneratedFrom                    *ResourceClassParametersReferenceApplyConfiguration `json:"generatedFrom,omitempty"`
	VendorParameters                 []VendorParametersApplyConfiguration                `json:"vendorParameters,omitempty"`
	Filters                          []ResourceFilterApplyConfiguration                  `json:"filters,omitempty"`
}

ResourceClassParametersApplyConfiguration represents an declarative configuration of the ResourceClassParameters type for use with apply.

func ExtractResourceClassParameters added in v0.30.0

func ExtractResourceClassParameters(resourceClassParameters *resourcev1alpha2.ResourceClassParameters, fieldManager string) (*ResourceClassParametersApplyConfiguration, error)

ExtractResourceClassParameters extracts the applied configuration owned by fieldManager from resourceClassParameters. If no managedFields are found in resourceClassParameters for fieldManager, a ResourceClassParametersApplyConfiguration 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. resourceClassParameters must be a unmodified ResourceClassParameters API object that was retrieved from the Kubernetes API. ExtractResourceClassParameters 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 ExtractResourceClassParametersStatus added in v0.30.0

func ExtractResourceClassParametersStatus(resourceClassParameters *resourcev1alpha2.ResourceClassParameters, fieldManager string) (*ResourceClassParametersApplyConfiguration, error)

ExtractResourceClassParametersStatus is the same as ExtractResourceClassParameters except that it extracts the status subresource applied configuration. Experimental!

func ResourceClassParameters added in v0.30.0

func ResourceClassParameters(name, namespace string) *ResourceClassParametersApplyConfiguration

ResourceClassParameters constructs an declarative configuration of the ResourceClassParameters type for use with apply.

func (*ResourceClassParametersApplyConfiguration) WithAPIVersion added in v0.30.0

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 (*ResourceClassParametersApplyConfiguration) WithAnnotations added in v0.30.0

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 (*ResourceClassParametersApplyConfiguration) WithCreationTimestamp added in v0.30.0

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 (*ResourceClassParametersApplyConfiguration) WithDeletionGracePeriodSeconds added in v0.30.0

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 (*ResourceClassParametersApplyConfiguration) WithDeletionTimestamp added in v0.30.0

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 (*ResourceClassParametersApplyConfiguration) WithFilters added in v0.30.0

WithFilters adds the given value to the Filters 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 Filters field.

func (*ResourceClassParametersApplyConfiguration) WithFinalizers added in v0.30.0

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 (*ResourceClassParametersApplyConfiguration) WithGenerateName added in v0.30.0

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 (*ResourceClassParametersApplyConfiguration) WithGeneratedFrom added in v0.30.0

WithGeneratedFrom sets the GeneratedFrom 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 GeneratedFrom field is set to the value of the last call.

func (*ResourceClassParametersApplyConfiguration) WithGeneration added in v0.30.0

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 (*ResourceClassParametersApplyConfiguration) WithKind added in v0.30.0

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 (*ResourceClassParametersApplyConfiguration) WithLabels added in v0.30.0

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 (*ResourceClassParametersApplyConfiguration) WithName added in v0.30.0

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 (*ResourceClassParametersApplyConfiguration) WithNamespace added in v0.30.0

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 (*ResourceClassParametersApplyConfiguration) WithOwnerReferences added in v0.30.0

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 (*ResourceClassParametersApplyConfiguration) WithResourceVersion added in v0.30.0

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 (*ResourceClassParametersApplyConfiguration) WithUID added in v0.30.0

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.

func (*ResourceClassParametersApplyConfiguration) WithVendorParameters added in v0.30.0

WithVendorParameters adds the given value to the VendorParameters 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 VendorParameters field.

type ResourceClassParametersReferenceApplyConfiguration

type ResourceClassParametersReferenceApplyConfiguration struct {
	APIGroup  *string `json:"apiGroup,omitempty"`
	Kind      *string `json:"kind,omitempty"`
	Name      *string `json:"name,omitempty"`
	Namespace *string `json:"namespace,omitempty"`
}

ResourceClassParametersReferenceApplyConfiguration represents an declarative configuration of the ResourceClassParametersReference type for use with apply.

func ResourceClassParametersReference

func ResourceClassParametersReference() *ResourceClassParametersReferenceApplyConfiguration

ResourceClassParametersReferenceApplyConfiguration constructs an declarative configuration of the ResourceClassParametersReference type for use with apply.

func (*ResourceClassParametersReferenceApplyConfiguration) WithAPIGroup

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 (*ResourceClassParametersReferenceApplyConfiguration) WithKind

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 (*ResourceClassParametersReferenceApplyConfiguration) WithName

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 (*ResourceClassParametersReferenceApplyConfiguration) WithNamespace

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.

type ResourceFilterApplyConfiguration added in v0.30.0

type ResourceFilterApplyConfiguration struct {
	DriverName                            *string `json:"driverName,omitempty"`
	ResourceFilterModelApplyConfiguration `json:",inline"`
}

ResourceFilterApplyConfiguration represents an declarative configuration of the ResourceFilter type for use with apply.

func ResourceFilter added in v0.30.0

func ResourceFilter() *ResourceFilterApplyConfiguration

ResourceFilterApplyConfiguration constructs an declarative configuration of the ResourceFilter type for use with apply.

func (*ResourceFilterApplyConfiguration) WithDriverName added in v0.30.0

WithDriverName sets the DriverName 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 DriverName field is set to the value of the last call.

func (*ResourceFilterApplyConfiguration) WithNamedResources added in v0.30.0

WithNamedResources sets the NamedResources 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 NamedResources field is set to the value of the last call.

type ResourceFilterModelApplyConfiguration added in v0.30.0

type ResourceFilterModelApplyConfiguration struct {
	NamedResources *NamedResourcesFilterApplyConfiguration `json:"namedResources,omitempty"`
}

ResourceFilterModelApplyConfiguration represents an declarative configuration of the ResourceFilterModel type for use with apply.

func ResourceFilterModel added in v0.30.0

func ResourceFilterModel() *ResourceFilterModelApplyConfiguration

ResourceFilterModelApplyConfiguration constructs an declarative configuration of the ResourceFilterModel type for use with apply.

func (*ResourceFilterModelApplyConfiguration) WithNamedResources added in v0.30.0

WithNamedResources sets the NamedResources 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 NamedResources field is set to the value of the last call.

type ResourceHandleApplyConfiguration

type ResourceHandleApplyConfiguration struct {
	DriverName     *string                                     `json:"driverName,omitempty"`
	Data           *string                                     `json:"data,omitempty"`
	StructuredData *StructuredResourceHandleApplyConfiguration `json:"structuredData,omitempty"`
}

ResourceHandleApplyConfiguration represents an declarative configuration of the ResourceHandle type for use with apply.

func ResourceHandle

func ResourceHandle() *ResourceHandleApplyConfiguration

ResourceHandleApplyConfiguration constructs an declarative configuration of the ResourceHandle type for use with apply.

func (*ResourceHandleApplyConfiguration) WithData

WithData sets the Data 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 Data field is set to the value of the last call.

func (*ResourceHandleApplyConfiguration) WithDriverName

WithDriverName sets the DriverName 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 DriverName field is set to the value of the last call.

func (*ResourceHandleApplyConfiguration) WithStructuredData added in v0.30.0

WithStructuredData sets the StructuredData 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 StructuredData field is set to the value of the last call.

type ResourceModelApplyConfiguration added in v0.30.0

type ResourceModelApplyConfiguration struct {
	NamedResources *NamedResourcesResourcesApplyConfiguration `json:"namedResources,omitempty"`
}

ResourceModelApplyConfiguration represents an declarative configuration of the ResourceModel type for use with apply.

func ResourceModel added in v0.30.0

func ResourceModel() *ResourceModelApplyConfiguration

ResourceModelApplyConfiguration constructs an declarative configuration of the ResourceModel type for use with apply.

func (*ResourceModelApplyConfiguration) WithNamedResources added in v0.30.0

WithNamedResources sets the NamedResources 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 NamedResources field is set to the value of the last call.

type ResourceRequestApplyConfiguration added in v0.30.0

type ResourceRequestApplyConfiguration struct {
	VendorParameters                       *runtime.RawExtension `json:"vendorParameters,omitempty"`
	ResourceRequestModelApplyConfiguration `json:",inline"`
}

ResourceRequestApplyConfiguration represents an declarative configuration of the ResourceRequest type for use with apply.

func ResourceRequest added in v0.30.0

func ResourceRequest() *ResourceRequestApplyConfiguration

ResourceRequestApplyConfiguration constructs an declarative configuration of the ResourceRequest type for use with apply.

func (*ResourceRequestApplyConfiguration) WithNamedResources added in v0.30.0

WithNamedResources sets the NamedResources 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 NamedResources field is set to the value of the last call.

func (*ResourceRequestApplyConfiguration) WithVendorParameters added in v0.30.0

WithVendorParameters sets the VendorParameters 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 VendorParameters field is set to the value of the last call.

type ResourceRequestModelApplyConfiguration added in v0.30.0

type ResourceRequestModelApplyConfiguration struct {
	NamedResources *NamedResourcesRequestApplyConfiguration `json:"namedResources,omitempty"`
}

ResourceRequestModelApplyConfiguration represents an declarative configuration of the ResourceRequestModel type for use with apply.

func ResourceRequestModel added in v0.30.0

func ResourceRequestModel() *ResourceRequestModelApplyConfiguration

ResourceRequestModelApplyConfiguration constructs an declarative configuration of the ResourceRequestModel type for use with apply.

func (*ResourceRequestModelApplyConfiguration) WithNamedResources added in v0.30.0

WithNamedResources sets the NamedResources 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 NamedResources field is set to the value of the last call.

type ResourceSliceApplyConfiguration added in v0.30.0

type ResourceSliceApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	NodeName                         *string `json:"nodeName,omitempty"`
	DriverName                       *string `json:"driverName,omitempty"`
	ResourceModelApplyConfiguration  `json:",inline"`
}

ResourceSliceApplyConfiguration represents an declarative configuration of the ResourceSlice type for use with apply.

func ExtractResourceSlice added in v0.30.0

func ExtractResourceSlice(resourceSlice *resourcev1alpha2.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 added in v0.30.0

func ExtractResourceSliceStatus(resourceSlice *resourcev1alpha2.ResourceSlice, fieldManager string) (*ResourceSliceApplyConfiguration, error)

ExtractResourceSliceStatus is the same as ExtractResourceSlice except that it extracts the status subresource applied configuration. Experimental!

func ResourceSlice added in v0.30.0

func ResourceSlice(name string) *ResourceSliceApplyConfiguration

ResourceSlice constructs an declarative configuration of the ResourceSlice type for use with apply.

func (*ResourceSliceApplyConfiguration) WithAPIVersion added in v0.30.0

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 added in v0.30.0

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 added in v0.30.0

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 added in v0.30.0

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 added in v0.30.0

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) WithDriverName added in v0.30.0

WithDriverName sets the DriverName 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 DriverName field is set to the value of the last call.

func (*ResourceSliceApplyConfiguration) WithFinalizers added in v0.30.0

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 added in v0.30.0

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 added in v0.30.0

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 added in v0.30.0

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 added in v0.30.0

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 added in v0.30.0

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) WithNamedResources added in v0.30.0

WithNamedResources sets the NamedResources 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 NamedResources field is set to the value of the last call.

func (*ResourceSliceApplyConfiguration) WithNamespace added in v0.30.0

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) WithNodeName added in v0.30.0

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 (*ResourceSliceApplyConfiguration) WithOwnerReferences added in v0.30.0

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 added in v0.30.0

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) WithUID added in v0.30.0

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 StructuredResourceHandleApplyConfiguration added in v0.30.0

type StructuredResourceHandleApplyConfiguration struct {
	VendorClassParameters *runtime.RawExtension                      `json:"vendorClassParameters,omitempty"`
	VendorClaimParameters *runtime.RawExtension                      `json:"vendorClaimParameters,omitempty"`
	NodeName              *string                                    `json:"nodeName,omitempty"`
	Results               []DriverAllocationResultApplyConfiguration `json:"results,omitempty"`
}

StructuredResourceHandleApplyConfiguration represents an declarative configuration of the StructuredResourceHandle type for use with apply.

func StructuredResourceHandle added in v0.30.0

func StructuredResourceHandle() *StructuredResourceHandleApplyConfiguration

StructuredResourceHandleApplyConfiguration constructs an declarative configuration of the StructuredResourceHandle type for use with apply.

func (*StructuredResourceHandleApplyConfiguration) WithNodeName added in v0.30.0

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 (*StructuredResourceHandleApplyConfiguration) WithResults added in v0.30.0

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.

func (*StructuredResourceHandleApplyConfiguration) WithVendorClaimParameters added in v0.30.0

WithVendorClaimParameters sets the VendorClaimParameters 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 VendorClaimParameters field is set to the value of the last call.

func (*StructuredResourceHandleApplyConfiguration) WithVendorClassParameters added in v0.30.0

WithVendorClassParameters sets the VendorClassParameters 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 VendorClassParameters field is set to the value of the last call.

type VendorParametersApplyConfiguration added in v0.30.0

type VendorParametersApplyConfiguration struct {
	DriverName *string               `json:"driverName,omitempty"`
	Parameters *runtime.RawExtension `json:"parameters,omitempty"`
}

VendorParametersApplyConfiguration represents an declarative configuration of the VendorParameters type for use with apply.

func VendorParameters added in v0.30.0

func VendorParameters() *VendorParametersApplyConfiguration

VendorParametersApplyConfiguration constructs an declarative configuration of the VendorParameters type for use with apply.

func (*VendorParametersApplyConfiguration) WithDriverName added in v0.30.0

WithDriverName sets the DriverName 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 DriverName field is set to the value of the last call.

func (*VendorParametersApplyConfiguration) WithParameters added in v0.30.0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL