Documentation ¶
Index ¶
- type AffinityApplyConfiguration
- type ClusterApplyConfiguration
- type GuaranteeApplyConfiguration
- type NodeGroupAffinityApplyConfiguration
- func (b *NodeGroupAffinityApplyConfiguration) WithPreferredDuringSchedulingIgnoredDuringExecution(values ...string) *NodeGroupAffinityApplyConfiguration
- func (b *NodeGroupAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution(values ...string) *NodeGroupAffinityApplyConfiguration
- type NodeGroupAntiAffinityApplyConfiguration
- func (b *NodeGroupAntiAffinityApplyConfiguration) WithPreferredDuringSchedulingIgnoredDuringExecution(values ...string) *NodeGroupAntiAffinityApplyConfiguration
- func (b *NodeGroupAntiAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution(values ...string) *NodeGroupAntiAffinityApplyConfiguration
- type PodGroupApplyConfiguration
- func (b *PodGroupApplyConfiguration) WithAPIVersion(value string) *PodGroupApplyConfiguration
- func (b *PodGroupApplyConfiguration) WithAnnotations(entries map[string]string) *PodGroupApplyConfiguration
- func (b *PodGroupApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PodGroupApplyConfiguration
- func (b *PodGroupApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PodGroupApplyConfiguration
- func (b *PodGroupApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PodGroupApplyConfiguration
- func (b *PodGroupApplyConfiguration) WithFinalizers(values ...string) *PodGroupApplyConfiguration
- func (b *PodGroupApplyConfiguration) WithGenerateName(value string) *PodGroupApplyConfiguration
- func (b *PodGroupApplyConfiguration) WithGeneration(value int64) *PodGroupApplyConfiguration
- func (b *PodGroupApplyConfiguration) WithKind(value string) *PodGroupApplyConfiguration
- func (b *PodGroupApplyConfiguration) WithLabels(entries map[string]string) *PodGroupApplyConfiguration
- func (b *PodGroupApplyConfiguration) WithName(value string) *PodGroupApplyConfiguration
- func (b *PodGroupApplyConfiguration) WithNamespace(value string) *PodGroupApplyConfiguration
- func (b *PodGroupApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PodGroupApplyConfiguration
- func (b *PodGroupApplyConfiguration) WithResourceVersion(value string) *PodGroupApplyConfiguration
- func (b *PodGroupApplyConfiguration) WithSpec(value *PodGroupSpecApplyConfiguration) *PodGroupApplyConfiguration
- func (b *PodGroupApplyConfiguration) WithStatus(value *PodGroupStatusApplyConfiguration) *PodGroupApplyConfiguration
- func (b *PodGroupApplyConfiguration) WithUID(value types.UID) *PodGroupApplyConfiguration
- type PodGroupConditionApplyConfiguration
- func (b *PodGroupConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *PodGroupConditionApplyConfiguration
- func (b *PodGroupConditionApplyConfiguration) WithMessage(value string) *PodGroupConditionApplyConfiguration
- func (b *PodGroupConditionApplyConfiguration) WithReason(value string) *PodGroupConditionApplyConfiguration
- func (b *PodGroupConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *PodGroupConditionApplyConfiguration
- func (b *PodGroupConditionApplyConfiguration) WithTransitionID(value string) *PodGroupConditionApplyConfiguration
- func (b *PodGroupConditionApplyConfiguration) WithType(value v1beta1.PodGroupConditionType) *PodGroupConditionApplyConfiguration
- type PodGroupSpecApplyConfiguration
- func (b *PodGroupSpecApplyConfiguration) WithMinMember(value int32) *PodGroupSpecApplyConfiguration
- func (b *PodGroupSpecApplyConfiguration) WithMinResources(value v1.ResourceList) *PodGroupSpecApplyConfiguration
- func (b *PodGroupSpecApplyConfiguration) WithMinTaskMember(entries map[string]int32) *PodGroupSpecApplyConfiguration
- func (b *PodGroupSpecApplyConfiguration) WithPriorityClassName(value string) *PodGroupSpecApplyConfiguration
- func (b *PodGroupSpecApplyConfiguration) WithQueue(value string) *PodGroupSpecApplyConfiguration
- type PodGroupStatusApplyConfiguration
- func (b *PodGroupStatusApplyConfiguration) WithConditions(values ...*PodGroupConditionApplyConfiguration) *PodGroupStatusApplyConfiguration
- func (b *PodGroupStatusApplyConfiguration) WithFailed(value int32) *PodGroupStatusApplyConfiguration
- func (b *PodGroupStatusApplyConfiguration) WithPhase(value v1beta1.PodGroupPhase) *PodGroupStatusApplyConfiguration
- func (b *PodGroupStatusApplyConfiguration) WithRunning(value int32) *PodGroupStatusApplyConfiguration
- func (b *PodGroupStatusApplyConfiguration) WithSucceeded(value int32) *PodGroupStatusApplyConfiguration
- type QueueApplyConfiguration
- func (b *QueueApplyConfiguration) WithAPIVersion(value string) *QueueApplyConfiguration
- func (b *QueueApplyConfiguration) WithAnnotations(entries map[string]string) *QueueApplyConfiguration
- func (b *QueueApplyConfiguration) WithCreationTimestamp(value metav1.Time) *QueueApplyConfiguration
- func (b *QueueApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *QueueApplyConfiguration
- func (b *QueueApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *QueueApplyConfiguration
- func (b *QueueApplyConfiguration) WithFinalizers(values ...string) *QueueApplyConfiguration
- func (b *QueueApplyConfiguration) WithGenerateName(value string) *QueueApplyConfiguration
- func (b *QueueApplyConfiguration) WithGeneration(value int64) *QueueApplyConfiguration
- func (b *QueueApplyConfiguration) WithKind(value string) *QueueApplyConfiguration
- func (b *QueueApplyConfiguration) WithLabels(entries map[string]string) *QueueApplyConfiguration
- func (b *QueueApplyConfiguration) WithName(value string) *QueueApplyConfiguration
- func (b *QueueApplyConfiguration) WithNamespace(value string) *QueueApplyConfiguration
- func (b *QueueApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *QueueApplyConfiguration
- func (b *QueueApplyConfiguration) WithResourceVersion(value string) *QueueApplyConfiguration
- func (b *QueueApplyConfiguration) WithSpec(value *QueueSpecApplyConfiguration) *QueueApplyConfiguration
- func (b *QueueApplyConfiguration) WithStatus(value *QueueStatusApplyConfiguration) *QueueApplyConfiguration
- func (b *QueueApplyConfiguration) WithUID(value types.UID) *QueueApplyConfiguration
- type QueueSpecApplyConfiguration
- func (b *QueueSpecApplyConfiguration) WithAffinity(value *AffinityApplyConfiguration) *QueueSpecApplyConfiguration
- func (b *QueueSpecApplyConfiguration) WithCapability(value v1.ResourceList) *QueueSpecApplyConfiguration
- func (b *QueueSpecApplyConfiguration) WithDeserved(value v1.ResourceList) *QueueSpecApplyConfiguration
- func (b *QueueSpecApplyConfiguration) WithExtendClusters(values ...*ClusterApplyConfiguration) *QueueSpecApplyConfiguration
- func (b *QueueSpecApplyConfiguration) WithGuarantee(value *GuaranteeApplyConfiguration) *QueueSpecApplyConfiguration
- func (b *QueueSpecApplyConfiguration) WithParent(value string) *QueueSpecApplyConfiguration
- func (b *QueueSpecApplyConfiguration) WithPriority(value int32) *QueueSpecApplyConfiguration
- func (b *QueueSpecApplyConfiguration) WithReclaimable(value bool) *QueueSpecApplyConfiguration
- func (b *QueueSpecApplyConfiguration) WithType(value string) *QueueSpecApplyConfiguration
- func (b *QueueSpecApplyConfiguration) WithWeight(value int32) *QueueSpecApplyConfiguration
- type QueueStatusApplyConfiguration
- func (b *QueueStatusApplyConfiguration) WithAllocated(value v1.ResourceList) *QueueStatusApplyConfiguration
- func (b *QueueStatusApplyConfiguration) WithCompleted(value int32) *QueueStatusApplyConfiguration
- func (b *QueueStatusApplyConfiguration) WithInqueue(value int32) *QueueStatusApplyConfiguration
- func (b *QueueStatusApplyConfiguration) WithPending(value int32) *QueueStatusApplyConfiguration
- func (b *QueueStatusApplyConfiguration) WithReservation(value *ReservationApplyConfiguration) *QueueStatusApplyConfiguration
- func (b *QueueStatusApplyConfiguration) WithRunning(value int32) *QueueStatusApplyConfiguration
- func (b *QueueStatusApplyConfiguration) WithState(value v1beta1.QueueState) *QueueStatusApplyConfiguration
- func (b *QueueStatusApplyConfiguration) WithUnknown(value int32) *QueueStatusApplyConfiguration
- type ReservationApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AffinityApplyConfiguration ¶
type AffinityApplyConfiguration struct { NodeGroupAffinity *NodeGroupAffinityApplyConfiguration `json:"nodeGroupAffinity,omitempty"` NodeGroupAntiAffinity *NodeGroupAntiAffinityApplyConfiguration `json:"nodeGroupAntiAffinity,omitempty"` }
AffinityApplyConfiguration represents an declarative configuration of the Affinity type for use with apply.
func Affinity ¶
func Affinity() *AffinityApplyConfiguration
AffinityApplyConfiguration constructs an declarative configuration of the Affinity type for use with apply.
func (*AffinityApplyConfiguration) WithNodeGroupAffinity ¶
func (b *AffinityApplyConfiguration) WithNodeGroupAffinity(value *NodeGroupAffinityApplyConfiguration) *AffinityApplyConfiguration
WithNodeGroupAffinity sets the NodeGroupAffinity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeGroupAffinity field is set to the value of the last call.
func (*AffinityApplyConfiguration) WithNodeGroupAntiAffinity ¶
func (b *AffinityApplyConfiguration) WithNodeGroupAntiAffinity(value *NodeGroupAntiAffinityApplyConfiguration) *AffinityApplyConfiguration
WithNodeGroupAntiAffinity sets the NodeGroupAntiAffinity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeGroupAntiAffinity field is set to the value of the last call.
type ClusterApplyConfiguration ¶
type ClusterApplyConfiguration struct { Name *string `json:"name,omitempty"` Weight *int32 `json:"weight,omitempty"` Capacity *v1.ResourceList `json:"capacity,omitempty"` }
ClusterApplyConfiguration represents an declarative configuration of the Cluster type for use with apply.
func Cluster ¶
func Cluster() *ClusterApplyConfiguration
ClusterApplyConfiguration constructs an declarative configuration of the Cluster type for use with apply.
func (*ClusterApplyConfiguration) WithCapacity ¶
func (b *ClusterApplyConfiguration) WithCapacity(value v1.ResourceList) *ClusterApplyConfiguration
WithCapacity sets the Capacity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Capacity field is set to the value of the last call.
func (*ClusterApplyConfiguration) WithName ¶
func (b *ClusterApplyConfiguration) WithName(value string) *ClusterApplyConfiguration
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 (*ClusterApplyConfiguration) WithWeight ¶
func (b *ClusterApplyConfiguration) WithWeight(value int32) *ClusterApplyConfiguration
WithWeight sets the Weight field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Weight field is set to the value of the last call.
type GuaranteeApplyConfiguration ¶
type GuaranteeApplyConfiguration struct {
Resource *v1.ResourceList `json:"resource,omitempty"`
}
GuaranteeApplyConfiguration represents an declarative configuration of the Guarantee type for use with apply.
func Guarantee ¶
func Guarantee() *GuaranteeApplyConfiguration
GuaranteeApplyConfiguration constructs an declarative configuration of the Guarantee type for use with apply.
func (*GuaranteeApplyConfiguration) WithResource ¶
func (b *GuaranteeApplyConfiguration) WithResource(value v1.ResourceList) *GuaranteeApplyConfiguration
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.
type NodeGroupAffinityApplyConfiguration ¶
type NodeGroupAffinityApplyConfiguration struct { RequiredDuringSchedulingIgnoredDuringExecution []string `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` PreferredDuringSchedulingIgnoredDuringExecution []string `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` }
NodeGroupAffinityApplyConfiguration represents an declarative configuration of the NodeGroupAffinity type for use with apply.
func NodeGroupAffinity ¶
func NodeGroupAffinity() *NodeGroupAffinityApplyConfiguration
NodeGroupAffinityApplyConfiguration constructs an declarative configuration of the NodeGroupAffinity type for use with apply.
func (*NodeGroupAffinityApplyConfiguration) WithPreferredDuringSchedulingIgnoredDuringExecution ¶
func (b *NodeGroupAffinityApplyConfiguration) WithPreferredDuringSchedulingIgnoredDuringExecution(values ...string) *NodeGroupAffinityApplyConfiguration
WithPreferredDuringSchedulingIgnoredDuringExecution adds the given value to the PreferredDuringSchedulingIgnoredDuringExecution 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 PreferredDuringSchedulingIgnoredDuringExecution field.
func (*NodeGroupAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution ¶
func (b *NodeGroupAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution(values ...string) *NodeGroupAffinityApplyConfiguration
WithRequiredDuringSchedulingIgnoredDuringExecution adds the given value to the RequiredDuringSchedulingIgnoredDuringExecution 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 RequiredDuringSchedulingIgnoredDuringExecution field.
type NodeGroupAntiAffinityApplyConfiguration ¶
type NodeGroupAntiAffinityApplyConfiguration struct { RequiredDuringSchedulingIgnoredDuringExecution []string `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` PreferredDuringSchedulingIgnoredDuringExecution []string `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` }
NodeGroupAntiAffinityApplyConfiguration represents an declarative configuration of the NodeGroupAntiAffinity type for use with apply.
func NodeGroupAntiAffinity ¶
func NodeGroupAntiAffinity() *NodeGroupAntiAffinityApplyConfiguration
NodeGroupAntiAffinityApplyConfiguration constructs an declarative configuration of the NodeGroupAntiAffinity type for use with apply.
func (*NodeGroupAntiAffinityApplyConfiguration) WithPreferredDuringSchedulingIgnoredDuringExecution ¶
func (b *NodeGroupAntiAffinityApplyConfiguration) WithPreferredDuringSchedulingIgnoredDuringExecution(values ...string) *NodeGroupAntiAffinityApplyConfiguration
WithPreferredDuringSchedulingIgnoredDuringExecution adds the given value to the PreferredDuringSchedulingIgnoredDuringExecution 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 PreferredDuringSchedulingIgnoredDuringExecution field.
func (*NodeGroupAntiAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution ¶
func (b *NodeGroupAntiAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution(values ...string) *NodeGroupAntiAffinityApplyConfiguration
WithRequiredDuringSchedulingIgnoredDuringExecution adds the given value to the RequiredDuringSchedulingIgnoredDuringExecution 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 RequiredDuringSchedulingIgnoredDuringExecution field.
type PodGroupApplyConfiguration ¶
type PodGroupApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *PodGroupSpecApplyConfiguration `json:"spec,omitempty"` Status *PodGroupStatusApplyConfiguration `json:"status,omitempty"` }
PodGroupApplyConfiguration represents an declarative configuration of the PodGroup type for use with apply.
func PodGroup ¶
func PodGroup(name, namespace string) *PodGroupApplyConfiguration
PodGroup constructs an declarative configuration of the PodGroup type for use with apply.
func (*PodGroupApplyConfiguration) WithAPIVersion ¶
func (b *PodGroupApplyConfiguration) WithAPIVersion(value string) *PodGroupApplyConfiguration
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 (*PodGroupApplyConfiguration) WithAnnotations ¶
func (b *PodGroupApplyConfiguration) WithAnnotations(entries map[string]string) *PodGroupApplyConfiguration
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 (*PodGroupApplyConfiguration) WithCreationTimestamp ¶
func (b *PodGroupApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PodGroupApplyConfiguration
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 (*PodGroupApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *PodGroupApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PodGroupApplyConfiguration
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 (*PodGroupApplyConfiguration) WithDeletionTimestamp ¶
func (b *PodGroupApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PodGroupApplyConfiguration
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 (*PodGroupApplyConfiguration) WithFinalizers ¶
func (b *PodGroupApplyConfiguration) WithFinalizers(values ...string) *PodGroupApplyConfiguration
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 (*PodGroupApplyConfiguration) WithGenerateName ¶
func (b *PodGroupApplyConfiguration) WithGenerateName(value string) *PodGroupApplyConfiguration
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 (*PodGroupApplyConfiguration) WithGeneration ¶
func (b *PodGroupApplyConfiguration) WithGeneration(value int64) *PodGroupApplyConfiguration
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 (*PodGroupApplyConfiguration) WithKind ¶
func (b *PodGroupApplyConfiguration) WithKind(value string) *PodGroupApplyConfiguration
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 (*PodGroupApplyConfiguration) WithLabels ¶
func (b *PodGroupApplyConfiguration) WithLabels(entries map[string]string) *PodGroupApplyConfiguration
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 (*PodGroupApplyConfiguration) WithName ¶
func (b *PodGroupApplyConfiguration) WithName(value string) *PodGroupApplyConfiguration
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 (*PodGroupApplyConfiguration) WithNamespace ¶
func (b *PodGroupApplyConfiguration) WithNamespace(value string) *PodGroupApplyConfiguration
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 (*PodGroupApplyConfiguration) WithOwnerReferences ¶
func (b *PodGroupApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PodGroupApplyConfiguration
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 (*PodGroupApplyConfiguration) WithResourceVersion ¶
func (b *PodGroupApplyConfiguration) WithResourceVersion(value string) *PodGroupApplyConfiguration
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 (*PodGroupApplyConfiguration) WithSpec ¶
func (b *PodGroupApplyConfiguration) WithSpec(value *PodGroupSpecApplyConfiguration) *PodGroupApplyConfiguration
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 (*PodGroupApplyConfiguration) WithStatus ¶
func (b *PodGroupApplyConfiguration) WithStatus(value *PodGroupStatusApplyConfiguration) *PodGroupApplyConfiguration
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 (*PodGroupApplyConfiguration) WithUID ¶
func (b *PodGroupApplyConfiguration) WithUID(value types.UID) *PodGroupApplyConfiguration
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 PodGroupConditionApplyConfiguration ¶
type PodGroupConditionApplyConfiguration struct { Type *v1beta1.PodGroupConditionType `json:"type,omitempty"` Status *v1.ConditionStatus `json:"status,omitempty"` TransitionID *string `json:"transitionID,omitempty"` LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"` Reason *string `json:"reason,omitempty"` Message *string `json:"message,omitempty"` }
PodGroupConditionApplyConfiguration represents an declarative configuration of the PodGroupCondition type for use with apply.
func PodGroupCondition ¶
func PodGroupCondition() *PodGroupConditionApplyConfiguration
PodGroupConditionApplyConfiguration constructs an declarative configuration of the PodGroupCondition type for use with apply.
func (*PodGroupConditionApplyConfiguration) WithLastTransitionTime ¶
func (b *PodGroupConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *PodGroupConditionApplyConfiguration
WithLastTransitionTime sets the LastTransitionTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastTransitionTime field is set to the value of the last call.
func (*PodGroupConditionApplyConfiguration) WithMessage ¶
func (b *PodGroupConditionApplyConfiguration) WithMessage(value string) *PodGroupConditionApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*PodGroupConditionApplyConfiguration) WithReason ¶
func (b *PodGroupConditionApplyConfiguration) WithReason(value string) *PodGroupConditionApplyConfiguration
WithReason sets the Reason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reason field is set to the value of the last call.
func (*PodGroupConditionApplyConfiguration) WithStatus ¶
func (b *PodGroupConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *PodGroupConditionApplyConfiguration
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 (*PodGroupConditionApplyConfiguration) WithTransitionID ¶
func (b *PodGroupConditionApplyConfiguration) WithTransitionID(value string) *PodGroupConditionApplyConfiguration
WithTransitionID sets the TransitionID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TransitionID field is set to the value of the last call.
func (*PodGroupConditionApplyConfiguration) WithType ¶
func (b *PodGroupConditionApplyConfiguration) WithType(value v1beta1.PodGroupConditionType) *PodGroupConditionApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type PodGroupSpecApplyConfiguration ¶
type PodGroupSpecApplyConfiguration struct { MinMember *int32 `json:"minMember,omitempty"` MinTaskMember map[string]int32 `json:"minTaskMember,omitempty"` Queue *string `json:"queue,omitempty"` PriorityClassName *string `json:"priorityClassName,omitempty"` MinResources *v1.ResourceList `json:"minResources,omitempty"` }
PodGroupSpecApplyConfiguration represents an declarative configuration of the PodGroupSpec type for use with apply.
func PodGroupSpec ¶
func PodGroupSpec() *PodGroupSpecApplyConfiguration
PodGroupSpecApplyConfiguration constructs an declarative configuration of the PodGroupSpec type for use with apply.
func (*PodGroupSpecApplyConfiguration) WithMinMember ¶
func (b *PodGroupSpecApplyConfiguration) WithMinMember(value int32) *PodGroupSpecApplyConfiguration
WithMinMember sets the MinMember field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinMember field is set to the value of the last call.
func (*PodGroupSpecApplyConfiguration) WithMinResources ¶
func (b *PodGroupSpecApplyConfiguration) WithMinResources(value v1.ResourceList) *PodGroupSpecApplyConfiguration
WithMinResources sets the MinResources field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinResources field is set to the value of the last call.
func (*PodGroupSpecApplyConfiguration) WithMinTaskMember ¶
func (b *PodGroupSpecApplyConfiguration) WithMinTaskMember(entries map[string]int32) *PodGroupSpecApplyConfiguration
WithMinTaskMember puts the entries into the MinTaskMember 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 MinTaskMember field, overwriting an existing map entries in MinTaskMember field with the same key.
func (*PodGroupSpecApplyConfiguration) WithPriorityClassName ¶
func (b *PodGroupSpecApplyConfiguration) WithPriorityClassName(value string) *PodGroupSpecApplyConfiguration
WithPriorityClassName sets the PriorityClassName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PriorityClassName field is set to the value of the last call.
func (*PodGroupSpecApplyConfiguration) WithQueue ¶
func (b *PodGroupSpecApplyConfiguration) WithQueue(value string) *PodGroupSpecApplyConfiguration
WithQueue sets the Queue field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Queue field is set to the value of the last call.
type PodGroupStatusApplyConfiguration ¶
type PodGroupStatusApplyConfiguration struct { Phase *v1beta1.PodGroupPhase `json:"phase,omitempty"` Conditions []PodGroupConditionApplyConfiguration `json:"conditions,omitempty"` Running *int32 `json:"running,omitempty"` Succeeded *int32 `json:"succeeded,omitempty"` Failed *int32 `json:"failed,omitempty"` }
PodGroupStatusApplyConfiguration represents an declarative configuration of the PodGroupStatus type for use with apply.
func PodGroupStatus ¶
func PodGroupStatus() *PodGroupStatusApplyConfiguration
PodGroupStatusApplyConfiguration constructs an declarative configuration of the PodGroupStatus type for use with apply.
func (*PodGroupStatusApplyConfiguration) WithConditions ¶
func (b *PodGroupStatusApplyConfiguration) WithConditions(values ...*PodGroupConditionApplyConfiguration) *PodGroupStatusApplyConfiguration
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 (*PodGroupStatusApplyConfiguration) WithFailed ¶
func (b *PodGroupStatusApplyConfiguration) WithFailed(value int32) *PodGroupStatusApplyConfiguration
WithFailed sets the Failed field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Failed field is set to the value of the last call.
func (*PodGroupStatusApplyConfiguration) WithPhase ¶
func (b *PodGroupStatusApplyConfiguration) WithPhase(value v1beta1.PodGroupPhase) *PodGroupStatusApplyConfiguration
WithPhase sets the Phase field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Phase field is set to the value of the last call.
func (*PodGroupStatusApplyConfiguration) WithRunning ¶
func (b *PodGroupStatusApplyConfiguration) WithRunning(value int32) *PodGroupStatusApplyConfiguration
WithRunning sets the Running field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Running field is set to the value of the last call.
func (*PodGroupStatusApplyConfiguration) WithSucceeded ¶
func (b *PodGroupStatusApplyConfiguration) WithSucceeded(value int32) *PodGroupStatusApplyConfiguration
WithSucceeded sets the Succeeded field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Succeeded field is set to the value of the last call.
type QueueApplyConfiguration ¶
type QueueApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *QueueSpecApplyConfiguration `json:"spec,omitempty"` Status *QueueStatusApplyConfiguration `json:"status,omitempty"` }
QueueApplyConfiguration represents an declarative configuration of the Queue type for use with apply.
func Queue ¶
func Queue(name string) *QueueApplyConfiguration
Queue constructs an declarative configuration of the Queue type for use with apply.
func (*QueueApplyConfiguration) WithAPIVersion ¶
func (b *QueueApplyConfiguration) WithAPIVersion(value string) *QueueApplyConfiguration
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 (*QueueApplyConfiguration) WithAnnotations ¶
func (b *QueueApplyConfiguration) WithAnnotations(entries map[string]string) *QueueApplyConfiguration
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 (*QueueApplyConfiguration) WithCreationTimestamp ¶
func (b *QueueApplyConfiguration) WithCreationTimestamp(value metav1.Time) *QueueApplyConfiguration
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 (*QueueApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *QueueApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *QueueApplyConfiguration
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 (*QueueApplyConfiguration) WithDeletionTimestamp ¶
func (b *QueueApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *QueueApplyConfiguration
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 (*QueueApplyConfiguration) WithFinalizers ¶
func (b *QueueApplyConfiguration) WithFinalizers(values ...string) *QueueApplyConfiguration
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 (*QueueApplyConfiguration) WithGenerateName ¶
func (b *QueueApplyConfiguration) WithGenerateName(value string) *QueueApplyConfiguration
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 (*QueueApplyConfiguration) WithGeneration ¶
func (b *QueueApplyConfiguration) WithGeneration(value int64) *QueueApplyConfiguration
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 (*QueueApplyConfiguration) WithKind ¶
func (b *QueueApplyConfiguration) WithKind(value string) *QueueApplyConfiguration
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 (*QueueApplyConfiguration) WithLabels ¶
func (b *QueueApplyConfiguration) WithLabels(entries map[string]string) *QueueApplyConfiguration
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 (*QueueApplyConfiguration) WithName ¶
func (b *QueueApplyConfiguration) WithName(value string) *QueueApplyConfiguration
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 (*QueueApplyConfiguration) WithNamespace ¶
func (b *QueueApplyConfiguration) WithNamespace(value string) *QueueApplyConfiguration
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 (*QueueApplyConfiguration) WithOwnerReferences ¶
func (b *QueueApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *QueueApplyConfiguration
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 (*QueueApplyConfiguration) WithResourceVersion ¶
func (b *QueueApplyConfiguration) WithResourceVersion(value string) *QueueApplyConfiguration
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 (*QueueApplyConfiguration) WithSpec ¶
func (b *QueueApplyConfiguration) WithSpec(value *QueueSpecApplyConfiguration) *QueueApplyConfiguration
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 (*QueueApplyConfiguration) WithStatus ¶
func (b *QueueApplyConfiguration) WithStatus(value *QueueStatusApplyConfiguration) *QueueApplyConfiguration
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 (*QueueApplyConfiguration) WithUID ¶
func (b *QueueApplyConfiguration) WithUID(value types.UID) *QueueApplyConfiguration
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 QueueSpecApplyConfiguration ¶
type QueueSpecApplyConfiguration struct { Weight *int32 `json:"weight,omitempty"` Capability *v1.ResourceList `json:"capability,omitempty"` Reclaimable *bool `json:"reclaimable,omitempty"` ExtendClusters []ClusterApplyConfiguration `json:"extendClusters,omitempty"` Guarantee *GuaranteeApplyConfiguration `json:"guarantee,omitempty"` Affinity *AffinityApplyConfiguration `json:"affinity,omitempty"` Type *string `json:"type,omitempty"` Parent *string `json:"parent,omitempty"` Deserved *v1.ResourceList `json:"deserved,omitempty"` Priority *int32 `json:"priority,omitempty"` }
QueueSpecApplyConfiguration represents an declarative configuration of the QueueSpec type for use with apply.
func QueueSpec ¶
func QueueSpec() *QueueSpecApplyConfiguration
QueueSpecApplyConfiguration constructs an declarative configuration of the QueueSpec type for use with apply.
func (*QueueSpecApplyConfiguration) WithAffinity ¶
func (b *QueueSpecApplyConfiguration) WithAffinity(value *AffinityApplyConfiguration) *QueueSpecApplyConfiguration
WithAffinity sets the Affinity field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Affinity field is set to the value of the last call.
func (*QueueSpecApplyConfiguration) WithCapability ¶
func (b *QueueSpecApplyConfiguration) WithCapability(value v1.ResourceList) *QueueSpecApplyConfiguration
WithCapability sets the Capability field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Capability field is set to the value of the last call.
func (*QueueSpecApplyConfiguration) WithDeserved ¶
func (b *QueueSpecApplyConfiguration) WithDeserved(value v1.ResourceList) *QueueSpecApplyConfiguration
WithDeserved sets the Deserved field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Deserved field is set to the value of the last call.
func (*QueueSpecApplyConfiguration) WithExtendClusters ¶
func (b *QueueSpecApplyConfiguration) WithExtendClusters(values ...*ClusterApplyConfiguration) *QueueSpecApplyConfiguration
WithExtendClusters adds the given value to the ExtendClusters 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 ExtendClusters field.
func (*QueueSpecApplyConfiguration) WithGuarantee ¶
func (b *QueueSpecApplyConfiguration) WithGuarantee(value *GuaranteeApplyConfiguration) *QueueSpecApplyConfiguration
WithGuarantee sets the Guarantee field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Guarantee field is set to the value of the last call.
func (*QueueSpecApplyConfiguration) WithParent ¶
func (b *QueueSpecApplyConfiguration) WithParent(value string) *QueueSpecApplyConfiguration
WithParent sets the Parent field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Parent field is set to the value of the last call.
func (*QueueSpecApplyConfiguration) WithPriority ¶
func (b *QueueSpecApplyConfiguration) WithPriority(value int32) *QueueSpecApplyConfiguration
WithPriority sets the Priority field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Priority field is set to the value of the last call.
func (*QueueSpecApplyConfiguration) WithReclaimable ¶
func (b *QueueSpecApplyConfiguration) WithReclaimable(value bool) *QueueSpecApplyConfiguration
WithReclaimable sets the Reclaimable field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reclaimable field is set to the value of the last call.
func (*QueueSpecApplyConfiguration) WithType ¶
func (b *QueueSpecApplyConfiguration) WithType(value string) *QueueSpecApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
func (*QueueSpecApplyConfiguration) WithWeight ¶
func (b *QueueSpecApplyConfiguration) WithWeight(value int32) *QueueSpecApplyConfiguration
WithWeight sets the Weight field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Weight field is set to the value of the last call.
type QueueStatusApplyConfiguration ¶
type QueueStatusApplyConfiguration struct { State *v1beta1.QueueState `json:"state,omitempty"` Unknown *int32 `json:"unknown,omitempty"` Pending *int32 `json:"pending,omitempty"` Running *int32 `json:"running,omitempty"` Inqueue *int32 `json:"inqueue,omitempty"` Completed *int32 `json:"completed,omitempty"` Reservation *ReservationApplyConfiguration `json:"reservation,omitempty"` Allocated *v1.ResourceList `json:"allocated,omitempty"` }
QueueStatusApplyConfiguration represents an declarative configuration of the QueueStatus type for use with apply.
func QueueStatus ¶
func QueueStatus() *QueueStatusApplyConfiguration
QueueStatusApplyConfiguration constructs an declarative configuration of the QueueStatus type for use with apply.
func (*QueueStatusApplyConfiguration) WithAllocated ¶
func (b *QueueStatusApplyConfiguration) WithAllocated(value v1.ResourceList) *QueueStatusApplyConfiguration
WithAllocated sets the Allocated field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Allocated field is set to the value of the last call.
func (*QueueStatusApplyConfiguration) WithCompleted ¶
func (b *QueueStatusApplyConfiguration) WithCompleted(value int32) *QueueStatusApplyConfiguration
WithCompleted sets the Completed field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Completed field is set to the value of the last call.
func (*QueueStatusApplyConfiguration) WithInqueue ¶
func (b *QueueStatusApplyConfiguration) WithInqueue(value int32) *QueueStatusApplyConfiguration
WithInqueue sets the Inqueue field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Inqueue field is set to the value of the last call.
func (*QueueStatusApplyConfiguration) WithPending ¶
func (b *QueueStatusApplyConfiguration) WithPending(value int32) *QueueStatusApplyConfiguration
WithPending sets the Pending field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Pending field is set to the value of the last call.
func (*QueueStatusApplyConfiguration) WithReservation ¶
func (b *QueueStatusApplyConfiguration) WithReservation(value *ReservationApplyConfiguration) *QueueStatusApplyConfiguration
WithReservation sets the Reservation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reservation field is set to the value of the last call.
func (*QueueStatusApplyConfiguration) WithRunning ¶
func (b *QueueStatusApplyConfiguration) WithRunning(value int32) *QueueStatusApplyConfiguration
WithRunning sets the Running field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Running field is set to the value of the last call.
func (*QueueStatusApplyConfiguration) WithState ¶
func (b *QueueStatusApplyConfiguration) WithState(value v1beta1.QueueState) *QueueStatusApplyConfiguration
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.
func (*QueueStatusApplyConfiguration) WithUnknown ¶
func (b *QueueStatusApplyConfiguration) WithUnknown(value int32) *QueueStatusApplyConfiguration
WithUnknown sets the Unknown field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Unknown field is set to the value of the last call.
type ReservationApplyConfiguration ¶
type ReservationApplyConfiguration struct { Nodes []string `json:"nodes,omitempty"` Resource *v1.ResourceList `json:"resource,omitempty"` }
ReservationApplyConfiguration represents an declarative configuration of the Reservation type for use with apply.
func Reservation ¶
func Reservation() *ReservationApplyConfiguration
ReservationApplyConfiguration constructs an declarative configuration of the Reservation type for use with apply.
func (*ReservationApplyConfiguration) WithNodes ¶
func (b *ReservationApplyConfiguration) WithNodes(values ...string) *ReservationApplyConfiguration
WithNodes adds the given value to the Nodes 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 Nodes field.
func (*ReservationApplyConfiguration) WithResource ¶
func (b *ReservationApplyConfiguration) WithResource(value v1.ResourceList) *ReservationApplyConfiguration
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.