v1beta1

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 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 ClusterQueueApplyConfiguration

type ClusterQueueApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ClusterQueueSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *ClusterQueueStatusApplyConfiguration `json:"status,omitempty"`
}

ClusterQueueApplyConfiguration represents an declarative configuration of the ClusterQueue type for use with apply.

func ClusterQueue

func ClusterQueue(name, namespace string) *ClusterQueueApplyConfiguration

ClusterQueue constructs an declarative configuration of the ClusterQueue type for use with apply.

func (*ClusterQueueApplyConfiguration) WithAPIVersion

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 ClusterQueuePreemptionApplyConfiguration

type ClusterQueuePreemptionApplyConfiguration struct {
	ReclaimWithinCohort *v1beta1.PreemptionPolicy `json:"reclaimWithinCohort,omitempty"`
	WithinClusterQueue  *v1beta1.PreemptionPolicy `json:"withinClusterQueue,omitempty"`
}

ClusterQueuePreemptionApplyConfiguration represents an declarative configuration of the ClusterQueuePreemption type for use with apply.

func ClusterQueuePreemption

func ClusterQueuePreemption() *ClusterQueuePreemptionApplyConfiguration

ClusterQueuePreemptionApplyConfiguration constructs an declarative configuration of the ClusterQueuePreemption type for use with apply.

func (*ClusterQueuePreemptionApplyConfiguration) WithReclaimWithinCohort

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"`
	Preemption        *ClusterQueuePreemptionApplyConfiguration `json:"preemption,omitempty"`
}

ClusterQueueSpecApplyConfiguration represents an declarative configuration of the ClusterQueueSpec type for use with apply.

func ClusterQueueSpec

func ClusterQueueSpec() *ClusterQueueSpecApplyConfiguration

ClusterQueueSpecApplyConfiguration constructs an declarative configuration of the ClusterQueueSpec type for use with apply.

func (*ClusterQueueSpecApplyConfiguration) WithCohort

WithCohort sets the Cohort field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Cohort field is set to the value of the last call.

func (*ClusterQueueSpecApplyConfiguration) WithNamespaceSelector

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.

type ClusterQueueStatusApplyConfiguration

type ClusterQueueStatusApplyConfiguration struct {
	FlavorsUsage      []FlavorUsageApplyConfiguration `json:"flavorsUsage,omitempty"`
	PendingWorkloads  *int32                          `json:"pendingWorkloads,omitempty"`
	AdmittedWorkloads *int32                          `json:"admittedWorkloads,omitempty"`
	Conditions        []v1.Condition                  `json:"conditions,omitempty"`
}

ClusterQueueStatusApplyConfiguration represents an declarative configuration of the ClusterQueueStatus type for use with apply.

func ClusterQueueStatus

func ClusterQueueStatus() *ClusterQueueStatusApplyConfiguration

ClusterQueueStatusApplyConfiguration constructs an declarative configuration of the ClusterQueueStatus type for use with apply.

func (*ClusterQueueStatusApplyConfiguration) WithAdmittedWorkloads

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) 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.

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"`
	AdmittedWorkloads *int32                                    `json:"admittedWorkloads,omitempty"`
	Conditions        []v1.Condition                            `json:"conditions:omitempty,omitempty"`
	FlavorUsage       []LocalQueueFlavorUsageApplyConfiguration `json:"flavorUsage,omitempty"`
}

LocalQueueStatusApplyConfiguration represents an declarative configuration of the LocalQueueStatus type for use with apply.

func LocalQueueStatus

func LocalQueueStatus() *LocalQueueStatusApplyConfiguration

LocalQueueStatusApplyConfiguration constructs an declarative configuration of the LocalQueueStatus type for use with apply.

func (*LocalQueueStatusApplyConfiguration) WithAdmittedWorkloads

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) 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.

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 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 ResourceFlavorApplyConfiguration

type ResourceFlavorApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *ResourceFlavorSpecApplyConfiguration `json:"spec,omitempty"`
}

ResourceFlavorApplyConfiguration represents an declarative configuration of the ResourceFlavor type for use with apply.

func ResourceFlavor

func ResourceFlavor(name, namespace string) *ResourceFlavorApplyConfiguration

ResourceFlavor constructs an declarative configuration of the ResourceFlavor type for use with apply.

func (*ResourceFlavorApplyConfiguration) WithAPIVersion

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"`
}

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.

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"`
}

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) 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 WorkloadSpecApplyConfiguration

type WorkloadSpecApplyConfiguration struct {
	PodSets           []PodSetApplyConfiguration `json:"podSets,omitempty"`
	QueueName         *string                    `json:"queueName,omitempty"`
	PriorityClassName *string                    `json:"priorityClassName,omitempty"`
	Priority          *int32                     `json:"priority,omitempty"`
}

WorkloadSpecApplyConfiguration represents an declarative configuration of the WorkloadSpec type for use with apply.

func WorkloadSpec

func WorkloadSpec() *WorkloadSpecApplyConfiguration

WorkloadSpecApplyConfiguration constructs an declarative configuration of the WorkloadSpec type for use with apply.

func (*WorkloadSpecApplyConfiguration) WithPodSets

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) 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"`
	Conditions      []v1.Condition                     `json:"conditions,omitempty"`
	ReclaimablePods []ReclaimablePodApplyConfiguration `json:"reclaimablePods,omitempty"`
}

WorkloadStatusApplyConfiguration represents an declarative configuration of the WorkloadStatus type for use with apply.

func WorkloadStatus

func WorkloadStatus() *WorkloadStatusApplyConfiguration

WorkloadStatusApplyConfiguration constructs an declarative configuration of the WorkloadStatus type for use with apply.

func (*WorkloadStatusApplyConfiguration) WithAdmission

WithAdmission sets the Admission field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Admission field is set to the value of the last call.

func (*WorkloadStatusApplyConfiguration) WithConditions

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.

Jump to

Keyboard shortcuts

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