v1alpha1

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllocationClaimApplyConfiguration

type AllocationClaimApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *runtime.RawExtension                    `json:"spec,omitempty"`
	Status                           *AllocationClaimStatusApplyConfiguration `json:"status,omitempty"`
}

AllocationClaimApplyConfiguration represents a declarative configuration of the AllocationClaim type for use with apply.

func AllocationClaim

func AllocationClaim(name, namespace string) *AllocationClaimApplyConfiguration

AllocationClaim constructs a declarative configuration of the AllocationClaim type for use with apply.

func ExtractAllocationClaim

func ExtractAllocationClaim(allocationClaim *dasoperatorv1alpha1.AllocationClaim, fieldManager string) (*AllocationClaimApplyConfiguration, error)

ExtractAllocationClaim extracts the applied configuration owned by fieldManager from allocationClaim. If no managedFields are found in allocationClaim for fieldManager, a AllocationClaimApplyConfiguration 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. allocationClaim must be a unmodified AllocationClaim API object that was retrieved from the Kubernetes API. ExtractAllocationClaim 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 ExtractAllocationClaimStatus

func ExtractAllocationClaimStatus(allocationClaim *dasoperatorv1alpha1.AllocationClaim, fieldManager string) (*AllocationClaimApplyConfiguration, error)

ExtractAllocationClaimStatus is the same as ExtractAllocationClaim except that it extracts the status subresource applied configuration. Experimental!

func (*AllocationClaimApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

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

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

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 (*AllocationClaimApplyConfiguration) 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 (*AllocationClaimApplyConfiguration) 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 (*AllocationClaimApplyConfiguration) 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 (*AllocationClaimApplyConfiguration) 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 (*AllocationClaimApplyConfiguration) 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 (*AllocationClaimApplyConfiguration) 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 (*AllocationClaimApplyConfiguration) 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 (*AllocationClaimApplyConfiguration) 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 (*AllocationClaimApplyConfiguration) 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 (*AllocationClaimApplyConfiguration) 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 (*AllocationClaimApplyConfiguration) 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 (*AllocationClaimApplyConfiguration) 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 (*AllocationClaimApplyConfiguration) 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 AllocationClaimStatusApplyConfiguration

type AllocationClaimStatusApplyConfiguration struct {
	State      *dasoperatorv1alpha1.AllocationClaimState `json:"state,omitempty"`
	Conditions []v1.ConditionApplyConfiguration          `json:"conditions,omitempty"`
}

AllocationClaimStatusApplyConfiguration represents a declarative configuration of the AllocationClaimStatus type for use with apply.

func AllocationClaimStatus

func AllocationClaimStatus() *AllocationClaimStatusApplyConfiguration

AllocationClaimStatusApplyConfiguration constructs a declarative configuration of the AllocationClaimStatus type for use with apply.

func (*AllocationClaimStatusApplyConfiguration) WithConditions

WithConditions adds the given value to the Conditions 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 Conditions field.

func (*AllocationClaimStatusApplyConfiguration) WithState

WithState sets the State field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the State field is set to the value of the last call.

type DASOperatorApplyConfiguration

type DASOperatorApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *DASOperatorSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *DASOperatorStatusApplyConfiguration `json:"status,omitempty"`
}

DASOperatorApplyConfiguration represents a declarative configuration of the DASOperator type for use with apply.

func DASOperator

func DASOperator(name, namespace string) *DASOperatorApplyConfiguration

DASOperator constructs a declarative configuration of the DASOperator type for use with apply.

func ExtractDASOperator

func ExtractDASOperator(dASOperator *dasoperatorv1alpha1.DASOperator, fieldManager string) (*DASOperatorApplyConfiguration, error)

ExtractDASOperator extracts the applied configuration owned by fieldManager from dASOperator. If no managedFields are found in dASOperator for fieldManager, a DASOperatorApplyConfiguration 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. dASOperator must be a unmodified DASOperator API object that was retrieved from the Kubernetes API. ExtractDASOperator 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 ExtractDASOperatorStatus

func ExtractDASOperatorStatus(dASOperator *dasoperatorv1alpha1.DASOperator, fieldManager string) (*DASOperatorApplyConfiguration, error)

ExtractDASOperatorStatus is the same as ExtractDASOperator except that it extracts the status subresource applied configuration. Experimental!

func (*DASOperatorApplyConfiguration) GetName

func (b *DASOperatorApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

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

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

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 (*DASOperatorApplyConfiguration) 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 (*DASOperatorApplyConfiguration) 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 (*DASOperatorApplyConfiguration) 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 (*DASOperatorApplyConfiguration) 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 (*DASOperatorApplyConfiguration) 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 (*DASOperatorApplyConfiguration) 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 (*DASOperatorApplyConfiguration) 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 (*DASOperatorApplyConfiguration) 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 (*DASOperatorApplyConfiguration) 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 (*DASOperatorApplyConfiguration) 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 (*DASOperatorApplyConfiguration) 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 (*DASOperatorApplyConfiguration) 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 (*DASOperatorApplyConfiguration) 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 DASOperatorSpecApplyConfiguration

type DASOperatorSpecApplyConfiguration struct {
	v1.OperatorSpecApplyConfiguration `json:",inline"`
	NodeSelector                      map[string]string `json:"nodeSelector,omitempty"`
}

DASOperatorSpecApplyConfiguration represents a declarative configuration of the DASOperatorSpec type for use with apply.

func DASOperatorSpec

func DASOperatorSpec() *DASOperatorSpecApplyConfiguration

DASOperatorSpecApplyConfiguration constructs a declarative configuration of the DASOperatorSpec type for use with apply.

func (*DASOperatorSpecApplyConfiguration) WithLogLevel

WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.

func (*DASOperatorSpecApplyConfiguration) WithManagementState

WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.

func (*DASOperatorSpecApplyConfiguration) WithNodeSelector

WithNodeSelector puts the entries into the NodeSelector 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 NodeSelector field, overwriting an existing map entries in NodeSelector field with the same key.

func (*DASOperatorSpecApplyConfiguration) WithObservedConfig

WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.

func (*DASOperatorSpecApplyConfiguration) WithOperatorLogLevel

WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.

func (*DASOperatorSpecApplyConfiguration) WithUnsupportedConfigOverrides

WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.

type DASOperatorStatusApplyConfiguration

type DASOperatorStatusApplyConfiguration struct {
	v1.OperatorStatusApplyConfiguration `json:",inline"`
}

DASOperatorStatusApplyConfiguration represents a declarative configuration of the DASOperatorStatus type for use with apply.

func DASOperatorStatus

func DASOperatorStatus() *DASOperatorStatusApplyConfiguration

DASOperatorStatusApplyConfiguration constructs a declarative configuration of the DASOperatorStatus type for use with apply.

func (*DASOperatorStatusApplyConfiguration) WithConditions

WithConditions adds the given value to the Conditions 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 Conditions field.

func (*DASOperatorStatusApplyConfiguration) WithGenerations

WithGenerations adds the given value to the Generations 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 Generations field.

func (*DASOperatorStatusApplyConfiguration) WithLatestAvailableRevision

func (b *DASOperatorStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *DASOperatorStatusApplyConfiguration

WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.

func (*DASOperatorStatusApplyConfiguration) WithObservedGeneration

WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.

func (*DASOperatorStatusApplyConfiguration) WithReadyReplicas

WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.

func (*DASOperatorStatusApplyConfiguration) WithVersion

WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.

type NodeAcceleratorApplyConfiguration

type NodeAcceleratorApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *NodeAcceleratorSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *NodeAcceleratorStatusApplyConfiguration `json:"status,omitempty"`
}

NodeAcceleratorApplyConfiguration represents a declarative configuration of the NodeAccelerator type for use with apply.

func ExtractNodeAccelerator

func ExtractNodeAccelerator(nodeAccelerator *dasoperatorv1alpha1.NodeAccelerator, fieldManager string) (*NodeAcceleratorApplyConfiguration, error)

ExtractNodeAccelerator extracts the applied configuration owned by fieldManager from nodeAccelerator. If no managedFields are found in nodeAccelerator for fieldManager, a NodeAcceleratorApplyConfiguration 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. nodeAccelerator must be a unmodified NodeAccelerator API object that was retrieved from the Kubernetes API. ExtractNodeAccelerator 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 ExtractNodeAcceleratorStatus

func ExtractNodeAcceleratorStatus(nodeAccelerator *dasoperatorv1alpha1.NodeAccelerator, fieldManager string) (*NodeAcceleratorApplyConfiguration, error)

ExtractNodeAcceleratorStatus is the same as ExtractNodeAccelerator except that it extracts the status subresource applied configuration. Experimental!

func NodeAccelerator

func NodeAccelerator(name, namespace string) *NodeAcceleratorApplyConfiguration

NodeAccelerator constructs a declarative configuration of the NodeAccelerator type for use with apply.

func (*NodeAcceleratorApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

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

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

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 (*NodeAcceleratorApplyConfiguration) 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 (*NodeAcceleratorApplyConfiguration) 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 (*NodeAcceleratorApplyConfiguration) 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 (*NodeAcceleratorApplyConfiguration) 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 (*NodeAcceleratorApplyConfiguration) 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 (*NodeAcceleratorApplyConfiguration) 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 (*NodeAcceleratorApplyConfiguration) 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 (*NodeAcceleratorApplyConfiguration) 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 (*NodeAcceleratorApplyConfiguration) 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 (*NodeAcceleratorApplyConfiguration) 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 (*NodeAcceleratorApplyConfiguration) 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 (*NodeAcceleratorApplyConfiguration) 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 (*NodeAcceleratorApplyConfiguration) 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 NodeAcceleratorSpecApplyConfiguration

type NodeAcceleratorSpecApplyConfiguration struct {
	AcceleratorType *string `json:"acceleratorType,omitempty"`
}

NodeAcceleratorSpecApplyConfiguration represents a declarative configuration of the NodeAcceleratorSpec type for use with apply.

func NodeAcceleratorSpec

func NodeAcceleratorSpec() *NodeAcceleratorSpecApplyConfiguration

NodeAcceleratorSpecApplyConfiguration constructs a declarative configuration of the NodeAcceleratorSpec type for use with apply.

func (*NodeAcceleratorSpecApplyConfiguration) WithAcceleratorType

WithAcceleratorType sets the AcceleratorType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AcceleratorType field is set to the value of the last call.

type NodeAcceleratorStatusApplyConfiguration

type NodeAcceleratorStatusApplyConfiguration struct {
	Conditions    []v1.ConditionApplyConfiguration `json:"conditions,omitempty"`
	NodeResources *runtime.RawExtension            `json:"nodeResources,omitempty"`
}

NodeAcceleratorStatusApplyConfiguration represents a declarative configuration of the NodeAcceleratorStatus type for use with apply.

func NodeAcceleratorStatus

func NodeAcceleratorStatus() *NodeAcceleratorStatusApplyConfiguration

NodeAcceleratorStatusApplyConfiguration constructs a declarative configuration of the NodeAcceleratorStatus type for use with apply.

func (*NodeAcceleratorStatusApplyConfiguration) WithConditions

WithConditions adds the given value to the Conditions 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 Conditions field.

func (*NodeAcceleratorStatusApplyConfiguration) WithNodeResources

WithNodeResources sets the NodeResources field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeResources 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