v1beta1

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AffinityApplyConfiguration

type AffinityApplyConfiguration struct {
	NodeGroupAffinity     *NodeGroupAffinityApplyConfiguration     `json:"nodeGroupAffinity,omitempty"`
	NodeGroupAntiAffinity *NodeGroupAntiAffinityApplyConfiguration `json:"nodeGroupAntiAffinity,omitempty"`
}

AffinityApplyConfiguration represents an declarative configuration of the Affinity type for use with apply.

func Affinity

func Affinity() *AffinityApplyConfiguration

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

func (*AffinityApplyConfiguration) WithNodeGroupAffinity

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

func (*AffinityApplyConfiguration) WithNodeGroupAntiAffinity

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

type ClusterApplyConfiguration

type ClusterApplyConfiguration struct {
	Name     *string          `json:"name,omitempty"`
	Weight   *int32           `json:"weight,omitempty"`
	Capacity *v1.ResourceList `json:"capacity,omitempty"`
}

ClusterApplyConfiguration represents an declarative configuration of the Cluster type for use with apply.

func Cluster

func Cluster() *ClusterApplyConfiguration

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

func (*ClusterApplyConfiguration) WithCapacity

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

func (*ClusterApplyConfiguration) WithName

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

func (*ClusterApplyConfiguration) WithWeight

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

type GuaranteeApplyConfiguration

type GuaranteeApplyConfiguration struct {
	Resource *v1.ResourceList `json:"resource,omitempty"`
}

GuaranteeApplyConfiguration represents an declarative configuration of the Guarantee type for use with apply.

func Guarantee

func Guarantee() *GuaranteeApplyConfiguration

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

func (*GuaranteeApplyConfiguration) WithResource

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

type NodeGroupAffinityApplyConfiguration

type NodeGroupAffinityApplyConfiguration struct {
	RequiredDuringSchedulingIgnoredDuringExecution  []string `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
	PreferredDuringSchedulingIgnoredDuringExecution []string `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
}

NodeGroupAffinityApplyConfiguration represents an declarative configuration of the NodeGroupAffinity type for use with apply.

func NodeGroupAffinity

func NodeGroupAffinity() *NodeGroupAffinityApplyConfiguration

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

func (*NodeGroupAffinityApplyConfiguration) WithPreferredDuringSchedulingIgnoredDuringExecution

func (b *NodeGroupAffinityApplyConfiguration) WithPreferredDuringSchedulingIgnoredDuringExecution(values ...string) *NodeGroupAffinityApplyConfiguration

WithPreferredDuringSchedulingIgnoredDuringExecution adds the given value to the PreferredDuringSchedulingIgnoredDuringExecution field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PreferredDuringSchedulingIgnoredDuringExecution field.

func (*NodeGroupAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution

func (b *NodeGroupAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution(values ...string) *NodeGroupAffinityApplyConfiguration

WithRequiredDuringSchedulingIgnoredDuringExecution adds the given value to the RequiredDuringSchedulingIgnoredDuringExecution field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the RequiredDuringSchedulingIgnoredDuringExecution field.

type NodeGroupAntiAffinityApplyConfiguration

type NodeGroupAntiAffinityApplyConfiguration struct {
	RequiredDuringSchedulingIgnoredDuringExecution  []string `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"`
	PreferredDuringSchedulingIgnoredDuringExecution []string `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"`
}

NodeGroupAntiAffinityApplyConfiguration represents an declarative configuration of the NodeGroupAntiAffinity type for use with apply.

func NodeGroupAntiAffinity

func NodeGroupAntiAffinity() *NodeGroupAntiAffinityApplyConfiguration

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

func (*NodeGroupAntiAffinityApplyConfiguration) WithPreferredDuringSchedulingIgnoredDuringExecution

func (b *NodeGroupAntiAffinityApplyConfiguration) WithPreferredDuringSchedulingIgnoredDuringExecution(values ...string) *NodeGroupAntiAffinityApplyConfiguration

WithPreferredDuringSchedulingIgnoredDuringExecution adds the given value to the PreferredDuringSchedulingIgnoredDuringExecution field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PreferredDuringSchedulingIgnoredDuringExecution field.

func (*NodeGroupAntiAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution

func (b *NodeGroupAntiAffinityApplyConfiguration) WithRequiredDuringSchedulingIgnoredDuringExecution(values ...string) *NodeGroupAntiAffinityApplyConfiguration

WithRequiredDuringSchedulingIgnoredDuringExecution adds the given value to the RequiredDuringSchedulingIgnoredDuringExecution field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the RequiredDuringSchedulingIgnoredDuringExecution field.

type PodGroupApplyConfiguration

type PodGroupApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PodGroupSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *PodGroupStatusApplyConfiguration `json:"status,omitempty"`
}

PodGroupApplyConfiguration represents an declarative configuration of the PodGroup type for use with apply.

func PodGroup

func PodGroup(name, namespace string) *PodGroupApplyConfiguration

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

func (*PodGroupApplyConfiguration) WithAPIVersion

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

func (*PodGroupApplyConfiguration) WithAnnotations

func (b *PodGroupApplyConfiguration) WithAnnotations(entries map[string]string) *PodGroupApplyConfiguration

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*PodGroupApplyConfiguration) WithCreationTimestamp

func (b *PodGroupApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PodGroupApplyConfiguration

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

func (*PodGroupApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *PodGroupApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PodGroupApplyConfiguration

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

func (*PodGroupApplyConfiguration) WithDeletionTimestamp

func (b *PodGroupApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PodGroupApplyConfiguration

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

func (*PodGroupApplyConfiguration) WithFinalizers

func (b *PodGroupApplyConfiguration) WithFinalizers(values ...string) *PodGroupApplyConfiguration

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*PodGroupApplyConfiguration) WithGenerateName

func (b *PodGroupApplyConfiguration) WithGenerateName(value string) *PodGroupApplyConfiguration

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

func (*PodGroupApplyConfiguration) WithGeneration

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

func (*PodGroupApplyConfiguration) WithKind

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

func (*PodGroupApplyConfiguration) WithLabels

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*PodGroupApplyConfiguration) WithName

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

func (*PodGroupApplyConfiguration) WithNamespace

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

func (*PodGroupApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*PodGroupApplyConfiguration) WithResourceVersion

func (b *PodGroupApplyConfiguration) WithResourceVersion(value string) *PodGroupApplyConfiguration

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

func (*PodGroupApplyConfiguration) WithSpec

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

func (*PodGroupApplyConfiguration) WithStatus

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

func (*PodGroupApplyConfiguration) WithUID

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

type PodGroupConditionApplyConfiguration

type PodGroupConditionApplyConfiguration struct {
	Type               *v1beta1.PodGroupConditionType `json:"type,omitempty"`
	Status             *v1.ConditionStatus            `json:"status,omitempty"`
	TransitionID       *string                        `json:"transitionID,omitempty"`
	LastTransitionTime *metav1.Time                   `json:"lastTransitionTime,omitempty"`
	Reason             *string                        `json:"reason,omitempty"`
	Message            *string                        `json:"message,omitempty"`
}

PodGroupConditionApplyConfiguration represents an declarative configuration of the PodGroupCondition type for use with apply.

func PodGroupCondition

func PodGroupCondition() *PodGroupConditionApplyConfiguration

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

func (*PodGroupConditionApplyConfiguration) WithLastTransitionTime

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

func (*PodGroupConditionApplyConfiguration) WithMessage

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

func (*PodGroupConditionApplyConfiguration) WithReason

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

func (*PodGroupConditionApplyConfiguration) WithStatus

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

func (*PodGroupConditionApplyConfiguration) WithTransitionID

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

func (*PodGroupConditionApplyConfiguration) WithType

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

type PodGroupSpecApplyConfiguration

type PodGroupSpecApplyConfiguration struct {
	MinMember         *int32           `json:"minMember,omitempty"`
	MinTaskMember     map[string]int32 `json:"minTaskMember,omitempty"`
	Queue             *string          `json:"queue,omitempty"`
	PriorityClassName *string          `json:"priorityClassName,omitempty"`
	MinResources      *v1.ResourceList `json:"minResources,omitempty"`
}

PodGroupSpecApplyConfiguration represents an declarative configuration of the PodGroupSpec type for use with apply.

func PodGroupSpec

func PodGroupSpec() *PodGroupSpecApplyConfiguration

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

func (*PodGroupSpecApplyConfiguration) WithMinMember

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

func (*PodGroupSpecApplyConfiguration) WithMinResources

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

func (*PodGroupSpecApplyConfiguration) WithMinTaskMember

WithMinTaskMember puts the entries into the MinTaskMember field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the MinTaskMember field, overwriting an existing map entries in MinTaskMember field with the same key.

func (*PodGroupSpecApplyConfiguration) WithPriorityClassName

func (b *PodGroupSpecApplyConfiguration) WithPriorityClassName(value string) *PodGroupSpecApplyConfiguration

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

func (*PodGroupSpecApplyConfiguration) WithQueue

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

type PodGroupStatusApplyConfiguration

type PodGroupStatusApplyConfiguration struct {
	Phase      *v1beta1.PodGroupPhase                `json:"phase,omitempty"`
	Conditions []PodGroupConditionApplyConfiguration `json:"conditions,omitempty"`
	Running    *int32                                `json:"running,omitempty"`
	Succeeded  *int32                                `json:"succeeded,omitempty"`
	Failed     *int32                                `json:"failed,omitempty"`
}

PodGroupStatusApplyConfiguration represents an declarative configuration of the PodGroupStatus type for use with apply.

func PodGroupStatus

func PodGroupStatus() *PodGroupStatusApplyConfiguration

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

func (*PodGroupStatusApplyConfiguration) WithConditions

WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.

func (*PodGroupStatusApplyConfiguration) WithFailed

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

func (*PodGroupStatusApplyConfiguration) WithPhase

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

func (*PodGroupStatusApplyConfiguration) WithRunning

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

func (*PodGroupStatusApplyConfiguration) WithSucceeded

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

type QueueApplyConfiguration

type QueueApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *QueueSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *QueueStatusApplyConfiguration `json:"status,omitempty"`
}

QueueApplyConfiguration represents an declarative configuration of the Queue type for use with apply.

func Queue

func Queue(name string) *QueueApplyConfiguration

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

func (*QueueApplyConfiguration) WithAPIVersion

func (b *QueueApplyConfiguration) WithAPIVersion(value string) *QueueApplyConfiguration

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

func (*QueueApplyConfiguration) WithAnnotations

func (b *QueueApplyConfiguration) WithAnnotations(entries map[string]string) *QueueApplyConfiguration

WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.

func (*QueueApplyConfiguration) WithCreationTimestamp

func (b *QueueApplyConfiguration) WithCreationTimestamp(value metav1.Time) *QueueApplyConfiguration

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

func (*QueueApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *QueueApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *QueueApplyConfiguration

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

func (*QueueApplyConfiguration) WithDeletionTimestamp

func (b *QueueApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *QueueApplyConfiguration

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

func (*QueueApplyConfiguration) WithFinalizers

func (b *QueueApplyConfiguration) WithFinalizers(values ...string) *QueueApplyConfiguration

WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.

func (*QueueApplyConfiguration) WithGenerateName

func (b *QueueApplyConfiguration) WithGenerateName(value string) *QueueApplyConfiguration

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

func (*QueueApplyConfiguration) WithGeneration

func (b *QueueApplyConfiguration) WithGeneration(value int64) *QueueApplyConfiguration

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

func (*QueueApplyConfiguration) WithKind

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

func (*QueueApplyConfiguration) WithLabels

func (b *QueueApplyConfiguration) WithLabels(entries map[string]string) *QueueApplyConfiguration

WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.

func (*QueueApplyConfiguration) WithName

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

func (*QueueApplyConfiguration) WithNamespace

func (b *QueueApplyConfiguration) WithNamespace(value string) *QueueApplyConfiguration

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

func (*QueueApplyConfiguration) WithOwnerReferences

WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.

func (*QueueApplyConfiguration) WithResourceVersion

func (b *QueueApplyConfiguration) WithResourceVersion(value string) *QueueApplyConfiguration

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

func (*QueueApplyConfiguration) WithSpec

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

func (*QueueApplyConfiguration) WithStatus

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

func (*QueueApplyConfiguration) WithUID

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

type QueueSpecApplyConfiguration

type QueueSpecApplyConfiguration struct {
	Weight         *int32                       `json:"weight,omitempty"`
	Capability     *v1.ResourceList             `json:"capability,omitempty"`
	Reclaimable    *bool                        `json:"reclaimable,omitempty"`
	ExtendClusters []ClusterApplyConfiguration  `json:"extendClusters,omitempty"`
	Guarantee      *GuaranteeApplyConfiguration `json:"guarantee,omitempty"`
	Affinity       *AffinityApplyConfiguration  `json:"affinity,omitempty"`
	Type           *string                      `json:"type,omitempty"`
	Parent         *string                      `json:"parent,omitempty"`
	Deserved       *v1.ResourceList             `json:"deserved,omitempty"`
	Priority       *int32                       `json:"priority,omitempty"`
}

QueueSpecApplyConfiguration represents an declarative configuration of the QueueSpec type for use with apply.

func QueueSpec

func QueueSpec() *QueueSpecApplyConfiguration

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

func (*QueueSpecApplyConfiguration) WithAffinity

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

func (*QueueSpecApplyConfiguration) WithCapability

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

func (*QueueSpecApplyConfiguration) WithDeserved

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

func (*QueueSpecApplyConfiguration) WithExtendClusters

WithExtendClusters adds the given value to the ExtendClusters field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ExtendClusters field.

func (*QueueSpecApplyConfiguration) WithGuarantee

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

func (*QueueSpecApplyConfiguration) WithParent

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

func (*QueueSpecApplyConfiguration) WithPriority

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

func (*QueueSpecApplyConfiguration) WithReclaimable

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

func (*QueueSpecApplyConfiguration) WithType

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

func (*QueueSpecApplyConfiguration) WithWeight

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

type QueueStatusApplyConfiguration

type QueueStatusApplyConfiguration struct {
	State       *v1beta1.QueueState            `json:"state,omitempty"`
	Unknown     *int32                         `json:"unknown,omitempty"`
	Pending     *int32                         `json:"pending,omitempty"`
	Running     *int32                         `json:"running,omitempty"`
	Inqueue     *int32                         `json:"inqueue,omitempty"`
	Completed   *int32                         `json:"completed,omitempty"`
	Reservation *ReservationApplyConfiguration `json:"reservation,omitempty"`
	Allocated   *v1.ResourceList               `json:"allocated,omitempty"`
}

QueueStatusApplyConfiguration represents an declarative configuration of the QueueStatus type for use with apply.

func QueueStatus

func QueueStatus() *QueueStatusApplyConfiguration

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

func (*QueueStatusApplyConfiguration) WithAllocated

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

func (*QueueStatusApplyConfiguration) WithCompleted

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

func (*QueueStatusApplyConfiguration) WithInqueue

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

func (*QueueStatusApplyConfiguration) WithPending

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

func (*QueueStatusApplyConfiguration) WithReservation

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

func (*QueueStatusApplyConfiguration) WithRunning

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

func (*QueueStatusApplyConfiguration) WithState

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

func (*QueueStatusApplyConfiguration) WithUnknown

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

type ReservationApplyConfiguration

type ReservationApplyConfiguration struct {
	Nodes    []string         `json:"nodes,omitempty"`
	Resource *v1.ResourceList `json:"resource,omitempty"`
}

ReservationApplyConfiguration represents an declarative configuration of the Reservation type for use with apply.

func Reservation

func Reservation() *ReservationApplyConfiguration

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

func (*ReservationApplyConfiguration) WithNodes

WithNodes adds the given value to the Nodes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Nodes field.

func (*ReservationApplyConfiguration) WithResource

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

Jump to

Keyboard shortcuts

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