Documentation
¶
Index ¶
- type AllocationClaimApplyConfiguration
- func AllocationClaim(name, namespace string) *AllocationClaimApplyConfiguration
- func ExtractAllocationClaim(allocationClaim *dasoperatorv1alpha1.AllocationClaim, fieldManager string) (*AllocationClaimApplyConfiguration, error)
- func ExtractAllocationClaimStatus(allocationClaim *dasoperatorv1alpha1.AllocationClaim, fieldManager string) (*AllocationClaimApplyConfiguration, error)
- func (b *AllocationClaimApplyConfiguration) GetName() *string
- func (b *AllocationClaimApplyConfiguration) WithAPIVersion(value string) *AllocationClaimApplyConfiguration
- func (b *AllocationClaimApplyConfiguration) WithAnnotations(entries map[string]string) *AllocationClaimApplyConfiguration
- func (b *AllocationClaimApplyConfiguration) WithCreationTimestamp(value metav1.Time) *AllocationClaimApplyConfiguration
- func (b *AllocationClaimApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *AllocationClaimApplyConfiguration
- func (b *AllocationClaimApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *AllocationClaimApplyConfiguration
- func (b *AllocationClaimApplyConfiguration) WithFinalizers(values ...string) *AllocationClaimApplyConfiguration
- func (b *AllocationClaimApplyConfiguration) WithGenerateName(value string) *AllocationClaimApplyConfiguration
- func (b *AllocationClaimApplyConfiguration) WithGeneration(value int64) *AllocationClaimApplyConfiguration
- func (b *AllocationClaimApplyConfiguration) WithKind(value string) *AllocationClaimApplyConfiguration
- func (b *AllocationClaimApplyConfiguration) WithLabels(entries map[string]string) *AllocationClaimApplyConfiguration
- func (b *AllocationClaimApplyConfiguration) WithName(value string) *AllocationClaimApplyConfiguration
- func (b *AllocationClaimApplyConfiguration) WithNamespace(value string) *AllocationClaimApplyConfiguration
- func (b *AllocationClaimApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *AllocationClaimApplyConfiguration
- func (b *AllocationClaimApplyConfiguration) WithResourceVersion(value string) *AllocationClaimApplyConfiguration
- func (b *AllocationClaimApplyConfiguration) WithSpec(value runtime.RawExtension) *AllocationClaimApplyConfiguration
- func (b *AllocationClaimApplyConfiguration) WithStatus(value *AllocationClaimStatusApplyConfiguration) *AllocationClaimApplyConfiguration
- func (b *AllocationClaimApplyConfiguration) WithUID(value types.UID) *AllocationClaimApplyConfiguration
- type AllocationClaimStatusApplyConfiguration
- type DASOperatorApplyConfiguration
- func DASOperator(name, namespace string) *DASOperatorApplyConfiguration
- func ExtractDASOperator(dASOperator *dasoperatorv1alpha1.DASOperator, fieldManager string) (*DASOperatorApplyConfiguration, error)
- func ExtractDASOperatorStatus(dASOperator *dasoperatorv1alpha1.DASOperator, fieldManager string) (*DASOperatorApplyConfiguration, error)
- func (b *DASOperatorApplyConfiguration) GetName() *string
- func (b *DASOperatorApplyConfiguration) WithAPIVersion(value string) *DASOperatorApplyConfiguration
- func (b *DASOperatorApplyConfiguration) WithAnnotations(entries map[string]string) *DASOperatorApplyConfiguration
- func (b *DASOperatorApplyConfiguration) WithCreationTimestamp(value metav1.Time) *DASOperatorApplyConfiguration
- func (b *DASOperatorApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *DASOperatorApplyConfiguration
- func (b *DASOperatorApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *DASOperatorApplyConfiguration
- func (b *DASOperatorApplyConfiguration) WithFinalizers(values ...string) *DASOperatorApplyConfiguration
- func (b *DASOperatorApplyConfiguration) WithGenerateName(value string) *DASOperatorApplyConfiguration
- func (b *DASOperatorApplyConfiguration) WithGeneration(value int64) *DASOperatorApplyConfiguration
- func (b *DASOperatorApplyConfiguration) WithKind(value string) *DASOperatorApplyConfiguration
- func (b *DASOperatorApplyConfiguration) WithLabels(entries map[string]string) *DASOperatorApplyConfiguration
- func (b *DASOperatorApplyConfiguration) WithName(value string) *DASOperatorApplyConfiguration
- func (b *DASOperatorApplyConfiguration) WithNamespace(value string) *DASOperatorApplyConfiguration
- func (b *DASOperatorApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *DASOperatorApplyConfiguration
- func (b *DASOperatorApplyConfiguration) WithResourceVersion(value string) *DASOperatorApplyConfiguration
- func (b *DASOperatorApplyConfiguration) WithSpec(value *DASOperatorSpecApplyConfiguration) *DASOperatorApplyConfiguration
- func (b *DASOperatorApplyConfiguration) WithStatus(value *DASOperatorStatusApplyConfiguration) *DASOperatorApplyConfiguration
- func (b *DASOperatorApplyConfiguration) WithUID(value types.UID) *DASOperatorApplyConfiguration
- type DASOperatorSpecApplyConfiguration
- func (b *DASOperatorSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *DASOperatorSpecApplyConfiguration
- func (b *DASOperatorSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *DASOperatorSpecApplyConfiguration
- func (b *DASOperatorSpecApplyConfiguration) WithNodeSelector(entries map[string]string) *DASOperatorSpecApplyConfiguration
- func (b *DASOperatorSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *DASOperatorSpecApplyConfiguration
- func (b *DASOperatorSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *DASOperatorSpecApplyConfiguration
- func (b *DASOperatorSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *DASOperatorSpecApplyConfiguration
- type DASOperatorStatusApplyConfiguration
- func (b *DASOperatorStatusApplyConfiguration) WithConditions(values ...*v1.OperatorConditionApplyConfiguration) *DASOperatorStatusApplyConfiguration
- func (b *DASOperatorStatusApplyConfiguration) WithGenerations(values ...*v1.GenerationStatusApplyConfiguration) *DASOperatorStatusApplyConfiguration
- func (b *DASOperatorStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *DASOperatorStatusApplyConfiguration
- func (b *DASOperatorStatusApplyConfiguration) WithObservedGeneration(value int64) *DASOperatorStatusApplyConfiguration
- func (b *DASOperatorStatusApplyConfiguration) WithReadyReplicas(value int32) *DASOperatorStatusApplyConfiguration
- func (b *DASOperatorStatusApplyConfiguration) WithVersion(value string) *DASOperatorStatusApplyConfiguration
- type NodeAcceleratorApplyConfiguration
- func ExtractNodeAccelerator(nodeAccelerator *dasoperatorv1alpha1.NodeAccelerator, fieldManager string) (*NodeAcceleratorApplyConfiguration, error)
- func ExtractNodeAcceleratorStatus(nodeAccelerator *dasoperatorv1alpha1.NodeAccelerator, fieldManager string) (*NodeAcceleratorApplyConfiguration, error)
- func NodeAccelerator(name, namespace string) *NodeAcceleratorApplyConfiguration
- func (b *NodeAcceleratorApplyConfiguration) GetName() *string
- func (b *NodeAcceleratorApplyConfiguration) WithAPIVersion(value string) *NodeAcceleratorApplyConfiguration
- func (b *NodeAcceleratorApplyConfiguration) WithAnnotations(entries map[string]string) *NodeAcceleratorApplyConfiguration
- func (b *NodeAcceleratorApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NodeAcceleratorApplyConfiguration
- func (b *NodeAcceleratorApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NodeAcceleratorApplyConfiguration
- func (b *NodeAcceleratorApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NodeAcceleratorApplyConfiguration
- func (b *NodeAcceleratorApplyConfiguration) WithFinalizers(values ...string) *NodeAcceleratorApplyConfiguration
- func (b *NodeAcceleratorApplyConfiguration) WithGenerateName(value string) *NodeAcceleratorApplyConfiguration
- func (b *NodeAcceleratorApplyConfiguration) WithGeneration(value int64) *NodeAcceleratorApplyConfiguration
- func (b *NodeAcceleratorApplyConfiguration) WithKind(value string) *NodeAcceleratorApplyConfiguration
- func (b *NodeAcceleratorApplyConfiguration) WithLabels(entries map[string]string) *NodeAcceleratorApplyConfiguration
- func (b *NodeAcceleratorApplyConfiguration) WithName(value string) *NodeAcceleratorApplyConfiguration
- func (b *NodeAcceleratorApplyConfiguration) WithNamespace(value string) *NodeAcceleratorApplyConfiguration
- func (b *NodeAcceleratorApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NodeAcceleratorApplyConfiguration
- func (b *NodeAcceleratorApplyConfiguration) WithResourceVersion(value string) *NodeAcceleratorApplyConfiguration
- func (b *NodeAcceleratorApplyConfiguration) WithSpec(value *NodeAcceleratorSpecApplyConfiguration) *NodeAcceleratorApplyConfiguration
- func (b *NodeAcceleratorApplyConfiguration) WithStatus(value *NodeAcceleratorStatusApplyConfiguration) *NodeAcceleratorApplyConfiguration
- func (b *NodeAcceleratorApplyConfiguration) WithUID(value types.UID) *NodeAcceleratorApplyConfiguration
- type NodeAcceleratorSpecApplyConfiguration
- type NodeAcceleratorStatusApplyConfiguration
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 ¶
func (b *AllocationClaimApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*AllocationClaimApplyConfiguration) WithAPIVersion ¶
func (b *AllocationClaimApplyConfiguration) WithAPIVersion(value string) *AllocationClaimApplyConfiguration
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 ¶
func (b *AllocationClaimApplyConfiguration) WithAnnotations(entries map[string]string) *AllocationClaimApplyConfiguration
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 ¶
func (b *AllocationClaimApplyConfiguration) WithCreationTimestamp(value metav1.Time) *AllocationClaimApplyConfiguration
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 ¶
func (b *AllocationClaimApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *AllocationClaimApplyConfiguration
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 ¶
func (b *AllocationClaimApplyConfiguration) WithFinalizers(values ...string) *AllocationClaimApplyConfiguration
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 ¶
func (b *AllocationClaimApplyConfiguration) WithGenerateName(value string) *AllocationClaimApplyConfiguration
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 ¶
func (b *AllocationClaimApplyConfiguration) WithGeneration(value int64) *AllocationClaimApplyConfiguration
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 ¶
func (b *AllocationClaimApplyConfiguration) WithKind(value string) *AllocationClaimApplyConfiguration
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 ¶
func (b *AllocationClaimApplyConfiguration) WithLabels(entries map[string]string) *AllocationClaimApplyConfiguration
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 ¶
func (b *AllocationClaimApplyConfiguration) WithName(value string) *AllocationClaimApplyConfiguration
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 ¶
func (b *AllocationClaimApplyConfiguration) WithNamespace(value string) *AllocationClaimApplyConfiguration
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 ¶
func (b *AllocationClaimApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *AllocationClaimApplyConfiguration
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 ¶
func (b *AllocationClaimApplyConfiguration) WithResourceVersion(value string) *AllocationClaimApplyConfiguration
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 ¶
func (b *AllocationClaimApplyConfiguration) WithSpec(value runtime.RawExtension) *AllocationClaimApplyConfiguration
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 ¶
func (b *AllocationClaimApplyConfiguration) WithStatus(value *AllocationClaimStatusApplyConfiguration) *AllocationClaimApplyConfiguration
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 ¶
func (b *AllocationClaimApplyConfiguration) WithUID(value types.UID) *AllocationClaimApplyConfiguration
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 ¶
func (b *AllocationClaimStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *AllocationClaimStatusApplyConfiguration
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 ¶
func (b *AllocationClaimStatusApplyConfiguration) WithState(value dasoperatorv1alpha1.AllocationClaimState) *AllocationClaimStatusApplyConfiguration
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 ¶
func (b *DASOperatorApplyConfiguration) WithAPIVersion(value string) *DASOperatorApplyConfiguration
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 ¶
func (b *DASOperatorApplyConfiguration) WithAnnotations(entries map[string]string) *DASOperatorApplyConfiguration
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 ¶
func (b *DASOperatorApplyConfiguration) WithCreationTimestamp(value metav1.Time) *DASOperatorApplyConfiguration
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 ¶
func (b *DASOperatorApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *DASOperatorApplyConfiguration
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 ¶
func (b *DASOperatorApplyConfiguration) WithFinalizers(values ...string) *DASOperatorApplyConfiguration
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 ¶
func (b *DASOperatorApplyConfiguration) WithGenerateName(value string) *DASOperatorApplyConfiguration
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 ¶
func (b *DASOperatorApplyConfiguration) WithGeneration(value int64) *DASOperatorApplyConfiguration
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 ¶
func (b *DASOperatorApplyConfiguration) WithKind(value string) *DASOperatorApplyConfiguration
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 ¶
func (b *DASOperatorApplyConfiguration) WithLabels(entries map[string]string) *DASOperatorApplyConfiguration
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 ¶
func (b *DASOperatorApplyConfiguration) WithName(value string) *DASOperatorApplyConfiguration
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 ¶
func (b *DASOperatorApplyConfiguration) WithNamespace(value string) *DASOperatorApplyConfiguration
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 ¶
func (b *DASOperatorApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *DASOperatorApplyConfiguration
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 ¶
func (b *DASOperatorApplyConfiguration) WithResourceVersion(value string) *DASOperatorApplyConfiguration
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 ¶
func (b *DASOperatorApplyConfiguration) WithSpec(value *DASOperatorSpecApplyConfiguration) *DASOperatorApplyConfiguration
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 ¶
func (b *DASOperatorApplyConfiguration) WithStatus(value *DASOperatorStatusApplyConfiguration) *DASOperatorApplyConfiguration
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 ¶
func (b *DASOperatorApplyConfiguration) WithUID(value types.UID) *DASOperatorApplyConfiguration
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 ¶
func (b *DASOperatorSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *DASOperatorSpecApplyConfiguration
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 ¶
func (b *DASOperatorSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *DASOperatorSpecApplyConfiguration
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 ¶
func (b *DASOperatorSpecApplyConfiguration) WithNodeSelector(entries map[string]string) *DASOperatorSpecApplyConfiguration
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 ¶
func (b *DASOperatorSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *DASOperatorSpecApplyConfiguration
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 ¶
func (b *DASOperatorSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *DASOperatorSpecApplyConfiguration
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 ¶
func (b *DASOperatorSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *DASOperatorSpecApplyConfiguration
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 ¶
func (b *DASOperatorStatusApplyConfiguration) WithConditions(values ...*v1.OperatorConditionApplyConfiguration) *DASOperatorStatusApplyConfiguration
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 ¶
func (b *DASOperatorStatusApplyConfiguration) WithGenerations(values ...*v1.GenerationStatusApplyConfiguration) *DASOperatorStatusApplyConfiguration
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 ¶
func (b *DASOperatorStatusApplyConfiguration) WithObservedGeneration(value int64) *DASOperatorStatusApplyConfiguration
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 ¶
func (b *DASOperatorStatusApplyConfiguration) WithReadyReplicas(value int32) *DASOperatorStatusApplyConfiguration
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 ¶
func (b *DASOperatorStatusApplyConfiguration) WithVersion(value string) *DASOperatorStatusApplyConfiguration
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 ¶
func (b *NodeAcceleratorApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*NodeAcceleratorApplyConfiguration) WithAPIVersion ¶
func (b *NodeAcceleratorApplyConfiguration) WithAPIVersion(value string) *NodeAcceleratorApplyConfiguration
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 ¶
func (b *NodeAcceleratorApplyConfiguration) WithAnnotations(entries map[string]string) *NodeAcceleratorApplyConfiguration
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 ¶
func (b *NodeAcceleratorApplyConfiguration) WithCreationTimestamp(value metav1.Time) *NodeAcceleratorApplyConfiguration
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 ¶
func (b *NodeAcceleratorApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *NodeAcceleratorApplyConfiguration
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 ¶
func (b *NodeAcceleratorApplyConfiguration) WithFinalizers(values ...string) *NodeAcceleratorApplyConfiguration
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 ¶
func (b *NodeAcceleratorApplyConfiguration) WithGenerateName(value string) *NodeAcceleratorApplyConfiguration
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 ¶
func (b *NodeAcceleratorApplyConfiguration) WithGeneration(value int64) *NodeAcceleratorApplyConfiguration
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 ¶
func (b *NodeAcceleratorApplyConfiguration) WithKind(value string) *NodeAcceleratorApplyConfiguration
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 ¶
func (b *NodeAcceleratorApplyConfiguration) WithLabels(entries map[string]string) *NodeAcceleratorApplyConfiguration
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 ¶
func (b *NodeAcceleratorApplyConfiguration) WithName(value string) *NodeAcceleratorApplyConfiguration
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 ¶
func (b *NodeAcceleratorApplyConfiguration) WithNamespace(value string) *NodeAcceleratorApplyConfiguration
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 ¶
func (b *NodeAcceleratorApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *NodeAcceleratorApplyConfiguration
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 ¶
func (b *NodeAcceleratorApplyConfiguration) WithResourceVersion(value string) *NodeAcceleratorApplyConfiguration
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 ¶
func (b *NodeAcceleratorApplyConfiguration) WithSpec(value *NodeAcceleratorSpecApplyConfiguration) *NodeAcceleratorApplyConfiguration
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 ¶
func (b *NodeAcceleratorApplyConfiguration) WithStatus(value *NodeAcceleratorStatusApplyConfiguration) *NodeAcceleratorApplyConfiguration
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 ¶
func (b *NodeAcceleratorApplyConfiguration) WithUID(value types.UID) *NodeAcceleratorApplyConfiguration
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 ¶
func (b *NodeAcceleratorSpecApplyConfiguration) WithAcceleratorType(value string) *NodeAcceleratorSpecApplyConfiguration
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 ¶
func (b *NodeAcceleratorStatusApplyConfiguration) WithConditions(values ...*v1.ConditionApplyConfiguration) *NodeAcceleratorStatusApplyConfiguration
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 ¶
func (b *NodeAcceleratorStatusApplyConfiguration) WithNodeResources(value runtime.RawExtension) *NodeAcceleratorStatusApplyConfiguration
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.