Documentation ¶
Index ¶
- type AdmissionApplyConfiguration
- type AdmissionCheckApplyConfiguration
- func (b *AdmissionCheckApplyConfiguration) WithAPIVersion(value string) *AdmissionCheckApplyConfiguration
- func (b *AdmissionCheckApplyConfiguration) WithAnnotations(entries map[string]string) *AdmissionCheckApplyConfiguration
- func (b *AdmissionCheckApplyConfiguration) WithCreationTimestamp(value metav1.Time) *AdmissionCheckApplyConfiguration
- func (b *AdmissionCheckApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *AdmissionCheckApplyConfiguration
- func (b *AdmissionCheckApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *AdmissionCheckApplyConfiguration
- func (b *AdmissionCheckApplyConfiguration) WithFinalizers(values ...string) *AdmissionCheckApplyConfiguration
- func (b *AdmissionCheckApplyConfiguration) WithGenerateName(value string) *AdmissionCheckApplyConfiguration
- func (b *AdmissionCheckApplyConfiguration) WithGeneration(value int64) *AdmissionCheckApplyConfiguration
- func (b *AdmissionCheckApplyConfiguration) WithKind(value string) *AdmissionCheckApplyConfiguration
- func (b *AdmissionCheckApplyConfiguration) WithLabels(entries map[string]string) *AdmissionCheckApplyConfiguration
- func (b *AdmissionCheckApplyConfiguration) WithName(value string) *AdmissionCheckApplyConfiguration
- func (b *AdmissionCheckApplyConfiguration) WithNamespace(value string) *AdmissionCheckApplyConfiguration
- func (b *AdmissionCheckApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *AdmissionCheckApplyConfiguration
- func (b *AdmissionCheckApplyConfiguration) WithResourceVersion(value string) *AdmissionCheckApplyConfiguration
- func (b *AdmissionCheckApplyConfiguration) WithSpec(value *AdmissionCheckSpecApplyConfiguration) *AdmissionCheckApplyConfiguration
- func (b *AdmissionCheckApplyConfiguration) WithStatus(value *AdmissionCheckStatusApplyConfiguration) *AdmissionCheckApplyConfiguration
- func (b *AdmissionCheckApplyConfiguration) WithUID(value types.UID) *AdmissionCheckApplyConfiguration
- type AdmissionCheckParametersReferenceApplyConfiguration
- func (b *AdmissionCheckParametersReferenceApplyConfiguration) WithAPIGroup(value string) *AdmissionCheckParametersReferenceApplyConfiguration
- func (b *AdmissionCheckParametersReferenceApplyConfiguration) WithKind(value string) *AdmissionCheckParametersReferenceApplyConfiguration
- func (b *AdmissionCheckParametersReferenceApplyConfiguration) WithName(value string) *AdmissionCheckParametersReferenceApplyConfiguration
- type AdmissionCheckSpecApplyConfiguration
- func (b *AdmissionCheckSpecApplyConfiguration) WithControllerName(value string) *AdmissionCheckSpecApplyConfiguration
- func (b *AdmissionCheckSpecApplyConfiguration) WithParameters(value *AdmissionCheckParametersReferenceApplyConfiguration) *AdmissionCheckSpecApplyConfiguration
- func (b *AdmissionCheckSpecApplyConfiguration) WithRetryDelayMinutes(value int64) *AdmissionCheckSpecApplyConfiguration
- type AdmissionCheckStateApplyConfiguration
- func (b *AdmissionCheckStateApplyConfiguration) WithLastTransitionTime(value v1.Time) *AdmissionCheckStateApplyConfiguration
- func (b *AdmissionCheckStateApplyConfiguration) WithMessage(value string) *AdmissionCheckStateApplyConfiguration
- func (b *AdmissionCheckStateApplyConfiguration) WithName(value string) *AdmissionCheckStateApplyConfiguration
- func (b *AdmissionCheckStateApplyConfiguration) WithPodSetUpdates(values ...*PodSetUpdateApplyConfiguration) *AdmissionCheckStateApplyConfiguration
- func (b *AdmissionCheckStateApplyConfiguration) WithState(value v1beta1.CheckState) *AdmissionCheckStateApplyConfiguration
- type AdmissionCheckStatusApplyConfiguration
- type AdmissionCheckStrategyRuleApplyConfiguration
- type AdmissionChecksStrategyApplyConfiguration
- type BorrowWithinCohortApplyConfiguration
- 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 ClusterQueuePendingWorkloadApplyConfiguration
- type ClusterQueuePendingWorkloadsStatusApplyConfiguration
- func (b *ClusterQueuePendingWorkloadsStatusApplyConfiguration) WithHead(values ...*ClusterQueuePendingWorkloadApplyConfiguration) *ClusterQueuePendingWorkloadsStatusApplyConfiguration
- func (b *ClusterQueuePendingWorkloadsStatusApplyConfiguration) WithLastChangeTime(value v1.Time) *ClusterQueuePendingWorkloadsStatusApplyConfiguration
- type ClusterQueuePreemptionApplyConfiguration
- func (b *ClusterQueuePreemptionApplyConfiguration) WithBorrowWithinCohort(value *BorrowWithinCohortApplyConfiguration) *ClusterQueuePreemptionApplyConfiguration
- func (b *ClusterQueuePreemptionApplyConfiguration) WithReclaimWithinCohort(value v1beta1.PreemptionPolicy) *ClusterQueuePreemptionApplyConfiguration
- func (b *ClusterQueuePreemptionApplyConfiguration) WithWithinClusterQueue(value v1beta1.PreemptionPolicy) *ClusterQueuePreemptionApplyConfiguration
- type ClusterQueueSpecApplyConfiguration
- func (b *ClusterQueueSpecApplyConfiguration) WithAdmissionChecks(values ...string) *ClusterQueueSpecApplyConfiguration
- func (b *ClusterQueueSpecApplyConfiguration) WithAdmissionChecksStrategy(value *AdmissionChecksStrategyApplyConfiguration) *ClusterQueueSpecApplyConfiguration
- func (b *ClusterQueueSpecApplyConfiguration) WithCohort(value string) *ClusterQueueSpecApplyConfiguration
- func (b *ClusterQueueSpecApplyConfiguration) WithFairSharing(value *FairSharingApplyConfiguration) *ClusterQueueSpecApplyConfiguration
- func (b *ClusterQueueSpecApplyConfiguration) WithFlavorFungibility(value *FlavorFungibilityApplyConfiguration) *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
- func (b *ClusterQueueSpecApplyConfiguration) WithStopPolicy(value kueuev1beta1.StopPolicy) *ClusterQueueSpecApplyConfiguration
- type ClusterQueueStatusApplyConfiguration
- func (b *ClusterQueueStatusApplyConfiguration) WithAdmittedWorkloads(value int32) *ClusterQueueStatusApplyConfiguration
- func (b *ClusterQueueStatusApplyConfiguration) WithConditions(values ...v1.Condition) *ClusterQueueStatusApplyConfiguration
- func (b *ClusterQueueStatusApplyConfiguration) WithFairSharing(value *FairSharingStatusApplyConfiguration) *ClusterQueueStatusApplyConfiguration
- func (b *ClusterQueueStatusApplyConfiguration) WithFlavorsReservation(values ...*FlavorUsageApplyConfiguration) *ClusterQueueStatusApplyConfiguration
- func (b *ClusterQueueStatusApplyConfiguration) WithFlavorsUsage(values ...*FlavorUsageApplyConfiguration) *ClusterQueueStatusApplyConfiguration
- func (b *ClusterQueueStatusApplyConfiguration) WithPendingWorkloads(value int32) *ClusterQueueStatusApplyConfiguration
- func (b *ClusterQueueStatusApplyConfiguration) WithPendingWorkloadsStatus(value *ClusterQueuePendingWorkloadsStatusApplyConfiguration) *ClusterQueueStatusApplyConfiguration
- func (b *ClusterQueueStatusApplyConfiguration) WithReservingWorkloads(value int32) *ClusterQueueStatusApplyConfiguration
- type FairSharingApplyConfiguration
- type FairSharingStatusApplyConfiguration
- type FlavorFungibilityApplyConfiguration
- 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) WithFlavorsReservation(values ...*LocalQueueFlavorUsageApplyConfiguration) *LocalQueueStatusApplyConfiguration
- func (b *LocalQueueStatusApplyConfiguration) WithPendingWorkloads(value int32) *LocalQueueStatusApplyConfiguration
- func (b *LocalQueueStatusApplyConfiguration) WithReservingWorkloads(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 PodSetUpdateApplyConfiguration
- func (b *PodSetUpdateApplyConfiguration) WithAnnotations(entries map[string]string) *PodSetUpdateApplyConfiguration
- func (b *PodSetUpdateApplyConfiguration) WithLabels(entries map[string]string) *PodSetUpdateApplyConfiguration
- func (b *PodSetUpdateApplyConfiguration) WithName(value string) *PodSetUpdateApplyConfiguration
- func (b *PodSetUpdateApplyConfiguration) WithNodeSelector(entries map[string]string) *PodSetUpdateApplyConfiguration
- func (b *PodSetUpdateApplyConfiguration) WithTolerations(values ...v1.Toleration) *PodSetUpdateApplyConfiguration
- type ProvisioningRequestConfigApplyConfiguration
- func (b *ProvisioningRequestConfigApplyConfiguration) WithAPIVersion(value string) *ProvisioningRequestConfigApplyConfiguration
- func (b *ProvisioningRequestConfigApplyConfiguration) WithAnnotations(entries map[string]string) *ProvisioningRequestConfigApplyConfiguration
- func (b *ProvisioningRequestConfigApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ProvisioningRequestConfigApplyConfiguration
- func (b *ProvisioningRequestConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ProvisioningRequestConfigApplyConfiguration
- func (b *ProvisioningRequestConfigApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ProvisioningRequestConfigApplyConfiguration
- func (b *ProvisioningRequestConfigApplyConfiguration) WithFinalizers(values ...string) *ProvisioningRequestConfigApplyConfiguration
- func (b *ProvisioningRequestConfigApplyConfiguration) WithGenerateName(value string) *ProvisioningRequestConfigApplyConfiguration
- func (b *ProvisioningRequestConfigApplyConfiguration) WithGeneration(value int64) *ProvisioningRequestConfigApplyConfiguration
- func (b *ProvisioningRequestConfigApplyConfiguration) WithKind(value string) *ProvisioningRequestConfigApplyConfiguration
- func (b *ProvisioningRequestConfigApplyConfiguration) WithLabels(entries map[string]string) *ProvisioningRequestConfigApplyConfiguration
- func (b *ProvisioningRequestConfigApplyConfiguration) WithName(value string) *ProvisioningRequestConfigApplyConfiguration
- func (b *ProvisioningRequestConfigApplyConfiguration) WithNamespace(value string) *ProvisioningRequestConfigApplyConfiguration
- func (b *ProvisioningRequestConfigApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ProvisioningRequestConfigApplyConfiguration
- func (b *ProvisioningRequestConfigApplyConfiguration) WithResourceVersion(value string) *ProvisioningRequestConfigApplyConfiguration
- func (b *ProvisioningRequestConfigApplyConfiguration) WithSpec(value *ProvisioningRequestConfigSpecApplyConfiguration) *ProvisioningRequestConfigApplyConfiguration
- func (b *ProvisioningRequestConfigApplyConfiguration) WithUID(value types.UID) *ProvisioningRequestConfigApplyConfiguration
- type ProvisioningRequestConfigSpecApplyConfiguration
- func (b *ProvisioningRequestConfigSpecApplyConfiguration) WithManagedResources(values ...v1.ResourceName) *ProvisioningRequestConfigSpecApplyConfiguration
- func (b *ProvisioningRequestConfigSpecApplyConfiguration) WithParameters(entries map[string]v1beta1.Parameter) *ProvisioningRequestConfigSpecApplyConfiguration
- func (b *ProvisioningRequestConfigSpecApplyConfiguration) WithProvisioningClassName(value string) *ProvisioningRequestConfigSpecApplyConfiguration
- type ReclaimablePodApplyConfiguration
- type RequeueStateApplyConfiguration
- 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
- func (b *ResourceFlavorSpecApplyConfiguration) WithNodeLabels(entries map[string]string) *ResourceFlavorSpecApplyConfiguration
- func (b *ResourceFlavorSpecApplyConfiguration) WithNodeTaints(values ...v1.Taint) *ResourceFlavorSpecApplyConfiguration
- func (b *ResourceFlavorSpecApplyConfiguration) WithTolerations(values ...v1.Toleration) *ResourceFlavorSpecApplyConfiguration
- type ResourceGroupApplyConfiguration
- type ResourceQuotaApplyConfiguration
- func (b *ResourceQuotaApplyConfiguration) WithBorrowingLimit(value resource.Quantity) *ResourceQuotaApplyConfiguration
- func (b *ResourceQuotaApplyConfiguration) WithLendingLimit(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 WorkloadPriorityClassApplyConfiguration
- func (b *WorkloadPriorityClassApplyConfiguration) WithAPIVersion(value string) *WorkloadPriorityClassApplyConfiguration
- func (b *WorkloadPriorityClassApplyConfiguration) WithAnnotations(entries map[string]string) *WorkloadPriorityClassApplyConfiguration
- func (b *WorkloadPriorityClassApplyConfiguration) WithCreationTimestamp(value metav1.Time) *WorkloadPriorityClassApplyConfiguration
- func (b *WorkloadPriorityClassApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *WorkloadPriorityClassApplyConfiguration
- func (b *WorkloadPriorityClassApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *WorkloadPriorityClassApplyConfiguration
- func (b *WorkloadPriorityClassApplyConfiguration) WithDescription(value string) *WorkloadPriorityClassApplyConfiguration
- func (b *WorkloadPriorityClassApplyConfiguration) WithFinalizers(values ...string) *WorkloadPriorityClassApplyConfiguration
- func (b *WorkloadPriorityClassApplyConfiguration) WithGenerateName(value string) *WorkloadPriorityClassApplyConfiguration
- func (b *WorkloadPriorityClassApplyConfiguration) WithGeneration(value int64) *WorkloadPriorityClassApplyConfiguration
- func (b *WorkloadPriorityClassApplyConfiguration) WithKind(value string) *WorkloadPriorityClassApplyConfiguration
- func (b *WorkloadPriorityClassApplyConfiguration) WithLabels(entries map[string]string) *WorkloadPriorityClassApplyConfiguration
- func (b *WorkloadPriorityClassApplyConfiguration) WithName(value string) *WorkloadPriorityClassApplyConfiguration
- func (b *WorkloadPriorityClassApplyConfiguration) WithNamespace(value string) *WorkloadPriorityClassApplyConfiguration
- func (b *WorkloadPriorityClassApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *WorkloadPriorityClassApplyConfiguration
- func (b *WorkloadPriorityClassApplyConfiguration) WithResourceVersion(value string) *WorkloadPriorityClassApplyConfiguration
- func (b *WorkloadPriorityClassApplyConfiguration) WithUID(value types.UID) *WorkloadPriorityClassApplyConfiguration
- func (b *WorkloadPriorityClassApplyConfiguration) WithValue(value int32) *WorkloadPriorityClassApplyConfiguration
- type WorkloadSpecApplyConfiguration
- func (b *WorkloadSpecApplyConfiguration) WithActive(value bool) *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) WithPriorityClassSource(value string) *WorkloadSpecApplyConfiguration
- func (b *WorkloadSpecApplyConfiguration) WithQueueName(value string) *WorkloadSpecApplyConfiguration
- type WorkloadStatusApplyConfiguration
- func (b *WorkloadStatusApplyConfiguration) WithAdmission(value *AdmissionApplyConfiguration) *WorkloadStatusApplyConfiguration
- func (b *WorkloadStatusApplyConfiguration) WithAdmissionChecks(values ...*AdmissionCheckStateApplyConfiguration) *WorkloadStatusApplyConfiguration
- func (b *WorkloadStatusApplyConfiguration) WithConditions(values ...v1.Condition) *WorkloadStatusApplyConfiguration
- func (b *WorkloadStatusApplyConfiguration) WithReclaimablePods(values ...*ReclaimablePodApplyConfiguration) *WorkloadStatusApplyConfiguration
- func (b *WorkloadStatusApplyConfiguration) WithRequeueState(value *RequeueStateApplyConfiguration) *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 AdmissionCheckApplyConfiguration ¶ added in v0.5.0
type AdmissionCheckApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *AdmissionCheckSpecApplyConfiguration `json:"spec,omitempty"` Status *AdmissionCheckStatusApplyConfiguration `json:"status,omitempty"` }
AdmissionCheckApplyConfiguration represents an declarative configuration of the AdmissionCheck type for use with apply.
func AdmissionCheck ¶ added in v0.5.0
func AdmissionCheck(name string) *AdmissionCheckApplyConfiguration
AdmissionCheck constructs an declarative configuration of the AdmissionCheck type for use with apply.
func (*AdmissionCheckApplyConfiguration) WithAPIVersion ¶ added in v0.5.0
func (b *AdmissionCheckApplyConfiguration) WithAPIVersion(value string) *AdmissionCheckApplyConfiguration
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 (*AdmissionCheckApplyConfiguration) WithAnnotations ¶ added in v0.5.0
func (b *AdmissionCheckApplyConfiguration) WithAnnotations(entries map[string]string) *AdmissionCheckApplyConfiguration
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 (*AdmissionCheckApplyConfiguration) WithCreationTimestamp ¶ added in v0.5.0
func (b *AdmissionCheckApplyConfiguration) WithCreationTimestamp(value metav1.Time) *AdmissionCheckApplyConfiguration
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 (*AdmissionCheckApplyConfiguration) WithDeletionGracePeriodSeconds ¶ added in v0.5.0
func (b *AdmissionCheckApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *AdmissionCheckApplyConfiguration
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 (*AdmissionCheckApplyConfiguration) WithDeletionTimestamp ¶ added in v0.5.0
func (b *AdmissionCheckApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *AdmissionCheckApplyConfiguration
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 (*AdmissionCheckApplyConfiguration) WithFinalizers ¶ added in v0.5.0
func (b *AdmissionCheckApplyConfiguration) WithFinalizers(values ...string) *AdmissionCheckApplyConfiguration
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 (*AdmissionCheckApplyConfiguration) WithGenerateName ¶ added in v0.5.0
func (b *AdmissionCheckApplyConfiguration) WithGenerateName(value string) *AdmissionCheckApplyConfiguration
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 (*AdmissionCheckApplyConfiguration) WithGeneration ¶ added in v0.5.0
func (b *AdmissionCheckApplyConfiguration) WithGeneration(value int64) *AdmissionCheckApplyConfiguration
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 (*AdmissionCheckApplyConfiguration) WithKind ¶ added in v0.5.0
func (b *AdmissionCheckApplyConfiguration) WithKind(value string) *AdmissionCheckApplyConfiguration
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 (*AdmissionCheckApplyConfiguration) WithLabels ¶ added in v0.5.0
func (b *AdmissionCheckApplyConfiguration) WithLabels(entries map[string]string) *AdmissionCheckApplyConfiguration
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 (*AdmissionCheckApplyConfiguration) WithName ¶ added in v0.5.0
func (b *AdmissionCheckApplyConfiguration) WithName(value string) *AdmissionCheckApplyConfiguration
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 (*AdmissionCheckApplyConfiguration) WithNamespace ¶ added in v0.5.0
func (b *AdmissionCheckApplyConfiguration) WithNamespace(value string) *AdmissionCheckApplyConfiguration
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 (*AdmissionCheckApplyConfiguration) WithOwnerReferences ¶ added in v0.5.0
func (b *AdmissionCheckApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *AdmissionCheckApplyConfiguration
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 (*AdmissionCheckApplyConfiguration) WithResourceVersion ¶ added in v0.5.0
func (b *AdmissionCheckApplyConfiguration) WithResourceVersion(value string) *AdmissionCheckApplyConfiguration
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 (*AdmissionCheckApplyConfiguration) WithSpec ¶ added in v0.5.0
func (b *AdmissionCheckApplyConfiguration) WithSpec(value *AdmissionCheckSpecApplyConfiguration) *AdmissionCheckApplyConfiguration
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 (*AdmissionCheckApplyConfiguration) WithStatus ¶ added in v0.5.0
func (b *AdmissionCheckApplyConfiguration) WithStatus(value *AdmissionCheckStatusApplyConfiguration) *AdmissionCheckApplyConfiguration
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 (*AdmissionCheckApplyConfiguration) WithUID ¶ added in v0.5.0
func (b *AdmissionCheckApplyConfiguration) WithUID(value types.UID) *AdmissionCheckApplyConfiguration
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 AdmissionCheckParametersReferenceApplyConfiguration ¶ added in v0.5.0
type AdmissionCheckParametersReferenceApplyConfiguration struct { APIGroup *string `json:"apiGroup,omitempty"` Kind *string `json:"kind,omitempty"` Name *string `json:"name,omitempty"` }
AdmissionCheckParametersReferenceApplyConfiguration represents an declarative configuration of the AdmissionCheckParametersReference type for use with apply.
func AdmissionCheckParametersReference ¶ added in v0.5.0
func AdmissionCheckParametersReference() *AdmissionCheckParametersReferenceApplyConfiguration
AdmissionCheckParametersReferenceApplyConfiguration constructs an declarative configuration of the AdmissionCheckParametersReference type for use with apply.
func (*AdmissionCheckParametersReferenceApplyConfiguration) WithAPIGroup ¶ added in v0.5.0
func (b *AdmissionCheckParametersReferenceApplyConfiguration) WithAPIGroup(value string) *AdmissionCheckParametersReferenceApplyConfiguration
WithAPIGroup sets the APIGroup field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIGroup field is set to the value of the last call.
func (*AdmissionCheckParametersReferenceApplyConfiguration) WithKind ¶ added in v0.5.0
func (b *AdmissionCheckParametersReferenceApplyConfiguration) WithKind(value string) *AdmissionCheckParametersReferenceApplyConfiguration
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 (*AdmissionCheckParametersReferenceApplyConfiguration) WithName ¶ added in v0.5.0
func (b *AdmissionCheckParametersReferenceApplyConfiguration) WithName(value string) *AdmissionCheckParametersReferenceApplyConfiguration
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 AdmissionCheckSpecApplyConfiguration ¶ added in v0.5.0
type AdmissionCheckSpecApplyConfiguration struct { ControllerName *string `json:"controllerName,omitempty"` RetryDelayMinutes *int64 `json:"retryDelayMinutes,omitempty"` Parameters *AdmissionCheckParametersReferenceApplyConfiguration `json:"parameters,omitempty"` }
AdmissionCheckSpecApplyConfiguration represents an declarative configuration of the AdmissionCheckSpec type for use with apply.
func AdmissionCheckSpec ¶ added in v0.5.0
func AdmissionCheckSpec() *AdmissionCheckSpecApplyConfiguration
AdmissionCheckSpecApplyConfiguration constructs an declarative configuration of the AdmissionCheckSpec type for use with apply.
func (*AdmissionCheckSpecApplyConfiguration) WithControllerName ¶ added in v0.5.0
func (b *AdmissionCheckSpecApplyConfiguration) WithControllerName(value string) *AdmissionCheckSpecApplyConfiguration
WithControllerName sets the ControllerName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ControllerName field is set to the value of the last call.
func (*AdmissionCheckSpecApplyConfiguration) WithParameters ¶ added in v0.5.0
func (b *AdmissionCheckSpecApplyConfiguration) WithParameters(value *AdmissionCheckParametersReferenceApplyConfiguration) *AdmissionCheckSpecApplyConfiguration
WithParameters sets the Parameters field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Parameters field is set to the value of the last call.
func (*AdmissionCheckSpecApplyConfiguration) WithRetryDelayMinutes ¶ added in v0.5.0
func (b *AdmissionCheckSpecApplyConfiguration) WithRetryDelayMinutes(value int64) *AdmissionCheckSpecApplyConfiguration
WithRetryDelayMinutes sets the RetryDelayMinutes field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RetryDelayMinutes field is set to the value of the last call.
type AdmissionCheckStateApplyConfiguration ¶ added in v0.5.0
type AdmissionCheckStateApplyConfiguration struct { Name *string `json:"name,omitempty"` State *v1beta1.CheckState `json:"state,omitempty"` LastTransitionTime *v1.Time `json:"lastTransitionTime,omitempty"` Message *string `json:"message,omitempty"` PodSetUpdates []PodSetUpdateApplyConfiguration `json:"podSetUpdates,omitempty"` }
AdmissionCheckStateApplyConfiguration represents an declarative configuration of the AdmissionCheckState type for use with apply.
func AdmissionCheckState ¶ added in v0.5.0
func AdmissionCheckState() *AdmissionCheckStateApplyConfiguration
AdmissionCheckStateApplyConfiguration constructs an declarative configuration of the AdmissionCheckState type for use with apply.
func (*AdmissionCheckStateApplyConfiguration) WithLastTransitionTime ¶ added in v0.5.0
func (b *AdmissionCheckStateApplyConfiguration) WithLastTransitionTime(value v1.Time) *AdmissionCheckStateApplyConfiguration
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 (*AdmissionCheckStateApplyConfiguration) WithMessage ¶ added in v0.5.0
func (b *AdmissionCheckStateApplyConfiguration) WithMessage(value string) *AdmissionCheckStateApplyConfiguration
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 (*AdmissionCheckStateApplyConfiguration) WithName ¶ added in v0.5.0
func (b *AdmissionCheckStateApplyConfiguration) WithName(value string) *AdmissionCheckStateApplyConfiguration
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 (*AdmissionCheckStateApplyConfiguration) WithPodSetUpdates ¶ added in v0.5.0
func (b *AdmissionCheckStateApplyConfiguration) WithPodSetUpdates(values ...*PodSetUpdateApplyConfiguration) *AdmissionCheckStateApplyConfiguration
WithPodSetUpdates adds the given value to the PodSetUpdates 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 PodSetUpdates field.
func (*AdmissionCheckStateApplyConfiguration) WithState ¶ added in v0.5.0
func (b *AdmissionCheckStateApplyConfiguration) WithState(value v1beta1.CheckState) *AdmissionCheckStateApplyConfiguration
WithState sets the State field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the State field is set to the value of the last call.
type AdmissionCheckStatusApplyConfiguration ¶ added in v0.5.0
type AdmissionCheckStatusApplyConfiguration struct {
Conditions []v1.Condition `json:"conditions,omitempty"`
}
AdmissionCheckStatusApplyConfiguration represents an declarative configuration of the AdmissionCheckStatus type for use with apply.
func AdmissionCheckStatus ¶ added in v0.5.0
func AdmissionCheckStatus() *AdmissionCheckStatusApplyConfiguration
AdmissionCheckStatusApplyConfiguration constructs an declarative configuration of the AdmissionCheckStatus type for use with apply.
func (*AdmissionCheckStatusApplyConfiguration) WithConditions ¶ added in v0.5.0
func (b *AdmissionCheckStatusApplyConfiguration) WithConditions(values ...v1.Condition) *AdmissionCheckStatusApplyConfiguration
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.
type AdmissionCheckStrategyRuleApplyConfiguration ¶ added in v0.7.0
type AdmissionCheckStrategyRuleApplyConfiguration struct { Name *string `json:"name,omitempty"` OnFlavors []v1beta1.ResourceFlavorReference `json:"onFlavors,omitempty"` }
AdmissionCheckStrategyRuleApplyConfiguration represents an declarative configuration of the AdmissionCheckStrategyRule type for use with apply.
func AdmissionCheckStrategyRule ¶ added in v0.7.0
func AdmissionCheckStrategyRule() *AdmissionCheckStrategyRuleApplyConfiguration
AdmissionCheckStrategyRuleApplyConfiguration constructs an declarative configuration of the AdmissionCheckStrategyRule type for use with apply.
func (*AdmissionCheckStrategyRuleApplyConfiguration) WithName ¶ added in v0.7.0
func (b *AdmissionCheckStrategyRuleApplyConfiguration) WithName(value string) *AdmissionCheckStrategyRuleApplyConfiguration
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 (*AdmissionCheckStrategyRuleApplyConfiguration) WithOnFlavors ¶ added in v0.7.0
func (b *AdmissionCheckStrategyRuleApplyConfiguration) WithOnFlavors(values ...v1beta1.ResourceFlavorReference) *AdmissionCheckStrategyRuleApplyConfiguration
WithOnFlavors adds the given value to the OnFlavors 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 OnFlavors field.
type AdmissionChecksStrategyApplyConfiguration ¶ added in v0.7.0
type AdmissionChecksStrategyApplyConfiguration struct {
AdmissionChecks []AdmissionCheckStrategyRuleApplyConfiguration `json:"admissionChecks,omitempty"`
}
AdmissionChecksStrategyApplyConfiguration represents an declarative configuration of the AdmissionChecksStrategy type for use with apply.
func AdmissionChecksStrategy ¶ added in v0.7.0
func AdmissionChecksStrategy() *AdmissionChecksStrategyApplyConfiguration
AdmissionChecksStrategyApplyConfiguration constructs an declarative configuration of the AdmissionChecksStrategy type for use with apply.
func (*AdmissionChecksStrategyApplyConfiguration) WithAdmissionChecks ¶ added in v0.7.0
func (b *AdmissionChecksStrategyApplyConfiguration) WithAdmissionChecks(values ...*AdmissionCheckStrategyRuleApplyConfiguration) *AdmissionChecksStrategyApplyConfiguration
WithAdmissionChecks adds the given value to the AdmissionChecks 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 AdmissionChecks field.
type BorrowWithinCohortApplyConfiguration ¶ added in v0.6.0
type BorrowWithinCohortApplyConfiguration struct { Policy *v1beta1.BorrowWithinCohortPolicy `json:"policy,omitempty"` MaxPriorityThreshold *int32 `json:"maxPriorityThreshold,omitempty"` }
BorrowWithinCohortApplyConfiguration represents an declarative configuration of the BorrowWithinCohort type for use with apply.
func BorrowWithinCohort ¶ added in v0.6.0
func BorrowWithinCohort() *BorrowWithinCohortApplyConfiguration
BorrowWithinCohortApplyConfiguration constructs an declarative configuration of the BorrowWithinCohort type for use with apply.
func (*BorrowWithinCohortApplyConfiguration) WithMaxPriorityThreshold ¶ added in v0.6.0
func (b *BorrowWithinCohortApplyConfiguration) WithMaxPriorityThreshold(value int32) *BorrowWithinCohortApplyConfiguration
WithMaxPriorityThreshold sets the MaxPriorityThreshold field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxPriorityThreshold field is set to the value of the last call.
func (*BorrowWithinCohortApplyConfiguration) WithPolicy ¶ added in v0.6.0
func (b *BorrowWithinCohortApplyConfiguration) WithPolicy(value v1beta1.BorrowWithinCohortPolicy) *BorrowWithinCohortApplyConfiguration
WithPolicy sets the Policy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Policy field is set to the value of the last call.
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 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 ClusterQueuePendingWorkloadApplyConfiguration ¶ added in v0.5.0
type ClusterQueuePendingWorkloadApplyConfiguration struct { Name *string `json:"name,omitempty"` Namespace *string `json:"namespace,omitempty"` }
ClusterQueuePendingWorkloadApplyConfiguration represents an declarative configuration of the ClusterQueuePendingWorkload type for use with apply.
func ClusterQueuePendingWorkload ¶ added in v0.5.0
func ClusterQueuePendingWorkload() *ClusterQueuePendingWorkloadApplyConfiguration
ClusterQueuePendingWorkloadApplyConfiguration constructs an declarative configuration of the ClusterQueuePendingWorkload type for use with apply.
func (*ClusterQueuePendingWorkloadApplyConfiguration) WithName ¶ added in v0.5.0
func (b *ClusterQueuePendingWorkloadApplyConfiguration) WithName(value string) *ClusterQueuePendingWorkloadApplyConfiguration
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 (*ClusterQueuePendingWorkloadApplyConfiguration) WithNamespace ¶ added in v0.5.0
func (b *ClusterQueuePendingWorkloadApplyConfiguration) WithNamespace(value string) *ClusterQueuePendingWorkloadApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
type ClusterQueuePendingWorkloadsStatusApplyConfiguration ¶ added in v0.5.0
type ClusterQueuePendingWorkloadsStatusApplyConfiguration struct { Head []ClusterQueuePendingWorkloadApplyConfiguration `json:"clusterQueuePendingWorkload,omitempty"` LastChangeTime *v1.Time `json:"lastChangeTime,omitempty"` }
ClusterQueuePendingWorkloadsStatusApplyConfiguration represents an declarative configuration of the ClusterQueuePendingWorkloadsStatus type for use with apply.
func ClusterQueuePendingWorkloadsStatus ¶ added in v0.5.0
func ClusterQueuePendingWorkloadsStatus() *ClusterQueuePendingWorkloadsStatusApplyConfiguration
ClusterQueuePendingWorkloadsStatusApplyConfiguration constructs an declarative configuration of the ClusterQueuePendingWorkloadsStatus type for use with apply.
func (*ClusterQueuePendingWorkloadsStatusApplyConfiguration) WithHead ¶ added in v0.5.0
func (b *ClusterQueuePendingWorkloadsStatusApplyConfiguration) WithHead(values ...*ClusterQueuePendingWorkloadApplyConfiguration) *ClusterQueuePendingWorkloadsStatusApplyConfiguration
WithHead adds the given value to the Head 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 Head field.
func (*ClusterQueuePendingWorkloadsStatusApplyConfiguration) WithLastChangeTime ¶ added in v0.5.0
func (b *ClusterQueuePendingWorkloadsStatusApplyConfiguration) WithLastChangeTime(value v1.Time) *ClusterQueuePendingWorkloadsStatusApplyConfiguration
WithLastChangeTime sets the LastChangeTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastChangeTime field is set to the value of the last call.
type ClusterQueuePreemptionApplyConfiguration ¶
type ClusterQueuePreemptionApplyConfiguration struct { ReclaimWithinCohort *v1beta1.PreemptionPolicy `json:"reclaimWithinCohort,omitempty"` BorrowWithinCohort *BorrowWithinCohortApplyConfiguration `json:"borrowWithinCohort,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) WithBorrowWithinCohort ¶ added in v0.6.0
func (b *ClusterQueuePreemptionApplyConfiguration) WithBorrowWithinCohort(value *BorrowWithinCohortApplyConfiguration) *ClusterQueuePreemptionApplyConfiguration
WithBorrowWithinCohort sets the BorrowWithinCohort field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BorrowWithinCohort field is set to the value of the last call.
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"` FlavorFungibility *FlavorFungibilityApplyConfiguration `json:"flavorFungibility,omitempty"` Preemption *ClusterQueuePreemptionApplyConfiguration `json:"preemption,omitempty"` AdmissionChecks []string `json:"admissionChecks,omitempty"` AdmissionChecksStrategy *AdmissionChecksStrategyApplyConfiguration `json:"admissionChecksStrategy,omitempty"` StopPolicy *kueuev1beta1.StopPolicy `json:"stopPolicy,omitempty"` FairSharing *FairSharingApplyConfiguration `json:"fairSharing,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) WithAdmissionChecks ¶ added in v0.5.0
func (b *ClusterQueueSpecApplyConfiguration) WithAdmissionChecks(values ...string) *ClusterQueueSpecApplyConfiguration
WithAdmissionChecks adds the given value to the AdmissionChecks 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 AdmissionChecks field.
func (*ClusterQueueSpecApplyConfiguration) WithAdmissionChecksStrategy ¶ added in v0.7.0
func (b *ClusterQueueSpecApplyConfiguration) WithAdmissionChecksStrategy(value *AdmissionChecksStrategyApplyConfiguration) *ClusterQueueSpecApplyConfiguration
WithAdmissionChecksStrategy sets the AdmissionChecksStrategy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AdmissionChecksStrategy field is set to the value of the last call.
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) WithFairSharing ¶ added in v0.7.0
func (b *ClusterQueueSpecApplyConfiguration) WithFairSharing(value *FairSharingApplyConfiguration) *ClusterQueueSpecApplyConfiguration
WithFairSharing sets the FairSharing field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FairSharing field is set to the value of the last call.
func (*ClusterQueueSpecApplyConfiguration) WithFlavorFungibility ¶ added in v0.5.0
func (b *ClusterQueueSpecApplyConfiguration) WithFlavorFungibility(value *FlavorFungibilityApplyConfiguration) *ClusterQueueSpecApplyConfiguration
WithFlavorFungibility sets the FlavorFungibility field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FlavorFungibility 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.
func (*ClusterQueueSpecApplyConfiguration) WithStopPolicy ¶ added in v0.6.0
func (b *ClusterQueueSpecApplyConfiguration) WithStopPolicy(value kueuev1beta1.StopPolicy) *ClusterQueueSpecApplyConfiguration
WithStopPolicy sets the StopPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StopPolicy field is set to the value of the last call.
type ClusterQueueStatusApplyConfiguration ¶
type ClusterQueueStatusApplyConfiguration struct { FlavorsReservation []FlavorUsageApplyConfiguration `json:"flavorsReservation,omitempty"` FlavorsUsage []FlavorUsageApplyConfiguration `json:"flavorsUsage,omitempty"` PendingWorkloads *int32 `json:"pendingWorkloads,omitempty"` ReservingWorkloads *int32 `json:"reservingWorkloads,omitempty"` AdmittedWorkloads *int32 `json:"admittedWorkloads,omitempty"` Conditions []v1.Condition `json:"conditions,omitempty"` PendingWorkloadsStatus *ClusterQueuePendingWorkloadsStatusApplyConfiguration `json:"pendingWorkloadsStatus,omitempty"` FairSharing *FairSharingStatusApplyConfiguration `json:"fairSharing,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) WithFairSharing ¶ added in v0.7.0
func (b *ClusterQueueStatusApplyConfiguration) WithFairSharing(value *FairSharingStatusApplyConfiguration) *ClusterQueueStatusApplyConfiguration
WithFairSharing sets the FairSharing field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FairSharing field is set to the value of the last call.
func (*ClusterQueueStatusApplyConfiguration) WithFlavorsReservation ¶ added in v0.5.0
func (b *ClusterQueueStatusApplyConfiguration) WithFlavorsReservation(values ...*FlavorUsageApplyConfiguration) *ClusterQueueStatusApplyConfiguration
WithFlavorsReservation adds the given value to the FlavorsReservation 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 FlavorsReservation 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.
func (*ClusterQueueStatusApplyConfiguration) WithPendingWorkloadsStatus ¶ added in v0.5.0
func (b *ClusterQueueStatusApplyConfiguration) WithPendingWorkloadsStatus(value *ClusterQueuePendingWorkloadsStatusApplyConfiguration) *ClusterQueueStatusApplyConfiguration
WithPendingWorkloadsStatus sets the PendingWorkloadsStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PendingWorkloadsStatus field is set to the value of the last call.
func (*ClusterQueueStatusApplyConfiguration) WithReservingWorkloads ¶ added in v0.5.0
func (b *ClusterQueueStatusApplyConfiguration) WithReservingWorkloads(value int32) *ClusterQueueStatusApplyConfiguration
WithReservingWorkloads sets the ReservingWorkloads field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReservingWorkloads field is set to the value of the last call.
type FairSharingApplyConfiguration ¶ added in v0.7.0
FairSharingApplyConfiguration represents an declarative configuration of the FairSharing type for use with apply.
func FairSharing ¶ added in v0.7.0
func FairSharing() *FairSharingApplyConfiguration
FairSharingApplyConfiguration constructs an declarative configuration of the FairSharing type for use with apply.
func (*FairSharingApplyConfiguration) WithWeight ¶ added in v0.7.0
func (b *FairSharingApplyConfiguration) WithWeight(value resource.Quantity) *FairSharingApplyConfiguration
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 FairSharingStatusApplyConfiguration ¶ added in v0.7.0
type FairSharingStatusApplyConfiguration struct {
}FairSharingStatusApplyConfiguration represents an declarative configuration of the FairSharingStatus type for use with apply.
func FairSharingStatus ¶ added in v0.7.0
func FairSharingStatus() *FairSharingStatusApplyConfiguration
FairSharingStatusApplyConfiguration constructs an declarative configuration of the FairSharingStatus type for use with apply.
func (*FairSharingStatusApplyConfiguration) WithWeightedShare ¶ added in v0.7.0
func (b *FairSharingStatusApplyConfiguration) WithWeightedShare(value int64) *FairSharingStatusApplyConfiguration
WithWeightedShare sets the WeightedShare field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the WeightedShare field is set to the value of the last call.
type FlavorFungibilityApplyConfiguration ¶ added in v0.5.0
type FlavorFungibilityApplyConfiguration struct { WhenCanBorrow *v1beta1.FlavorFungibilityPolicy `json:"whenCanBorrow,omitempty"` WhenCanPreempt *v1beta1.FlavorFungibilityPolicy `json:"whenCanPreempt,omitempty"` }
FlavorFungibilityApplyConfiguration represents an declarative configuration of the FlavorFungibility type for use with apply.
func FlavorFungibility ¶ added in v0.5.0
func FlavorFungibility() *FlavorFungibilityApplyConfiguration
FlavorFungibilityApplyConfiguration constructs an declarative configuration of the FlavorFungibility type for use with apply.
func (*FlavorFungibilityApplyConfiguration) WithWhenCanBorrow ¶ added in v0.5.0
func (b *FlavorFungibilityApplyConfiguration) WithWhenCanBorrow(value v1beta1.FlavorFungibilityPolicy) *FlavorFungibilityApplyConfiguration
WithWhenCanBorrow sets the WhenCanBorrow field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the WhenCanBorrow field is set to the value of the last call.
func (*FlavorFungibilityApplyConfiguration) WithWhenCanPreempt ¶ added in v0.5.0
func (b *FlavorFungibilityApplyConfiguration) WithWhenCanPreempt(value v1beta1.FlavorFungibilityPolicy) *FlavorFungibilityApplyConfiguration
WithWhenCanPreempt sets the WhenCanPreempt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the WhenCanPreempt 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"` ReservingWorkloads *int32 `json:"reservingWorkloads,omitempty"` AdmittedWorkloads *int32 `json:"admittedWorkloads,omitempty"` Conditions []v1.Condition `json:"conditions,omitempty"` FlavorsReservation []LocalQueueFlavorUsageApplyConfiguration `json:"flavorsReservation,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) WithFlavorsReservation ¶ added in v0.5.0
func (b *LocalQueueStatusApplyConfiguration) WithFlavorsReservation(values ...*LocalQueueFlavorUsageApplyConfiguration) *LocalQueueStatusApplyConfiguration
WithFlavorsReservation adds the given value to the FlavorsReservation 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 FlavorsReservation 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.
func (*LocalQueueStatusApplyConfiguration) WithReservingWorkloads ¶ added in v0.5.0
func (b *LocalQueueStatusApplyConfiguration) WithReservingWorkloads(value int32) *LocalQueueStatusApplyConfiguration
WithReservingWorkloads sets the ReservingWorkloads field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReservingWorkloads 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 PodSetUpdateApplyConfiguration ¶ added in v0.5.0
type PodSetUpdateApplyConfiguration struct { Name *string `json:"name,omitempty"` Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` NodeSelector map[string]string `json:"nodeSelector,omitempty"` Tolerations []v1.Toleration `json:"tolerations,omitempty"` }
PodSetUpdateApplyConfiguration represents an declarative configuration of the PodSetUpdate type for use with apply.
func PodSetUpdate ¶ added in v0.5.0
func PodSetUpdate() *PodSetUpdateApplyConfiguration
PodSetUpdateApplyConfiguration constructs an declarative configuration of the PodSetUpdate type for use with apply.
func (*PodSetUpdateApplyConfiguration) WithAnnotations ¶ added in v0.5.0
func (b *PodSetUpdateApplyConfiguration) WithAnnotations(entries map[string]string) *PodSetUpdateApplyConfiguration
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 (*PodSetUpdateApplyConfiguration) WithLabels ¶ added in v0.5.0
func (b *PodSetUpdateApplyConfiguration) WithLabels(entries map[string]string) *PodSetUpdateApplyConfiguration
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 (*PodSetUpdateApplyConfiguration) WithName ¶ added in v0.5.0
func (b *PodSetUpdateApplyConfiguration) WithName(value string) *PodSetUpdateApplyConfiguration
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 (*PodSetUpdateApplyConfiguration) WithNodeSelector ¶ added in v0.5.0
func (b *PodSetUpdateApplyConfiguration) WithNodeSelector(entries map[string]string) *PodSetUpdateApplyConfiguration
WithNodeSelector puts the entries into the NodeSelector field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the NodeSelector field, overwriting an existing map entries in NodeSelector field with the same key.
func (*PodSetUpdateApplyConfiguration) WithTolerations ¶ added in v0.5.0
func (b *PodSetUpdateApplyConfiguration) WithTolerations(values ...v1.Toleration) *PodSetUpdateApplyConfiguration
WithTolerations adds the given value to the Tolerations 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 Tolerations field.
type ProvisioningRequestConfigApplyConfiguration ¶ added in v0.5.0
type ProvisioningRequestConfigApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *ProvisioningRequestConfigSpecApplyConfiguration `json:"spec,omitempty"` }
ProvisioningRequestConfigApplyConfiguration represents an declarative configuration of the ProvisioningRequestConfig type for use with apply.
func ProvisioningRequestConfig ¶ added in v0.5.0
func ProvisioningRequestConfig(name string) *ProvisioningRequestConfigApplyConfiguration
ProvisioningRequestConfig constructs an declarative configuration of the ProvisioningRequestConfig type for use with apply.
func (*ProvisioningRequestConfigApplyConfiguration) WithAPIVersion ¶ added in v0.5.0
func (b *ProvisioningRequestConfigApplyConfiguration) WithAPIVersion(value string) *ProvisioningRequestConfigApplyConfiguration
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 (*ProvisioningRequestConfigApplyConfiguration) WithAnnotations ¶ added in v0.5.0
func (b *ProvisioningRequestConfigApplyConfiguration) WithAnnotations(entries map[string]string) *ProvisioningRequestConfigApplyConfiguration
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 (*ProvisioningRequestConfigApplyConfiguration) WithCreationTimestamp ¶ added in v0.5.0
func (b *ProvisioningRequestConfigApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ProvisioningRequestConfigApplyConfiguration
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 (*ProvisioningRequestConfigApplyConfiguration) WithDeletionGracePeriodSeconds ¶ added in v0.5.0
func (b *ProvisioningRequestConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ProvisioningRequestConfigApplyConfiguration
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 (*ProvisioningRequestConfigApplyConfiguration) WithDeletionTimestamp ¶ added in v0.5.0
func (b *ProvisioningRequestConfigApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ProvisioningRequestConfigApplyConfiguration
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 (*ProvisioningRequestConfigApplyConfiguration) WithFinalizers ¶ added in v0.5.0
func (b *ProvisioningRequestConfigApplyConfiguration) WithFinalizers(values ...string) *ProvisioningRequestConfigApplyConfiguration
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 (*ProvisioningRequestConfigApplyConfiguration) WithGenerateName ¶ added in v0.5.0
func (b *ProvisioningRequestConfigApplyConfiguration) WithGenerateName(value string) *ProvisioningRequestConfigApplyConfiguration
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 (*ProvisioningRequestConfigApplyConfiguration) WithGeneration ¶ added in v0.5.0
func (b *ProvisioningRequestConfigApplyConfiguration) WithGeneration(value int64) *ProvisioningRequestConfigApplyConfiguration
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 (*ProvisioningRequestConfigApplyConfiguration) WithKind ¶ added in v0.5.0
func (b *ProvisioningRequestConfigApplyConfiguration) WithKind(value string) *ProvisioningRequestConfigApplyConfiguration
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 (*ProvisioningRequestConfigApplyConfiguration) WithLabels ¶ added in v0.5.0
func (b *ProvisioningRequestConfigApplyConfiguration) WithLabels(entries map[string]string) *ProvisioningRequestConfigApplyConfiguration
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 (*ProvisioningRequestConfigApplyConfiguration) WithName ¶ added in v0.5.0
func (b *ProvisioningRequestConfigApplyConfiguration) WithName(value string) *ProvisioningRequestConfigApplyConfiguration
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 (*ProvisioningRequestConfigApplyConfiguration) WithNamespace ¶ added in v0.5.0
func (b *ProvisioningRequestConfigApplyConfiguration) WithNamespace(value string) *ProvisioningRequestConfigApplyConfiguration
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 (*ProvisioningRequestConfigApplyConfiguration) WithOwnerReferences ¶ added in v0.5.0
func (b *ProvisioningRequestConfigApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ProvisioningRequestConfigApplyConfiguration
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 (*ProvisioningRequestConfigApplyConfiguration) WithResourceVersion ¶ added in v0.5.0
func (b *ProvisioningRequestConfigApplyConfiguration) WithResourceVersion(value string) *ProvisioningRequestConfigApplyConfiguration
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 (*ProvisioningRequestConfigApplyConfiguration) WithSpec ¶ added in v0.5.0
func (b *ProvisioningRequestConfigApplyConfiguration) WithSpec(value *ProvisioningRequestConfigSpecApplyConfiguration) *ProvisioningRequestConfigApplyConfiguration
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 (*ProvisioningRequestConfigApplyConfiguration) WithUID ¶ added in v0.5.0
func (b *ProvisioningRequestConfigApplyConfiguration) WithUID(value types.UID) *ProvisioningRequestConfigApplyConfiguration
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 ProvisioningRequestConfigSpecApplyConfiguration ¶ added in v0.5.0
type ProvisioningRequestConfigSpecApplyConfiguration struct { ProvisioningClassName *string `json:"provisioningClassName,omitempty"` Parameters map[string]v1beta1.Parameter `json:"parameters,omitempty"` ManagedResources []v1.ResourceName `json:"managedResources,omitempty"` }
ProvisioningRequestConfigSpecApplyConfiguration represents an declarative configuration of the ProvisioningRequestConfigSpec type for use with apply.
func ProvisioningRequestConfigSpec ¶ added in v0.5.0
func ProvisioningRequestConfigSpec() *ProvisioningRequestConfigSpecApplyConfiguration
ProvisioningRequestConfigSpecApplyConfiguration constructs an declarative configuration of the ProvisioningRequestConfigSpec type for use with apply.
func (*ProvisioningRequestConfigSpecApplyConfiguration) WithManagedResources ¶ added in v0.5.0
func (b *ProvisioningRequestConfigSpecApplyConfiguration) WithManagedResources(values ...v1.ResourceName) *ProvisioningRequestConfigSpecApplyConfiguration
WithManagedResources adds the given value to the ManagedResources 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 ManagedResources field.
func (*ProvisioningRequestConfigSpecApplyConfiguration) WithParameters ¶ added in v0.5.0
func (b *ProvisioningRequestConfigSpecApplyConfiguration) WithParameters(entries map[string]v1beta1.Parameter) *ProvisioningRequestConfigSpecApplyConfiguration
WithParameters puts the entries into the Parameters 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 Parameters field, overwriting an existing map entries in Parameters field with the same key.
func (*ProvisioningRequestConfigSpecApplyConfiguration) WithProvisioningClassName ¶ added in v0.5.0
func (b *ProvisioningRequestConfigSpecApplyConfiguration) WithProvisioningClassName(value string) *ProvisioningRequestConfigSpecApplyConfiguration
WithProvisioningClassName sets the ProvisioningClassName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProvisioningClassName 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 RequeueStateApplyConfiguration ¶ added in v0.6.0
type RequeueStateApplyConfiguration struct { Count *int32 `json:"count,omitempty"` RequeueAt *v1.Time `json:"requeueAt,omitempty"` }
RequeueStateApplyConfiguration represents an declarative configuration of the RequeueState type for use with apply.
func RequeueState ¶ added in v0.6.0
func RequeueState() *RequeueStateApplyConfiguration
RequeueStateApplyConfiguration constructs an declarative configuration of the RequeueState type for use with apply.
func (*RequeueStateApplyConfiguration) WithCount ¶ added in v0.6.0
func (b *RequeueStateApplyConfiguration) WithCount(value int32) *RequeueStateApplyConfiguration
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 (*RequeueStateApplyConfiguration) WithRequeueAt ¶ added in v0.6.0
func (b *RequeueStateApplyConfiguration) WithRequeueAt(value v1.Time) *RequeueStateApplyConfiguration
WithRequeueAt sets the RequeueAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RequeueAt 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 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"` Tolerations []v1.Toleration `json:"tolerations,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.
func (*ResourceFlavorSpecApplyConfiguration) WithTolerations ¶ added in v0.5.0
func (b *ResourceFlavorSpecApplyConfiguration) WithTolerations(values ...v1.Toleration) *ResourceFlavorSpecApplyConfiguration
WithTolerations adds the given value to the Tolerations 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 Tolerations 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"` LendingLimit *resource.Quantity `json:"lendingLimit,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) WithLendingLimit ¶ added in v0.6.0
func (b *ResourceQuotaApplyConfiguration) WithLendingLimit(value resource.Quantity) *ResourceQuotaApplyConfiguration
WithLendingLimit sets the LendingLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LendingLimit 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 WorkloadPriorityClassApplyConfiguration ¶ added in v0.5.0
type WorkloadPriorityClassApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Value *int32 `json:"value,omitempty"` Description *string `json:"description,omitempty"` }
WorkloadPriorityClassApplyConfiguration represents an declarative configuration of the WorkloadPriorityClass type for use with apply.
func WorkloadPriorityClass ¶ added in v0.5.0
func WorkloadPriorityClass(name string) *WorkloadPriorityClassApplyConfiguration
WorkloadPriorityClass constructs an declarative configuration of the WorkloadPriorityClass type for use with apply.
func (*WorkloadPriorityClassApplyConfiguration) WithAPIVersion ¶ added in v0.5.0
func (b *WorkloadPriorityClassApplyConfiguration) WithAPIVersion(value string) *WorkloadPriorityClassApplyConfiguration
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 (*WorkloadPriorityClassApplyConfiguration) WithAnnotations ¶ added in v0.5.0
func (b *WorkloadPriorityClassApplyConfiguration) WithAnnotations(entries map[string]string) *WorkloadPriorityClassApplyConfiguration
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 (*WorkloadPriorityClassApplyConfiguration) WithCreationTimestamp ¶ added in v0.5.0
func (b *WorkloadPriorityClassApplyConfiguration) WithCreationTimestamp(value metav1.Time) *WorkloadPriorityClassApplyConfiguration
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 (*WorkloadPriorityClassApplyConfiguration) WithDeletionGracePeriodSeconds ¶ added in v0.5.0
func (b *WorkloadPriorityClassApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *WorkloadPriorityClassApplyConfiguration
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 (*WorkloadPriorityClassApplyConfiguration) WithDeletionTimestamp ¶ added in v0.5.0
func (b *WorkloadPriorityClassApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *WorkloadPriorityClassApplyConfiguration
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 (*WorkloadPriorityClassApplyConfiguration) WithDescription ¶ added in v0.5.0
func (b *WorkloadPriorityClassApplyConfiguration) WithDescription(value string) *WorkloadPriorityClassApplyConfiguration
WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.
func (*WorkloadPriorityClassApplyConfiguration) WithFinalizers ¶ added in v0.5.0
func (b *WorkloadPriorityClassApplyConfiguration) WithFinalizers(values ...string) *WorkloadPriorityClassApplyConfiguration
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 (*WorkloadPriorityClassApplyConfiguration) WithGenerateName ¶ added in v0.5.0
func (b *WorkloadPriorityClassApplyConfiguration) WithGenerateName(value string) *WorkloadPriorityClassApplyConfiguration
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 (*WorkloadPriorityClassApplyConfiguration) WithGeneration ¶ added in v0.5.0
func (b *WorkloadPriorityClassApplyConfiguration) WithGeneration(value int64) *WorkloadPriorityClassApplyConfiguration
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 (*WorkloadPriorityClassApplyConfiguration) WithKind ¶ added in v0.5.0
func (b *WorkloadPriorityClassApplyConfiguration) WithKind(value string) *WorkloadPriorityClassApplyConfiguration
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 (*WorkloadPriorityClassApplyConfiguration) WithLabels ¶ added in v0.5.0
func (b *WorkloadPriorityClassApplyConfiguration) WithLabels(entries map[string]string) *WorkloadPriorityClassApplyConfiguration
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 (*WorkloadPriorityClassApplyConfiguration) WithName ¶ added in v0.5.0
func (b *WorkloadPriorityClassApplyConfiguration) WithName(value string) *WorkloadPriorityClassApplyConfiguration
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 (*WorkloadPriorityClassApplyConfiguration) WithNamespace ¶ added in v0.5.0
func (b *WorkloadPriorityClassApplyConfiguration) WithNamespace(value string) *WorkloadPriorityClassApplyConfiguration
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 (*WorkloadPriorityClassApplyConfiguration) WithOwnerReferences ¶ added in v0.5.0
func (b *WorkloadPriorityClassApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *WorkloadPriorityClassApplyConfiguration
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 (*WorkloadPriorityClassApplyConfiguration) WithResourceVersion ¶ added in v0.5.0
func (b *WorkloadPriorityClassApplyConfiguration) WithResourceVersion(value string) *WorkloadPriorityClassApplyConfiguration
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 (*WorkloadPriorityClassApplyConfiguration) WithUID ¶ added in v0.5.0
func (b *WorkloadPriorityClassApplyConfiguration) WithUID(value types.UID) *WorkloadPriorityClassApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
func (*WorkloadPriorityClassApplyConfiguration) WithValue ¶ added in v0.5.0
func (b *WorkloadPriorityClassApplyConfiguration) WithValue(value int32) *WorkloadPriorityClassApplyConfiguration
WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value 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"` PriorityClassSource *string `json:"priorityClassSource,omitempty"` Active *bool `json:"active,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) WithActive ¶ added in v0.6.0
func (b *WorkloadSpecApplyConfiguration) WithActive(value bool) *WorkloadSpecApplyConfiguration
WithActive sets the Active field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Active field is set to the value of the last call.
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) WithPriorityClassSource ¶ added in v0.5.0
func (b *WorkloadSpecApplyConfiguration) WithPriorityClassSource(value string) *WorkloadSpecApplyConfiguration
WithPriorityClassSource sets the PriorityClassSource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PriorityClassSource 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"` RequeueState *RequeueStateApplyConfiguration `json:"requeueState,omitempty"` Conditions []v1.Condition `json:"conditions,omitempty"` ReclaimablePods []ReclaimablePodApplyConfiguration `json:"reclaimablePods,omitempty"` AdmissionChecks []AdmissionCheckStateApplyConfiguration `json:"admissionChecks,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) WithAdmissionChecks ¶ added in v0.5.0
func (b *WorkloadStatusApplyConfiguration) WithAdmissionChecks(values ...*AdmissionCheckStateApplyConfiguration) *WorkloadStatusApplyConfiguration
WithAdmissionChecks adds the given value to the AdmissionChecks 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 AdmissionChecks field.
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.
func (*WorkloadStatusApplyConfiguration) WithRequeueState ¶ added in v0.6.0
func (b *WorkloadStatusApplyConfiguration) WithRequeueState(value *RequeueStateApplyConfiguration) *WorkloadStatusApplyConfiguration
WithRequeueState sets the RequeueState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RequeueState field is set to the value of the last call.
Source Files ¶
- admission.go
- admissioncheck.go
- admissioncheckparametersreference.go
- admissioncheckspec.go
- admissionchecksstrategy.go
- admissioncheckstate.go
- admissioncheckstatus.go
- admissioncheckstrategyrule.go
- borrowwithincohort.go
- clusterqueue.go
- clusterqueuependingworkload.go
- clusterqueuependingworkloadsstatus.go
- clusterqueuepreemption.go
- clusterqueuespec.go
- clusterqueuestatus.go
- fairsharing.go
- fairsharingstatus.go
- flavorfungibility.go
- flavorquotas.go
- flavorusage.go
- localqueue.go
- localqueueflavorusage.go
- localqueueresourceusage.go
- localqueuespec.go
- localqueuestatus.go
- podset.go
- podsetassignment.go
- podsetupdate.go
- provisioningrequestconfig.go
- provisioningrequestconfigspec.go
- reclaimablepod.go
- requeuestate.go
- resourceflavor.go
- resourceflavorspec.go
- resourcegroup.go
- resourcequota.go
- resourceusage.go
- workload.go
- workloadpriorityclass.go
- workloadspec.go
- workloadstatus.go