Documentation
¶
Index ¶
- type AdmissionApplyConfiguration
- type ClusterQueueApplyConfiguration
- func (b *ClusterQueueApplyConfiguration) WithAPIVersion(value string) *ClusterQueueApplyConfiguration
- func (b *ClusterQueueApplyConfiguration) WithAnnotations(entries map[string]string) *ClusterQueueApplyConfiguration
- func (b *ClusterQueueApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ClusterQueueApplyConfiguration
- func (b *ClusterQueueApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ClusterQueueApplyConfiguration
- func (b *ClusterQueueApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ClusterQueueApplyConfiguration
- func (b *ClusterQueueApplyConfiguration) WithFinalizers(values ...string) *ClusterQueueApplyConfiguration
- func (b *ClusterQueueApplyConfiguration) WithGenerateName(value string) *ClusterQueueApplyConfiguration
- func (b *ClusterQueueApplyConfiguration) WithGeneration(value int64) *ClusterQueueApplyConfiguration
- func (b *ClusterQueueApplyConfiguration) WithKind(value string) *ClusterQueueApplyConfiguration
- func (b *ClusterQueueApplyConfiguration) WithLabels(entries map[string]string) *ClusterQueueApplyConfiguration
- func (b *ClusterQueueApplyConfiguration) WithName(value string) *ClusterQueueApplyConfiguration
- func (b *ClusterQueueApplyConfiguration) WithNamespace(value string) *ClusterQueueApplyConfiguration
- func (b *ClusterQueueApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ClusterQueueApplyConfiguration
- func (b *ClusterQueueApplyConfiguration) WithResourceVersion(value string) *ClusterQueueApplyConfiguration
- func (b *ClusterQueueApplyConfiguration) WithSpec(value *ClusterQueueSpecApplyConfiguration) *ClusterQueueApplyConfiguration
- func (b *ClusterQueueApplyConfiguration) WithStatus(value *ClusterQueueStatusApplyConfiguration) *ClusterQueueApplyConfiguration
- func (b *ClusterQueueApplyConfiguration) WithUID(value types.UID) *ClusterQueueApplyConfiguration
- type ClusterQueuePreemptionApplyConfiguration
- type ClusterQueueSpecApplyConfiguration
- func (b *ClusterQueueSpecApplyConfiguration) WithCohort(value string) *ClusterQueueSpecApplyConfiguration
- func (b *ClusterQueueSpecApplyConfiguration) WithNamespaceSelector(value v1.LabelSelector) *ClusterQueueSpecApplyConfiguration
- func (b *ClusterQueueSpecApplyConfiguration) WithPreemption(value *ClusterQueuePreemptionApplyConfiguration) *ClusterQueueSpecApplyConfiguration
- func (b *ClusterQueueSpecApplyConfiguration) WithQueueingStrategy(value kueuev1beta1.QueueingStrategy) *ClusterQueueSpecApplyConfiguration
- func (b *ClusterQueueSpecApplyConfiguration) WithResourceGroups(values ...*ResourceGroupApplyConfiguration) *ClusterQueueSpecApplyConfiguration
- type ClusterQueueStatusApplyConfiguration
- func (b *ClusterQueueStatusApplyConfiguration) WithAdmittedWorkloads(value int32) *ClusterQueueStatusApplyConfiguration
- func (b *ClusterQueueStatusApplyConfiguration) WithConditions(values ...v1.Condition) *ClusterQueueStatusApplyConfiguration
- func (b *ClusterQueueStatusApplyConfiguration) WithFlavorsUsage(values ...*FlavorUsageApplyConfiguration) *ClusterQueueStatusApplyConfiguration
- func (b *ClusterQueueStatusApplyConfiguration) WithPendingWorkloads(value int32) *ClusterQueueStatusApplyConfiguration
- type FlavorQuotasApplyConfiguration
- type FlavorUsageApplyConfiguration
- type LocalQueueApplyConfiguration
- func (b *LocalQueueApplyConfiguration) WithAPIVersion(value string) *LocalQueueApplyConfiguration
- func (b *LocalQueueApplyConfiguration) WithAnnotations(entries map[string]string) *LocalQueueApplyConfiguration
- func (b *LocalQueueApplyConfiguration) WithCreationTimestamp(value metav1.Time) *LocalQueueApplyConfiguration
- func (b *LocalQueueApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *LocalQueueApplyConfiguration
- func (b *LocalQueueApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *LocalQueueApplyConfiguration
- func (b *LocalQueueApplyConfiguration) WithFinalizers(values ...string) *LocalQueueApplyConfiguration
- func (b *LocalQueueApplyConfiguration) WithGenerateName(value string) *LocalQueueApplyConfiguration
- func (b *LocalQueueApplyConfiguration) WithGeneration(value int64) *LocalQueueApplyConfiguration
- func (b *LocalQueueApplyConfiguration) WithKind(value string) *LocalQueueApplyConfiguration
- func (b *LocalQueueApplyConfiguration) WithLabels(entries map[string]string) *LocalQueueApplyConfiguration
- func (b *LocalQueueApplyConfiguration) WithName(value string) *LocalQueueApplyConfiguration
- func (b *LocalQueueApplyConfiguration) WithNamespace(value string) *LocalQueueApplyConfiguration
- func (b *LocalQueueApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *LocalQueueApplyConfiguration
- func (b *LocalQueueApplyConfiguration) WithResourceVersion(value string) *LocalQueueApplyConfiguration
- func (b *LocalQueueApplyConfiguration) WithSpec(value *LocalQueueSpecApplyConfiguration) *LocalQueueApplyConfiguration
- func (b *LocalQueueApplyConfiguration) WithStatus(value *LocalQueueStatusApplyConfiguration) *LocalQueueApplyConfiguration
- func (b *LocalQueueApplyConfiguration) WithUID(value types.UID) *LocalQueueApplyConfiguration
- type LocalQueueFlavorUsageApplyConfiguration
- type LocalQueueResourceUsageApplyConfiguration
- type LocalQueueSpecApplyConfiguration
- type LocalQueueStatusApplyConfiguration
- func (b *LocalQueueStatusApplyConfiguration) WithAdmittedWorkloads(value int32) *LocalQueueStatusApplyConfiguration
- func (b *LocalQueueStatusApplyConfiguration) WithConditions(values ...v1.Condition) *LocalQueueStatusApplyConfiguration
- func (b *LocalQueueStatusApplyConfiguration) WithFlavorUsage(values ...*LocalQueueFlavorUsageApplyConfiguration) *LocalQueueStatusApplyConfiguration
- func (b *LocalQueueStatusApplyConfiguration) WithPendingWorkloads(value int32) *LocalQueueStatusApplyConfiguration
- type PodSetApplyConfiguration
- func (b *PodSetApplyConfiguration) WithCount(value int32) *PodSetApplyConfiguration
- func (b *PodSetApplyConfiguration) WithMinCount(value int32) *PodSetApplyConfiguration
- func (b *PodSetApplyConfiguration) WithName(value string) *PodSetApplyConfiguration
- func (b *PodSetApplyConfiguration) WithTemplate(value v1.PodTemplateSpec) *PodSetApplyConfiguration
- type PodSetAssignmentApplyConfiguration
- func (b *PodSetAssignmentApplyConfiguration) WithCount(value int32) *PodSetAssignmentApplyConfiguration
- func (b *PodSetAssignmentApplyConfiguration) WithFlavors(entries map[v1.ResourceName]v1beta1.ResourceFlavorReference) *PodSetAssignmentApplyConfiguration
- func (b *PodSetAssignmentApplyConfiguration) WithName(value string) *PodSetAssignmentApplyConfiguration
- func (b *PodSetAssignmentApplyConfiguration) WithResourceUsage(value v1.ResourceList) *PodSetAssignmentApplyConfiguration
- type ReclaimablePodApplyConfiguration
- type ResourceFlavorApplyConfiguration
- func (b *ResourceFlavorApplyConfiguration) WithAPIVersion(value string) *ResourceFlavorApplyConfiguration
- func (b *ResourceFlavorApplyConfiguration) WithAnnotations(entries map[string]string) *ResourceFlavorApplyConfiguration
- func (b *ResourceFlavorApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ResourceFlavorApplyConfiguration
- func (b *ResourceFlavorApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ResourceFlavorApplyConfiguration
- func (b *ResourceFlavorApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ResourceFlavorApplyConfiguration
- func (b *ResourceFlavorApplyConfiguration) WithFinalizers(values ...string) *ResourceFlavorApplyConfiguration
- func (b *ResourceFlavorApplyConfiguration) WithGenerateName(value string) *ResourceFlavorApplyConfiguration
- func (b *ResourceFlavorApplyConfiguration) WithGeneration(value int64) *ResourceFlavorApplyConfiguration
- func (b *ResourceFlavorApplyConfiguration) WithKind(value string) *ResourceFlavorApplyConfiguration
- func (b *ResourceFlavorApplyConfiguration) WithLabels(entries map[string]string) *ResourceFlavorApplyConfiguration
- func (b *ResourceFlavorApplyConfiguration) WithName(value string) *ResourceFlavorApplyConfiguration
- func (b *ResourceFlavorApplyConfiguration) WithNamespace(value string) *ResourceFlavorApplyConfiguration
- func (b *ResourceFlavorApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ResourceFlavorApplyConfiguration
- func (b *ResourceFlavorApplyConfiguration) WithResourceVersion(value string) *ResourceFlavorApplyConfiguration
- func (b *ResourceFlavorApplyConfiguration) WithSpec(value *ResourceFlavorSpecApplyConfiguration) *ResourceFlavorApplyConfiguration
- func (b *ResourceFlavorApplyConfiguration) WithUID(value types.UID) *ResourceFlavorApplyConfiguration
- type ResourceFlavorSpecApplyConfiguration
- type ResourceGroupApplyConfiguration
- type ResourceQuotaApplyConfiguration
- func (b *ResourceQuotaApplyConfiguration) WithBorrowingLimit(value resource.Quantity) *ResourceQuotaApplyConfiguration
- func (b *ResourceQuotaApplyConfiguration) WithName(value v1.ResourceName) *ResourceQuotaApplyConfiguration
- func (b *ResourceQuotaApplyConfiguration) WithNominalQuota(value resource.Quantity) *ResourceQuotaApplyConfiguration
- type ResourceUsageApplyConfiguration
- func (b *ResourceUsageApplyConfiguration) WithBorrowed(value resource.Quantity) *ResourceUsageApplyConfiguration
- func (b *ResourceUsageApplyConfiguration) WithName(value v1.ResourceName) *ResourceUsageApplyConfiguration
- func (b *ResourceUsageApplyConfiguration) WithTotal(value resource.Quantity) *ResourceUsageApplyConfiguration
- type WorkloadApplyConfiguration
- func (b *WorkloadApplyConfiguration) WithAPIVersion(value string) *WorkloadApplyConfiguration
- func (b *WorkloadApplyConfiguration) WithAnnotations(entries map[string]string) *WorkloadApplyConfiguration
- func (b *WorkloadApplyConfiguration) WithCreationTimestamp(value metav1.Time) *WorkloadApplyConfiguration
- func (b *WorkloadApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *WorkloadApplyConfiguration
- func (b *WorkloadApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *WorkloadApplyConfiguration
- func (b *WorkloadApplyConfiguration) WithFinalizers(values ...string) *WorkloadApplyConfiguration
- func (b *WorkloadApplyConfiguration) WithGenerateName(value string) *WorkloadApplyConfiguration
- func (b *WorkloadApplyConfiguration) WithGeneration(value int64) *WorkloadApplyConfiguration
- func (b *WorkloadApplyConfiguration) WithKind(value string) *WorkloadApplyConfiguration
- func (b *WorkloadApplyConfiguration) WithLabels(entries map[string]string) *WorkloadApplyConfiguration
- func (b *WorkloadApplyConfiguration) WithName(value string) *WorkloadApplyConfiguration
- func (b *WorkloadApplyConfiguration) WithNamespace(value string) *WorkloadApplyConfiguration
- func (b *WorkloadApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *WorkloadApplyConfiguration
- func (b *WorkloadApplyConfiguration) WithResourceVersion(value string) *WorkloadApplyConfiguration
- func (b *WorkloadApplyConfiguration) WithSpec(value *WorkloadSpecApplyConfiguration) *WorkloadApplyConfiguration
- func (b *WorkloadApplyConfiguration) WithStatus(value *WorkloadStatusApplyConfiguration) *WorkloadApplyConfiguration
- func (b *WorkloadApplyConfiguration) WithUID(value types.UID) *WorkloadApplyConfiguration
- type WorkloadSpecApplyConfiguration
- func (b *WorkloadSpecApplyConfiguration) WithPodSets(values ...*PodSetApplyConfiguration) *WorkloadSpecApplyConfiguration
- func (b *WorkloadSpecApplyConfiguration) WithPriority(value int32) *WorkloadSpecApplyConfiguration
- func (b *WorkloadSpecApplyConfiguration) WithPriorityClassName(value string) *WorkloadSpecApplyConfiguration
- func (b *WorkloadSpecApplyConfiguration) WithQueueName(value string) *WorkloadSpecApplyConfiguration
- type WorkloadStatusApplyConfiguration
- func (b *WorkloadStatusApplyConfiguration) WithAdmission(value *AdmissionApplyConfiguration) *WorkloadStatusApplyConfiguration
- func (b *WorkloadStatusApplyConfiguration) WithConditions(values ...v1.Condition) *WorkloadStatusApplyConfiguration
- func (b *WorkloadStatusApplyConfiguration) WithReclaimablePods(values ...*ReclaimablePodApplyConfiguration) *WorkloadStatusApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdmissionApplyConfiguration ¶
type AdmissionApplyConfiguration struct { ClusterQueue *v1beta1.ClusterQueueReference `json:"clusterQueue,omitempty"` PodSetAssignments []PodSetAssignmentApplyConfiguration `json:"podSetAssignments,omitempty"` }
AdmissionApplyConfiguration represents an declarative configuration of the Admission type for use with apply.
func Admission ¶
func Admission() *AdmissionApplyConfiguration
AdmissionApplyConfiguration constructs an declarative configuration of the Admission type for use with apply.
func (*AdmissionApplyConfiguration) WithClusterQueue ¶
func (b *AdmissionApplyConfiguration) WithClusterQueue(value v1beta1.ClusterQueueReference) *AdmissionApplyConfiguration
WithClusterQueue sets the ClusterQueue field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClusterQueue field is set to the value of the last call.
func (*AdmissionApplyConfiguration) WithPodSetAssignments ¶
func (b *AdmissionApplyConfiguration) WithPodSetAssignments(values ...*PodSetAssignmentApplyConfiguration) *AdmissionApplyConfiguration
WithPodSetAssignments adds the given value to the PodSetAssignments 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 PodSetAssignments field.
type ClusterQueueApplyConfiguration ¶
type ClusterQueueApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ClusterQueueSpecApplyConfiguration `json:"spec,omitempty"` Status *ClusterQueueStatusApplyConfiguration `json:"status,omitempty"` }
ClusterQueueApplyConfiguration represents an declarative configuration of the ClusterQueue type for use with apply.
func ClusterQueue ¶
func ClusterQueue(name, namespace string) *ClusterQueueApplyConfiguration
ClusterQueue constructs an declarative configuration of the ClusterQueue type for use with apply.
func (*ClusterQueueApplyConfiguration) WithAPIVersion ¶
func (b *ClusterQueueApplyConfiguration) WithAPIVersion(value string) *ClusterQueueApplyConfiguration
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 (*ClusterQueueApplyConfiguration) WithAnnotations ¶
func (b *ClusterQueueApplyConfiguration) WithAnnotations(entries map[string]string) *ClusterQueueApplyConfiguration
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 (*ClusterQueueApplyConfiguration) WithCreationTimestamp ¶
func (b *ClusterQueueApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ClusterQueueApplyConfiguration
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 (*ClusterQueueApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ClusterQueueApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ClusterQueueApplyConfiguration
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 (*ClusterQueueApplyConfiguration) WithDeletionTimestamp ¶
func (b *ClusterQueueApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ClusterQueueApplyConfiguration
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 (*ClusterQueueApplyConfiguration) WithFinalizers ¶
func (b *ClusterQueueApplyConfiguration) WithFinalizers(values ...string) *ClusterQueueApplyConfiguration
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 (*ClusterQueueApplyConfiguration) WithGenerateName ¶
func (b *ClusterQueueApplyConfiguration) WithGenerateName(value string) *ClusterQueueApplyConfiguration
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 (*ClusterQueueApplyConfiguration) WithGeneration ¶
func (b *ClusterQueueApplyConfiguration) WithGeneration(value int64) *ClusterQueueApplyConfiguration
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 (*ClusterQueueApplyConfiguration) WithKind ¶
func (b *ClusterQueueApplyConfiguration) WithKind(value string) *ClusterQueueApplyConfiguration
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 (*ClusterQueueApplyConfiguration) WithLabels ¶
func (b *ClusterQueueApplyConfiguration) WithLabels(entries map[string]string) *ClusterQueueApplyConfiguration
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 (*ClusterQueueApplyConfiguration) WithName ¶
func (b *ClusterQueueApplyConfiguration) WithName(value string) *ClusterQueueApplyConfiguration
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 (*ClusterQueueApplyConfiguration) WithNamespace ¶
func (b *ClusterQueueApplyConfiguration) WithNamespace(value string) *ClusterQueueApplyConfiguration
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 (*ClusterQueueApplyConfiguration) WithOwnerReferences ¶
func (b *ClusterQueueApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ClusterQueueApplyConfiguration
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 (*ClusterQueueApplyConfiguration) WithResourceVersion ¶
func (b *ClusterQueueApplyConfiguration) WithResourceVersion(value string) *ClusterQueueApplyConfiguration
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 (*ClusterQueueApplyConfiguration) WithSpec ¶
func (b *ClusterQueueApplyConfiguration) WithSpec(value *ClusterQueueSpecApplyConfiguration) *ClusterQueueApplyConfiguration
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 (*ClusterQueueApplyConfiguration) WithStatus ¶
func (b *ClusterQueueApplyConfiguration) WithStatus(value *ClusterQueueStatusApplyConfiguration) *ClusterQueueApplyConfiguration
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 (*ClusterQueueApplyConfiguration) WithUID ¶
func (b *ClusterQueueApplyConfiguration) WithUID(value types.UID) *ClusterQueueApplyConfiguration
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 ClusterQueuePreemptionApplyConfiguration ¶
type ClusterQueuePreemptionApplyConfiguration struct { ReclaimWithinCohort *v1beta1.PreemptionPolicy `json:"reclaimWithinCohort,omitempty"` WithinClusterQueue *v1beta1.PreemptionPolicy `json:"withinClusterQueue,omitempty"` }
ClusterQueuePreemptionApplyConfiguration represents an declarative configuration of the ClusterQueuePreemption type for use with apply.
func ClusterQueuePreemption ¶
func ClusterQueuePreemption() *ClusterQueuePreemptionApplyConfiguration
ClusterQueuePreemptionApplyConfiguration constructs an declarative configuration of the ClusterQueuePreemption type for use with apply.
func (*ClusterQueuePreemptionApplyConfiguration) WithReclaimWithinCohort ¶
func (b *ClusterQueuePreemptionApplyConfiguration) WithReclaimWithinCohort(value v1beta1.PreemptionPolicy) *ClusterQueuePreemptionApplyConfiguration
WithReclaimWithinCohort sets the ReclaimWithinCohort field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReclaimWithinCohort field is set to the value of the last call.
func (*ClusterQueuePreemptionApplyConfiguration) WithWithinClusterQueue ¶
func (b *ClusterQueuePreemptionApplyConfiguration) WithWithinClusterQueue(value v1beta1.PreemptionPolicy) *ClusterQueuePreemptionApplyConfiguration
WithWithinClusterQueue sets the WithinClusterQueue field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the WithinClusterQueue field is set to the value of the last call.
type ClusterQueueSpecApplyConfiguration ¶
type ClusterQueueSpecApplyConfiguration struct { ResourceGroups []ResourceGroupApplyConfiguration `json:"resourceGroups,omitempty"` Cohort *string `json:"cohort,omitempty"` QueueingStrategy *kueuev1beta1.QueueingStrategy `json:"queueingStrategy,omitempty"` NamespaceSelector *v1.LabelSelector `json:"namespaceSelector,omitempty"` Preemption *ClusterQueuePreemptionApplyConfiguration `json:"preemption,omitempty"` }
ClusterQueueSpecApplyConfiguration represents an declarative configuration of the ClusterQueueSpec type for use with apply.
func ClusterQueueSpec ¶
func ClusterQueueSpec() *ClusterQueueSpecApplyConfiguration
ClusterQueueSpecApplyConfiguration constructs an declarative configuration of the ClusterQueueSpec type for use with apply.
func (*ClusterQueueSpecApplyConfiguration) WithCohort ¶
func (b *ClusterQueueSpecApplyConfiguration) WithCohort(value string) *ClusterQueueSpecApplyConfiguration
WithCohort sets the Cohort field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Cohort field is set to the value of the last call.
func (*ClusterQueueSpecApplyConfiguration) WithNamespaceSelector ¶
func (b *ClusterQueueSpecApplyConfiguration) WithNamespaceSelector(value v1.LabelSelector) *ClusterQueueSpecApplyConfiguration
WithNamespaceSelector sets the NamespaceSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NamespaceSelector field is set to the value of the last call.
func (*ClusterQueueSpecApplyConfiguration) WithPreemption ¶
func (b *ClusterQueueSpecApplyConfiguration) WithPreemption(value *ClusterQueuePreemptionApplyConfiguration) *ClusterQueueSpecApplyConfiguration
WithPreemption sets the Preemption field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Preemption field is set to the value of the last call.
func (*ClusterQueueSpecApplyConfiguration) WithQueueingStrategy ¶
func (b *ClusterQueueSpecApplyConfiguration) WithQueueingStrategy(value kueuev1beta1.QueueingStrategy) *ClusterQueueSpecApplyConfiguration
WithQueueingStrategy sets the QueueingStrategy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the QueueingStrategy field is set to the value of the last call.
func (*ClusterQueueSpecApplyConfiguration) WithResourceGroups ¶
func (b *ClusterQueueSpecApplyConfiguration) WithResourceGroups(values ...*ResourceGroupApplyConfiguration) *ClusterQueueSpecApplyConfiguration
WithResourceGroups adds the given value to the ResourceGroups 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 ResourceGroups field.
type ClusterQueueStatusApplyConfiguration ¶
type ClusterQueueStatusApplyConfiguration struct { FlavorsUsage []FlavorUsageApplyConfiguration `json:"flavorsUsage,omitempty"` PendingWorkloads *int32 `json:"pendingWorkloads,omitempty"` AdmittedWorkloads *int32 `json:"admittedWorkloads,omitempty"` Conditions []v1.Condition `json:"conditions,omitempty"` }
ClusterQueueStatusApplyConfiguration represents an declarative configuration of the ClusterQueueStatus type for use with apply.
func ClusterQueueStatus ¶
func ClusterQueueStatus() *ClusterQueueStatusApplyConfiguration
ClusterQueueStatusApplyConfiguration constructs an declarative configuration of the ClusterQueueStatus type for use with apply.
func (*ClusterQueueStatusApplyConfiguration) WithAdmittedWorkloads ¶
func (b *ClusterQueueStatusApplyConfiguration) WithAdmittedWorkloads(value int32) *ClusterQueueStatusApplyConfiguration
WithAdmittedWorkloads sets the AdmittedWorkloads field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AdmittedWorkloads field is set to the value of the last call.
func (*ClusterQueueStatusApplyConfiguration) WithConditions ¶
func (b *ClusterQueueStatusApplyConfiguration) WithConditions(values ...v1.Condition) *ClusterQueueStatusApplyConfiguration
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 (*ClusterQueueStatusApplyConfiguration) WithFlavorsUsage ¶
func (b *ClusterQueueStatusApplyConfiguration) WithFlavorsUsage(values ...*FlavorUsageApplyConfiguration) *ClusterQueueStatusApplyConfiguration
WithFlavorsUsage adds the given value to the FlavorsUsage 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 FlavorsUsage field.
func (*ClusterQueueStatusApplyConfiguration) WithPendingWorkloads ¶
func (b *ClusterQueueStatusApplyConfiguration) WithPendingWorkloads(value int32) *ClusterQueueStatusApplyConfiguration
WithPendingWorkloads sets the PendingWorkloads field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PendingWorkloads field is set to the value of the last call.
type FlavorQuotasApplyConfiguration ¶
type FlavorQuotasApplyConfiguration struct { Name *v1beta1.ResourceFlavorReference `json:"name,omitempty"` Resources []ResourceQuotaApplyConfiguration `json:"resources,omitempty"` }
FlavorQuotasApplyConfiguration represents an declarative configuration of the FlavorQuotas type for use with apply.
func FlavorQuotas ¶
func FlavorQuotas() *FlavorQuotasApplyConfiguration
FlavorQuotasApplyConfiguration constructs an declarative configuration of the FlavorQuotas type for use with apply.
func (*FlavorQuotasApplyConfiguration) WithName ¶
func (b *FlavorQuotasApplyConfiguration) WithName(value v1beta1.ResourceFlavorReference) *FlavorQuotasApplyConfiguration
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 (*FlavorQuotasApplyConfiguration) WithResources ¶
func (b *FlavorQuotasApplyConfiguration) WithResources(values ...*ResourceQuotaApplyConfiguration) *FlavorQuotasApplyConfiguration
WithResources adds the given value to the Resources 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 Resources field.
type FlavorUsageApplyConfiguration ¶
type FlavorUsageApplyConfiguration struct { Name *v1beta1.ResourceFlavorReference `json:"name,omitempty"` Resources []ResourceUsageApplyConfiguration `json:"resources,omitempty"` }
FlavorUsageApplyConfiguration represents an declarative configuration of the FlavorUsage type for use with apply.
func FlavorUsage ¶
func FlavorUsage() *FlavorUsageApplyConfiguration
FlavorUsageApplyConfiguration constructs an declarative configuration of the FlavorUsage type for use with apply.
func (*FlavorUsageApplyConfiguration) WithName ¶
func (b *FlavorUsageApplyConfiguration) WithName(value v1beta1.ResourceFlavorReference) *FlavorUsageApplyConfiguration
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 (*FlavorUsageApplyConfiguration) WithResources ¶
func (b *FlavorUsageApplyConfiguration) WithResources(values ...*ResourceUsageApplyConfiguration) *FlavorUsageApplyConfiguration
WithResources adds the given value to the Resources 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 Resources field.
type LocalQueueApplyConfiguration ¶
type LocalQueueApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *LocalQueueSpecApplyConfiguration `json:"spec,omitempty"` Status *LocalQueueStatusApplyConfiguration `json:"status,omitempty"` }
LocalQueueApplyConfiguration represents an declarative configuration of the LocalQueue type for use with apply.
func LocalQueue ¶
func LocalQueue(name, namespace string) *LocalQueueApplyConfiguration
LocalQueue constructs an declarative configuration of the LocalQueue type for use with apply.
func (*LocalQueueApplyConfiguration) WithAPIVersion ¶
func (b *LocalQueueApplyConfiguration) WithAPIVersion(value string) *LocalQueueApplyConfiguration
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 (*LocalQueueApplyConfiguration) WithAnnotations ¶
func (b *LocalQueueApplyConfiguration) WithAnnotations(entries map[string]string) *LocalQueueApplyConfiguration
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 (*LocalQueueApplyConfiguration) WithCreationTimestamp ¶
func (b *LocalQueueApplyConfiguration) WithCreationTimestamp(value metav1.Time) *LocalQueueApplyConfiguration
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 (*LocalQueueApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *LocalQueueApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *LocalQueueApplyConfiguration
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 (*LocalQueueApplyConfiguration) WithDeletionTimestamp ¶
func (b *LocalQueueApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *LocalQueueApplyConfiguration
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 (*LocalQueueApplyConfiguration) WithFinalizers ¶
func (b *LocalQueueApplyConfiguration) WithFinalizers(values ...string) *LocalQueueApplyConfiguration
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 (*LocalQueueApplyConfiguration) WithGenerateName ¶
func (b *LocalQueueApplyConfiguration) WithGenerateName(value string) *LocalQueueApplyConfiguration
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 (*LocalQueueApplyConfiguration) WithGeneration ¶
func (b *LocalQueueApplyConfiguration) WithGeneration(value int64) *LocalQueueApplyConfiguration
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 (*LocalQueueApplyConfiguration) WithKind ¶
func (b *LocalQueueApplyConfiguration) WithKind(value string) *LocalQueueApplyConfiguration
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 (*LocalQueueApplyConfiguration) WithLabels ¶
func (b *LocalQueueApplyConfiguration) WithLabels(entries map[string]string) *LocalQueueApplyConfiguration
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 (*LocalQueueApplyConfiguration) WithName ¶
func (b *LocalQueueApplyConfiguration) WithName(value string) *LocalQueueApplyConfiguration
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 (*LocalQueueApplyConfiguration) WithNamespace ¶
func (b *LocalQueueApplyConfiguration) WithNamespace(value string) *LocalQueueApplyConfiguration
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 (*LocalQueueApplyConfiguration) WithOwnerReferences ¶
func (b *LocalQueueApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *LocalQueueApplyConfiguration
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 (*LocalQueueApplyConfiguration) WithResourceVersion ¶
func (b *LocalQueueApplyConfiguration) WithResourceVersion(value string) *LocalQueueApplyConfiguration
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 (*LocalQueueApplyConfiguration) WithSpec ¶
func (b *LocalQueueApplyConfiguration) WithSpec(value *LocalQueueSpecApplyConfiguration) *LocalQueueApplyConfiguration
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 (*LocalQueueApplyConfiguration) WithStatus ¶
func (b *LocalQueueApplyConfiguration) WithStatus(value *LocalQueueStatusApplyConfiguration) *LocalQueueApplyConfiguration
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 (*LocalQueueApplyConfiguration) WithUID ¶
func (b *LocalQueueApplyConfiguration) WithUID(value types.UID) *LocalQueueApplyConfiguration
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 LocalQueueFlavorUsageApplyConfiguration ¶
type LocalQueueFlavorUsageApplyConfiguration struct { Name *v1beta1.ResourceFlavorReference `json:"name,omitempty"` Resources []LocalQueueResourceUsageApplyConfiguration `json:"resources,omitempty"` }
LocalQueueFlavorUsageApplyConfiguration represents an declarative configuration of the LocalQueueFlavorUsage type for use with apply.
func LocalQueueFlavorUsage ¶
func LocalQueueFlavorUsage() *LocalQueueFlavorUsageApplyConfiguration
LocalQueueFlavorUsageApplyConfiguration constructs an declarative configuration of the LocalQueueFlavorUsage type for use with apply.
func (*LocalQueueFlavorUsageApplyConfiguration) WithName ¶
func (b *LocalQueueFlavorUsageApplyConfiguration) WithName(value v1beta1.ResourceFlavorReference) *LocalQueueFlavorUsageApplyConfiguration
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 (*LocalQueueFlavorUsageApplyConfiguration) WithResources ¶
func (b *LocalQueueFlavorUsageApplyConfiguration) WithResources(values ...*LocalQueueResourceUsageApplyConfiguration) *LocalQueueFlavorUsageApplyConfiguration
WithResources adds the given value to the Resources 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 Resources field.
type LocalQueueResourceUsageApplyConfiguration ¶
type LocalQueueResourceUsageApplyConfiguration struct { Name *v1.ResourceName `json:"name,omitempty"` Total *resource.Quantity `json:"total,omitempty"` }
LocalQueueResourceUsageApplyConfiguration represents an declarative configuration of the LocalQueueResourceUsage type for use with apply.
func LocalQueueResourceUsage ¶
func LocalQueueResourceUsage() *LocalQueueResourceUsageApplyConfiguration
LocalQueueResourceUsageApplyConfiguration constructs an declarative configuration of the LocalQueueResourceUsage type for use with apply.
func (*LocalQueueResourceUsageApplyConfiguration) WithName ¶
func (b *LocalQueueResourceUsageApplyConfiguration) WithName(value v1.ResourceName) *LocalQueueResourceUsageApplyConfiguration
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 (*LocalQueueResourceUsageApplyConfiguration) WithTotal ¶
func (b *LocalQueueResourceUsageApplyConfiguration) WithTotal(value resource.Quantity) *LocalQueueResourceUsageApplyConfiguration
WithTotal sets the Total field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Total field is set to the value of the last call.
type LocalQueueSpecApplyConfiguration ¶
type LocalQueueSpecApplyConfiguration struct {
ClusterQueue *v1beta1.ClusterQueueReference `json:"clusterQueue,omitempty"`
}
LocalQueueSpecApplyConfiguration represents an declarative configuration of the LocalQueueSpec type for use with apply.
func LocalQueueSpec ¶
func LocalQueueSpec() *LocalQueueSpecApplyConfiguration
LocalQueueSpecApplyConfiguration constructs an declarative configuration of the LocalQueueSpec type for use with apply.
func (*LocalQueueSpecApplyConfiguration) WithClusterQueue ¶
func (b *LocalQueueSpecApplyConfiguration) WithClusterQueue(value v1beta1.ClusterQueueReference) *LocalQueueSpecApplyConfiguration
WithClusterQueue sets the ClusterQueue field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClusterQueue field is set to the value of the last call.
type LocalQueueStatusApplyConfiguration ¶
type LocalQueueStatusApplyConfiguration struct { PendingWorkloads *int32 `json:"pendingWorkloads,omitempty"` AdmittedWorkloads *int32 `json:"admittedWorkloads,omitempty"` Conditions []v1.Condition `json:"conditions:omitempty,omitempty"` FlavorUsage []LocalQueueFlavorUsageApplyConfiguration `json:"flavorUsage,omitempty"` }
LocalQueueStatusApplyConfiguration represents an declarative configuration of the LocalQueueStatus type for use with apply.
func LocalQueueStatus ¶
func LocalQueueStatus() *LocalQueueStatusApplyConfiguration
LocalQueueStatusApplyConfiguration constructs an declarative configuration of the LocalQueueStatus type for use with apply.
func (*LocalQueueStatusApplyConfiguration) WithAdmittedWorkloads ¶
func (b *LocalQueueStatusApplyConfiguration) WithAdmittedWorkloads(value int32) *LocalQueueStatusApplyConfiguration
WithAdmittedWorkloads sets the AdmittedWorkloads field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AdmittedWorkloads field is set to the value of the last call.
func (*LocalQueueStatusApplyConfiguration) WithConditions ¶
func (b *LocalQueueStatusApplyConfiguration) WithConditions(values ...v1.Condition) *LocalQueueStatusApplyConfiguration
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 (*LocalQueueStatusApplyConfiguration) WithFlavorUsage ¶
func (b *LocalQueueStatusApplyConfiguration) WithFlavorUsage(values ...*LocalQueueFlavorUsageApplyConfiguration) *LocalQueueStatusApplyConfiguration
WithFlavorUsage adds the given value to the FlavorUsage 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 FlavorUsage field.
func (*LocalQueueStatusApplyConfiguration) WithPendingWorkloads ¶
func (b *LocalQueueStatusApplyConfiguration) WithPendingWorkloads(value int32) *LocalQueueStatusApplyConfiguration
WithPendingWorkloads sets the PendingWorkloads field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PendingWorkloads field is set to the value of the last call.
type PodSetApplyConfiguration ¶
type PodSetApplyConfiguration struct { Name *string `json:"name,omitempty"` Template *v1.PodTemplateSpec `json:"template,omitempty"` Count *int32 `json:"count,omitempty"` MinCount *int32 `json:"minCount,omitempty"` }
PodSetApplyConfiguration represents an declarative configuration of the PodSet type for use with apply.
func PodSet ¶
func PodSet() *PodSetApplyConfiguration
PodSetApplyConfiguration constructs an declarative configuration of the PodSet type for use with apply.
func (*PodSetApplyConfiguration) WithCount ¶
func (b *PodSetApplyConfiguration) WithCount(value int32) *PodSetApplyConfiguration
WithCount sets the Count field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Count field is set to the value of the last call.
func (*PodSetApplyConfiguration) WithMinCount ¶
func (b *PodSetApplyConfiguration) WithMinCount(value int32) *PodSetApplyConfiguration
WithMinCount sets the MinCount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinCount field is set to the value of the last call.
func (*PodSetApplyConfiguration) WithName ¶
func (b *PodSetApplyConfiguration) WithName(value string) *PodSetApplyConfiguration
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 (*PodSetApplyConfiguration) WithTemplate ¶
func (b *PodSetApplyConfiguration) WithTemplate(value v1.PodTemplateSpec) *PodSetApplyConfiguration
WithTemplate sets the Template field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Template field is set to the value of the last call.
type PodSetAssignmentApplyConfiguration ¶
type PodSetAssignmentApplyConfiguration struct { Name *string `json:"name,omitempty"` Flavors map[v1.ResourceName]v1beta1.ResourceFlavorReference `json:"flavors,omitempty"` ResourceUsage *v1.ResourceList `json:"resourceUsage,omitempty"` Count *int32 `json:"count,omitempty"` }
PodSetAssignmentApplyConfiguration represents an declarative configuration of the PodSetAssignment type for use with apply.
func PodSetAssignment ¶
func PodSetAssignment() *PodSetAssignmentApplyConfiguration
PodSetAssignmentApplyConfiguration constructs an declarative configuration of the PodSetAssignment type for use with apply.
func (*PodSetAssignmentApplyConfiguration) WithCount ¶
func (b *PodSetAssignmentApplyConfiguration) WithCount(value int32) *PodSetAssignmentApplyConfiguration
WithCount sets the Count field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Count field is set to the value of the last call.
func (*PodSetAssignmentApplyConfiguration) WithFlavors ¶
func (b *PodSetAssignmentApplyConfiguration) WithFlavors(entries map[v1.ResourceName]v1beta1.ResourceFlavorReference) *PodSetAssignmentApplyConfiguration
WithFlavors puts the entries into the Flavors 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 Flavors field, overwriting an existing map entries in Flavors field with the same key.
func (*PodSetAssignmentApplyConfiguration) WithName ¶
func (b *PodSetAssignmentApplyConfiguration) WithName(value string) *PodSetAssignmentApplyConfiguration
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 (*PodSetAssignmentApplyConfiguration) WithResourceUsage ¶
func (b *PodSetAssignmentApplyConfiguration) WithResourceUsage(value v1.ResourceList) *PodSetAssignmentApplyConfiguration
WithResourceUsage sets the ResourceUsage field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceUsage field is set to the value of the last call.
type ReclaimablePodApplyConfiguration ¶
type ReclaimablePodApplyConfiguration struct { Name *string `json:"name,omitempty"` Count *int32 `json:"count,omitempty"` }
ReclaimablePodApplyConfiguration represents an declarative configuration of the ReclaimablePod type for use with apply.
func ReclaimablePod ¶
func ReclaimablePod() *ReclaimablePodApplyConfiguration
ReclaimablePodApplyConfiguration constructs an declarative configuration of the ReclaimablePod type for use with apply.
func (*ReclaimablePodApplyConfiguration) WithCount ¶
func (b *ReclaimablePodApplyConfiguration) WithCount(value int32) *ReclaimablePodApplyConfiguration
WithCount sets the Count field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Count field is set to the value of the last call.
func (*ReclaimablePodApplyConfiguration) WithName ¶
func (b *ReclaimablePodApplyConfiguration) WithName(value string) *ReclaimablePodApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
type ResourceFlavorApplyConfiguration ¶
type ResourceFlavorApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ResourceFlavorSpecApplyConfiguration `json:"spec,omitempty"` }
ResourceFlavorApplyConfiguration represents an declarative configuration of the ResourceFlavor type for use with apply.
func ResourceFlavor ¶
func ResourceFlavor(name, namespace string) *ResourceFlavorApplyConfiguration
ResourceFlavor constructs an declarative configuration of the ResourceFlavor type for use with apply.
func (*ResourceFlavorApplyConfiguration) WithAPIVersion ¶
func (b *ResourceFlavorApplyConfiguration) WithAPIVersion(value string) *ResourceFlavorApplyConfiguration
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 (*ResourceFlavorApplyConfiguration) WithAnnotations ¶
func (b *ResourceFlavorApplyConfiguration) WithAnnotations(entries map[string]string) *ResourceFlavorApplyConfiguration
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 (*ResourceFlavorApplyConfiguration) WithCreationTimestamp ¶
func (b *ResourceFlavorApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ResourceFlavorApplyConfiguration
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 (*ResourceFlavorApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ResourceFlavorApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ResourceFlavorApplyConfiguration
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 (*ResourceFlavorApplyConfiguration) WithDeletionTimestamp ¶
func (b *ResourceFlavorApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ResourceFlavorApplyConfiguration
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 (*ResourceFlavorApplyConfiguration) WithFinalizers ¶
func (b *ResourceFlavorApplyConfiguration) WithFinalizers(values ...string) *ResourceFlavorApplyConfiguration
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 (*ResourceFlavorApplyConfiguration) WithGenerateName ¶
func (b *ResourceFlavorApplyConfiguration) WithGenerateName(value string) *ResourceFlavorApplyConfiguration
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 (*ResourceFlavorApplyConfiguration) WithGeneration ¶
func (b *ResourceFlavorApplyConfiguration) WithGeneration(value int64) *ResourceFlavorApplyConfiguration
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 (*ResourceFlavorApplyConfiguration) WithKind ¶
func (b *ResourceFlavorApplyConfiguration) WithKind(value string) *ResourceFlavorApplyConfiguration
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 (*ResourceFlavorApplyConfiguration) WithLabels ¶
func (b *ResourceFlavorApplyConfiguration) WithLabels(entries map[string]string) *ResourceFlavorApplyConfiguration
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 (*ResourceFlavorApplyConfiguration) WithName ¶
func (b *ResourceFlavorApplyConfiguration) WithName(value string) *ResourceFlavorApplyConfiguration
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 (*ResourceFlavorApplyConfiguration) WithNamespace ¶
func (b *ResourceFlavorApplyConfiguration) WithNamespace(value string) *ResourceFlavorApplyConfiguration
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 (*ResourceFlavorApplyConfiguration) WithOwnerReferences ¶
func (b *ResourceFlavorApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ResourceFlavorApplyConfiguration
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 (*ResourceFlavorApplyConfiguration) WithResourceVersion ¶
func (b *ResourceFlavorApplyConfiguration) WithResourceVersion(value string) *ResourceFlavorApplyConfiguration
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 (*ResourceFlavorApplyConfiguration) WithSpec ¶
func (b *ResourceFlavorApplyConfiguration) WithSpec(value *ResourceFlavorSpecApplyConfiguration) *ResourceFlavorApplyConfiguration
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 (*ResourceFlavorApplyConfiguration) WithUID ¶
func (b *ResourceFlavorApplyConfiguration) WithUID(value types.UID) *ResourceFlavorApplyConfiguration
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 ResourceFlavorSpecApplyConfiguration ¶
type ResourceFlavorSpecApplyConfiguration struct { NodeLabels map[string]string `json:"nodeLabels,omitempty"` NodeTaints []v1.Taint `json:"nodeTaints,omitempty"` }
ResourceFlavorSpecApplyConfiguration represents an declarative configuration of the ResourceFlavorSpec type for use with apply.
func ResourceFlavorSpec ¶
func ResourceFlavorSpec() *ResourceFlavorSpecApplyConfiguration
ResourceFlavorSpecApplyConfiguration constructs an declarative configuration of the ResourceFlavorSpec type for use with apply.
func (*ResourceFlavorSpecApplyConfiguration) WithNodeLabels ¶
func (b *ResourceFlavorSpecApplyConfiguration) WithNodeLabels(entries map[string]string) *ResourceFlavorSpecApplyConfiguration
WithNodeLabels puts the entries into the NodeLabels 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 NodeLabels field, overwriting an existing map entries in NodeLabels field with the same key.
func (*ResourceFlavorSpecApplyConfiguration) WithNodeTaints ¶
func (b *ResourceFlavorSpecApplyConfiguration) WithNodeTaints(values ...v1.Taint) *ResourceFlavorSpecApplyConfiguration
WithNodeTaints adds the given value to the NodeTaints 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 NodeTaints field.
type ResourceGroupApplyConfiguration ¶
type ResourceGroupApplyConfiguration struct { CoveredResources []v1.ResourceName `json:"coveredResources,omitempty"` Flavors []FlavorQuotasApplyConfiguration `json:"flavors,omitempty"` }
ResourceGroupApplyConfiguration represents an declarative configuration of the ResourceGroup type for use with apply.
func ResourceGroup ¶
func ResourceGroup() *ResourceGroupApplyConfiguration
ResourceGroupApplyConfiguration constructs an declarative configuration of the ResourceGroup type for use with apply.
func (*ResourceGroupApplyConfiguration) WithCoveredResources ¶
func (b *ResourceGroupApplyConfiguration) WithCoveredResources(values ...v1.ResourceName) *ResourceGroupApplyConfiguration
WithCoveredResources adds the given value to the CoveredResources 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 CoveredResources field.
func (*ResourceGroupApplyConfiguration) WithFlavors ¶
func (b *ResourceGroupApplyConfiguration) WithFlavors(values ...*FlavorQuotasApplyConfiguration) *ResourceGroupApplyConfiguration
WithFlavors adds the given value to the Flavors 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 Flavors field.
type ResourceQuotaApplyConfiguration ¶
type ResourceQuotaApplyConfiguration struct { Name *v1.ResourceName `json:"name,omitempty"` NominalQuota *resource.Quantity `json:"nominalQuota,omitempty"` BorrowingLimit *resource.Quantity `json:"borrowingLimit,omitempty"` }
ResourceQuotaApplyConfiguration represents an declarative configuration of the ResourceQuota type for use with apply.
func ResourceQuota ¶
func ResourceQuota() *ResourceQuotaApplyConfiguration
ResourceQuotaApplyConfiguration constructs an declarative configuration of the ResourceQuota type for use with apply.
func (*ResourceQuotaApplyConfiguration) WithBorrowingLimit ¶
func (b *ResourceQuotaApplyConfiguration) WithBorrowingLimit(value resource.Quantity) *ResourceQuotaApplyConfiguration
WithBorrowingLimit sets the BorrowingLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BorrowingLimit field is set to the value of the last call.
func (*ResourceQuotaApplyConfiguration) WithName ¶
func (b *ResourceQuotaApplyConfiguration) WithName(value v1.ResourceName) *ResourceQuotaApplyConfiguration
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 (*ResourceQuotaApplyConfiguration) WithNominalQuota ¶
func (b *ResourceQuotaApplyConfiguration) WithNominalQuota(value resource.Quantity) *ResourceQuotaApplyConfiguration
WithNominalQuota sets the NominalQuota field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NominalQuota field is set to the value of the last call.
type ResourceUsageApplyConfiguration ¶
type ResourceUsageApplyConfiguration struct { Name *v1.ResourceName `json:"name,omitempty"` Total *resource.Quantity `json:"total,omitempty"` Borrowed *resource.Quantity `json:"borrowed,omitempty"` }
ResourceUsageApplyConfiguration represents an declarative configuration of the ResourceUsage type for use with apply.
func ResourceUsage ¶
func ResourceUsage() *ResourceUsageApplyConfiguration
ResourceUsageApplyConfiguration constructs an declarative configuration of the ResourceUsage type for use with apply.
func (*ResourceUsageApplyConfiguration) WithBorrowed ¶
func (b *ResourceUsageApplyConfiguration) WithBorrowed(value resource.Quantity) *ResourceUsageApplyConfiguration
WithBorrowed sets the Borrowed field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Borrowed field is set to the value of the last call.
func (*ResourceUsageApplyConfiguration) WithName ¶
func (b *ResourceUsageApplyConfiguration) WithName(value v1.ResourceName) *ResourceUsageApplyConfiguration
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 (*ResourceUsageApplyConfiguration) WithTotal ¶
func (b *ResourceUsageApplyConfiguration) WithTotal(value resource.Quantity) *ResourceUsageApplyConfiguration
WithTotal sets the Total field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Total field is set to the value of the last call.
type WorkloadApplyConfiguration ¶
type WorkloadApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *WorkloadSpecApplyConfiguration `json:"spec,omitempty"` Status *WorkloadStatusApplyConfiguration `json:"status,omitempty"` }
WorkloadApplyConfiguration represents an declarative configuration of the Workload type for use with apply.
func Workload ¶
func Workload(name, namespace string) *WorkloadApplyConfiguration
Workload constructs an declarative configuration of the Workload type for use with apply.
func (*WorkloadApplyConfiguration) WithAPIVersion ¶
func (b *WorkloadApplyConfiguration) WithAPIVersion(value string) *WorkloadApplyConfiguration
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 (*WorkloadApplyConfiguration) WithAnnotations ¶
func (b *WorkloadApplyConfiguration) WithAnnotations(entries map[string]string) *WorkloadApplyConfiguration
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 (*WorkloadApplyConfiguration) WithCreationTimestamp ¶
func (b *WorkloadApplyConfiguration) WithCreationTimestamp(value metav1.Time) *WorkloadApplyConfiguration
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 (*WorkloadApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *WorkloadApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *WorkloadApplyConfiguration
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 (*WorkloadApplyConfiguration) WithDeletionTimestamp ¶
func (b *WorkloadApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *WorkloadApplyConfiguration
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 (*WorkloadApplyConfiguration) WithFinalizers ¶
func (b *WorkloadApplyConfiguration) WithFinalizers(values ...string) *WorkloadApplyConfiguration
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 (*WorkloadApplyConfiguration) WithGenerateName ¶
func (b *WorkloadApplyConfiguration) WithGenerateName(value string) *WorkloadApplyConfiguration
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 (*WorkloadApplyConfiguration) WithGeneration ¶
func (b *WorkloadApplyConfiguration) WithGeneration(value int64) *WorkloadApplyConfiguration
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 (*WorkloadApplyConfiguration) WithKind ¶
func (b *WorkloadApplyConfiguration) WithKind(value string) *WorkloadApplyConfiguration
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 (*WorkloadApplyConfiguration) WithLabels ¶
func (b *WorkloadApplyConfiguration) WithLabels(entries map[string]string) *WorkloadApplyConfiguration
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 (*WorkloadApplyConfiguration) WithName ¶
func (b *WorkloadApplyConfiguration) WithName(value string) *WorkloadApplyConfiguration
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 (*WorkloadApplyConfiguration) WithNamespace ¶
func (b *WorkloadApplyConfiguration) WithNamespace(value string) *WorkloadApplyConfiguration
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 (*WorkloadApplyConfiguration) WithOwnerReferences ¶
func (b *WorkloadApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *WorkloadApplyConfiguration
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 (*WorkloadApplyConfiguration) WithResourceVersion ¶
func (b *WorkloadApplyConfiguration) WithResourceVersion(value string) *WorkloadApplyConfiguration
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 (*WorkloadApplyConfiguration) WithSpec ¶
func (b *WorkloadApplyConfiguration) WithSpec(value *WorkloadSpecApplyConfiguration) *WorkloadApplyConfiguration
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 (*WorkloadApplyConfiguration) WithStatus ¶
func (b *WorkloadApplyConfiguration) WithStatus(value *WorkloadStatusApplyConfiguration) *WorkloadApplyConfiguration
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 (*WorkloadApplyConfiguration) WithUID ¶
func (b *WorkloadApplyConfiguration) WithUID(value types.UID) *WorkloadApplyConfiguration
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 WorkloadSpecApplyConfiguration ¶
type WorkloadSpecApplyConfiguration struct { PodSets []PodSetApplyConfiguration `json:"podSets,omitempty"` QueueName *string `json:"queueName,omitempty"` PriorityClassName *string `json:"priorityClassName,omitempty"` Priority *int32 `json:"priority,omitempty"` }
WorkloadSpecApplyConfiguration represents an declarative configuration of the WorkloadSpec type for use with apply.
func WorkloadSpec ¶
func WorkloadSpec() *WorkloadSpecApplyConfiguration
WorkloadSpecApplyConfiguration constructs an declarative configuration of the WorkloadSpec type for use with apply.
func (*WorkloadSpecApplyConfiguration) WithPodSets ¶
func (b *WorkloadSpecApplyConfiguration) WithPodSets(values ...*PodSetApplyConfiguration) *WorkloadSpecApplyConfiguration
WithPodSets adds the given value to the PodSets 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 PodSets field.
func (*WorkloadSpecApplyConfiguration) WithPriority ¶
func (b *WorkloadSpecApplyConfiguration) WithPriority(value int32) *WorkloadSpecApplyConfiguration
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 (*WorkloadSpecApplyConfiguration) WithPriorityClassName ¶
func (b *WorkloadSpecApplyConfiguration) WithPriorityClassName(value string) *WorkloadSpecApplyConfiguration
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 (*WorkloadSpecApplyConfiguration) WithQueueName ¶
func (b *WorkloadSpecApplyConfiguration) WithQueueName(value string) *WorkloadSpecApplyConfiguration
WithQueueName sets the QueueName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the QueueName field is set to the value of the last call.
type WorkloadStatusApplyConfiguration ¶
type WorkloadStatusApplyConfiguration struct { Admission *AdmissionApplyConfiguration `json:"admission,omitempty"` Conditions []v1.Condition `json:"conditions,omitempty"` ReclaimablePods []ReclaimablePodApplyConfiguration `json:"reclaimablePods,omitempty"` }
WorkloadStatusApplyConfiguration represents an declarative configuration of the WorkloadStatus type for use with apply.
func WorkloadStatus ¶
func WorkloadStatus() *WorkloadStatusApplyConfiguration
WorkloadStatusApplyConfiguration constructs an declarative configuration of the WorkloadStatus type for use with apply.
func (*WorkloadStatusApplyConfiguration) WithAdmission ¶
func (b *WorkloadStatusApplyConfiguration) WithAdmission(value *AdmissionApplyConfiguration) *WorkloadStatusApplyConfiguration
WithAdmission sets the Admission field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Admission field is set to the value of the last call.
func (*WorkloadStatusApplyConfiguration) WithConditions ¶
func (b *WorkloadStatusApplyConfiguration) WithConditions(values ...v1.Condition) *WorkloadStatusApplyConfiguration
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 (*WorkloadStatusApplyConfiguration) WithReclaimablePods ¶
func (b *WorkloadStatusApplyConfiguration) WithReclaimablePods(values ...*ReclaimablePodApplyConfiguration) *WorkloadStatusApplyConfiguration
WithReclaimablePods adds the given value to the ReclaimablePods 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 ReclaimablePods field.
Source Files
¶
- admission.go
- clusterqueue.go
- clusterqueuepreemption.go
- clusterqueuespec.go
- clusterqueuestatus.go
- flavorquotas.go
- flavorusage.go
- localqueue.go
- localqueueflavorusage.go
- localqueueresourceusage.go
- localqueuespec.go
- localqueuestatus.go
- podset.go
- podsetassignment.go
- reclaimablepod.go
- resourceflavor.go
- resourceflavorspec.go
- resourcegroup.go
- resourcequota.go
- resourceusage.go
- workload.go
- workloadspec.go
- workloadstatus.go