v1

package
v2023.0.0-...-dfeca2b Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DaskAutoscalerApplyConfiguration

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

DaskAutoscalerApplyConfiguration represents an declarative configuration of the DaskAutoscaler type for use with apply.

func DaskAutoscaler

func DaskAutoscaler(name, namespace string) *DaskAutoscalerApplyConfiguration

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

func (*DaskAutoscalerApplyConfiguration) 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 (*DaskAutoscalerApplyConfiguration) 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 (*DaskAutoscalerApplyConfiguration) 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 (*DaskAutoscalerApplyConfiguration) WithDeletionGracePeriodSeconds

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

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 (*DaskAutoscalerApplyConfiguration) 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 (*DaskAutoscalerApplyConfiguration) 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 (*DaskAutoscalerApplyConfiguration) 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 (*DaskAutoscalerApplyConfiguration) 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 (*DaskAutoscalerApplyConfiguration) 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 (*DaskAutoscalerApplyConfiguration) 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 (*DaskAutoscalerApplyConfiguration) 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 (*DaskAutoscalerApplyConfiguration) 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 (*DaskAutoscalerApplyConfiguration) 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 (*DaskAutoscalerApplyConfiguration) 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 (*DaskAutoscalerApplyConfiguration) 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 (*DaskAutoscalerApplyConfiguration) 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 DaskAutoscalerSpecApplyConfiguration

type DaskAutoscalerSpecApplyConfiguration struct {
	Cluster *string `json:"cluster,omitempty"`
	Minimum *string `json:"minimum,omitempty"`
	Maximum *string `json:"maximum,omitempty"`
}

DaskAutoscalerSpecApplyConfiguration represents an declarative configuration of the DaskAutoscalerSpec type for use with apply.

func DaskAutoscalerSpec

func DaskAutoscalerSpec() *DaskAutoscalerSpecApplyConfiguration

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

func (*DaskAutoscalerSpecApplyConfiguration) WithCluster

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

func (*DaskAutoscalerSpecApplyConfiguration) WithMaximum

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

func (*DaskAutoscalerSpecApplyConfiguration) WithMinimum

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

type DaskClusterApplyConfiguration

type DaskClusterApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *DaskClusterSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *DaskClusterStatusApplyConfiguration `json:"status,omitempty"`
}

DaskClusterApplyConfiguration represents an declarative configuration of the DaskCluster type for use with apply.

func DaskCluster

func DaskCluster(name, namespace string) *DaskClusterApplyConfiguration

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

func (*DaskClusterApplyConfiguration) 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 (*DaskClusterApplyConfiguration) 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 (*DaskClusterApplyConfiguration) 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 (*DaskClusterApplyConfiguration) WithDeletionGracePeriodSeconds

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

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 (*DaskClusterApplyConfiguration) 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 (*DaskClusterApplyConfiguration) 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 (*DaskClusterApplyConfiguration) 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 (*DaskClusterApplyConfiguration) 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 (*DaskClusterApplyConfiguration) 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 (*DaskClusterApplyConfiguration) 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 (*DaskClusterApplyConfiguration) 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 (*DaskClusterApplyConfiguration) 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 (*DaskClusterApplyConfiguration) 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 (*DaskClusterApplyConfiguration) 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 (*DaskClusterApplyConfiguration) 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 (*DaskClusterApplyConfiguration) 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 (*DaskClusterApplyConfiguration) 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 DaskClusterSpecApplyConfiguration

type DaskClusterSpecApplyConfiguration struct {
	Worker    *WorkerSpecApplyConfiguration    `json:"worker,omitempty"`
	Scheduler *SchedulerSpecApplyConfiguration `json:"scheduler,omitempty"`
}

DaskClusterSpecApplyConfiguration represents an declarative configuration of the DaskClusterSpec type for use with apply.

func DaskClusterSpec

func DaskClusterSpec() *DaskClusterSpecApplyConfiguration

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

func (*DaskClusterSpecApplyConfiguration) WithScheduler

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

func (*DaskClusterSpecApplyConfiguration) WithWorker

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

type DaskClusterStatusApplyConfiguration

type DaskClusterStatusApplyConfiguration struct {
	Phase *v1.DaskClusterPhase `json:"phase,omitempty"`
}

DaskClusterStatusApplyConfiguration represents an declarative configuration of the DaskClusterStatus type for use with apply.

func DaskClusterStatus

func DaskClusterStatus() *DaskClusterStatusApplyConfiguration

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

func (*DaskClusterStatusApplyConfiguration) 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.

type DaskJobApplyConfiguration

type DaskJobApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *DaskJobSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *DaskJobStatusApplyConfiguration `json:"status,omitempty"`
}

DaskJobApplyConfiguration represents an declarative configuration of the DaskJob type for use with apply.

func DaskJob

func DaskJob(name, namespace string) *DaskJobApplyConfiguration

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

func (*DaskJobApplyConfiguration) 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 (*DaskJobApplyConfiguration) WithAnnotations

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

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 (*DaskJobApplyConfiguration) WithCreationTimestamp

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

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 (*DaskJobApplyConfiguration) WithDeletionGracePeriodSeconds

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

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 (*DaskJobApplyConfiguration) WithDeletionTimestamp

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

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 (*DaskJobApplyConfiguration) WithFinalizers

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

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 (*DaskJobApplyConfiguration) WithGenerateName

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

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 (*DaskJobApplyConfiguration) WithGeneration

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

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 (*DaskJobApplyConfiguration) 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 (*DaskJobApplyConfiguration) 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 (*DaskJobApplyConfiguration) 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 (*DaskJobApplyConfiguration) 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 (*DaskJobApplyConfiguration) 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 (*DaskJobApplyConfiguration) WithResourceVersion

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

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 (*DaskJobApplyConfiguration) 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 (*DaskJobApplyConfiguration) 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 (*DaskJobApplyConfiguration) 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 DaskJobSpecApplyConfiguration

type DaskJobSpecApplyConfiguration struct {
	Job     *JobSpecApplyConfiguration     `json:"job,omitempty"`
	Cluster *DaskClusterApplyConfiguration `json:"cluster,omitempty"`
}

DaskJobSpecApplyConfiguration represents an declarative configuration of the DaskJobSpec type for use with apply.

func DaskJobSpec

func DaskJobSpec() *DaskJobSpecApplyConfiguration

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

func (*DaskJobSpecApplyConfiguration) WithCluster

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

func (*DaskJobSpecApplyConfiguration) WithJob

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

type DaskJobStatusApplyConfiguration

type DaskJobStatusApplyConfiguration struct {
	ClusterName      *string                        `json:"clusterName,omitempty"`
	EndTime          *v1.Time                       `json:"endTime,omitempty"`
	JobRunnerPodName *string                        `json:"jobRunnerPodName,omitempty"`
	JobStatus        *kubernetesdaskorgv1.JobStatus `json:"jobStatus,omitempty"`
	StartTime        *v1.Time                       `json:"startTime,omitempty"`
}

DaskJobStatusApplyConfiguration represents an declarative configuration of the DaskJobStatus type for use with apply.

func DaskJobStatus

func DaskJobStatus() *DaskJobStatusApplyConfiguration

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

func (*DaskJobStatusApplyConfiguration) WithClusterName

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

func (*DaskJobStatusApplyConfiguration) WithEndTime

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

func (*DaskJobStatusApplyConfiguration) WithJobRunnerPodName

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

func (*DaskJobStatusApplyConfiguration) WithJobStatus

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

func (*DaskJobStatusApplyConfiguration) WithStartTime

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

type DaskWorkerGroupApplyConfiguration

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

DaskWorkerGroupApplyConfiguration represents an declarative configuration of the DaskWorkerGroup type for use with apply.

func DaskWorkerGroup

func DaskWorkerGroup(name, namespace string) *DaskWorkerGroupApplyConfiguration

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

func (*DaskWorkerGroupApplyConfiguration) 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 (*DaskWorkerGroupApplyConfiguration) 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 (*DaskWorkerGroupApplyConfiguration) 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 (*DaskWorkerGroupApplyConfiguration) WithDeletionGracePeriodSeconds

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

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 (*DaskWorkerGroupApplyConfiguration) 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 (*DaskWorkerGroupApplyConfiguration) 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 (*DaskWorkerGroupApplyConfiguration) 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 (*DaskWorkerGroupApplyConfiguration) 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 (*DaskWorkerGroupApplyConfiguration) 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 (*DaskWorkerGroupApplyConfiguration) 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 (*DaskWorkerGroupApplyConfiguration) 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 (*DaskWorkerGroupApplyConfiguration) 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 (*DaskWorkerGroupApplyConfiguration) 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 (*DaskWorkerGroupApplyConfiguration) 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 (*DaskWorkerGroupApplyConfiguration) 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 (*DaskWorkerGroupApplyConfiguration) 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 DaskWorkerGroupSpecApplyConfiguration

type DaskWorkerGroupSpecApplyConfiguration struct {
	Cluster *string                       `json:"cluster,omitempty"`
	Worker  *WorkerSpecApplyConfiguration `json:"worker,omitempty"`
}

DaskWorkerGroupSpecApplyConfiguration represents an declarative configuration of the DaskWorkerGroupSpec type for use with apply.

func DaskWorkerGroupSpec

func DaskWorkerGroupSpec() *DaskWorkerGroupSpecApplyConfiguration

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

func (*DaskWorkerGroupSpecApplyConfiguration) WithCluster

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

func (*DaskWorkerGroupSpecApplyConfiguration) WithWorker

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

type JobSpecApplyConfiguration

type JobSpecApplyConfiguration struct {
	Spec *v1.PodSpec `json:"spec,omitempty"`
}

JobSpecApplyConfiguration represents an declarative configuration of the JobSpec type for use with apply.

func JobSpec

func JobSpec() *JobSpecApplyConfiguration

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

func (*JobSpecApplyConfiguration) 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.

type SchedulerSpecApplyConfiguration

type SchedulerSpecApplyConfiguration struct {
	Spec    *v1.PodSpec     `json:"spec,omitempty"`
	Service *v1.ServiceSpec `json:"service,omitempty"`
}

SchedulerSpecApplyConfiguration represents an declarative configuration of the SchedulerSpec type for use with apply.

func SchedulerSpec

func SchedulerSpec() *SchedulerSpecApplyConfiguration

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

func (*SchedulerSpecApplyConfiguration) WithService

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

func (*SchedulerSpecApplyConfiguration) 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.

type WorkerSpecApplyConfiguration

type WorkerSpecApplyConfiguration struct {
	Replicas *int        `json:"replicas,omitempty"`
	Spec     *v1.PodSpec `json:"spec,omitempty"`
}

WorkerSpecApplyConfiguration represents an declarative configuration of the WorkerSpec type for use with apply.

func WorkerSpec

func WorkerSpec() *WorkerSpecApplyConfiguration

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

func (*WorkerSpecApplyConfiguration) WithReplicas

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

func (*WorkerSpecApplyConfiguration) 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.

Jump to

Keyboard shortcuts

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