v1beta1

package
v0.7.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

type FairSharingApplyConfiguration struct {
	Weight *resource.Quantity `json:"weight,omitempty"`
}

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

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 {
	WeightedShare *int64 `json:"weightedShare,omitempty"`
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL