v2alpha1

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterTrainingRuntimeApplyConfiguration

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

ClusterTrainingRuntimeApplyConfiguration represents a declarative configuration of the ClusterTrainingRuntime type for use with apply.

func ClusterTrainingRuntime

func ClusterTrainingRuntime(name string) *ClusterTrainingRuntimeApplyConfiguration

ClusterTrainingRuntime constructs a declarative configuration of the ClusterTrainingRuntime type for use with apply.

func (*ClusterTrainingRuntimeApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

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

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 (*ClusterTrainingRuntimeApplyConfiguration) 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 (*ClusterTrainingRuntimeApplyConfiguration) 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 (*ClusterTrainingRuntimeApplyConfiguration) 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 (*ClusterTrainingRuntimeApplyConfiguration) 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 (*ClusterTrainingRuntimeApplyConfiguration) 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 (*ClusterTrainingRuntimeApplyConfiguration) 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 (*ClusterTrainingRuntimeApplyConfiguration) 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 (*ClusterTrainingRuntimeApplyConfiguration) 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 (*ClusterTrainingRuntimeApplyConfiguration) 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 (*ClusterTrainingRuntimeApplyConfiguration) 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 (*ClusterTrainingRuntimeApplyConfiguration) 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 (*ClusterTrainingRuntimeApplyConfiguration) 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 ContainerOverrideApplyConfiguration

type ContainerOverrideApplyConfiguration struct {
	Name         *string            `json:"name,omitempty"`
	Command      []string           `json:"command,omitempty"`
	Args         []string           `json:"args,omitempty"`
	Env          []v1.EnvVar        `json:"env,omitempty"`
	EnvFrom      []v1.EnvFromSource `json:"envFrom,omitempty"`
	VolumeMounts []v1.VolumeMount   `json:"volumeMounts,omitempty"`
}

ContainerOverrideApplyConfiguration represents a declarative configuration of the ContainerOverride type for use with apply.

func ContainerOverride

func ContainerOverride() *ContainerOverrideApplyConfiguration

ContainerOverrideApplyConfiguration constructs a declarative configuration of the ContainerOverride type for use with apply.

func (*ContainerOverrideApplyConfiguration) WithArgs

WithArgs adds the given value to the Args 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 Args field.

func (*ContainerOverrideApplyConfiguration) WithCommand

WithCommand adds the given value to the Command 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 Command field.

func (*ContainerOverrideApplyConfiguration) WithEnv

WithEnv adds the given value to the Env 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 Env field.

func (*ContainerOverrideApplyConfiguration) WithEnvFrom

WithEnvFrom adds the given value to the EnvFrom 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 EnvFrom field.

func (*ContainerOverrideApplyConfiguration) 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 (*ContainerOverrideApplyConfiguration) WithVolumeMounts

WithVolumeMounts adds the given value to the VolumeMounts 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 VolumeMounts field.

type CoschedulingPodGroupPolicySourceApplyConfiguration

type CoschedulingPodGroupPolicySourceApplyConfiguration struct {
	ScheduleTimeoutSeconds *int32 `json:"scheduleTimeoutSeconds,omitempty"`
}

CoschedulingPodGroupPolicySourceApplyConfiguration represents a declarative configuration of the CoschedulingPodGroupPolicySource type for use with apply.

func CoschedulingPodGroupPolicySource

func CoschedulingPodGroupPolicySource() *CoschedulingPodGroupPolicySourceApplyConfiguration

CoschedulingPodGroupPolicySourceApplyConfiguration constructs a declarative configuration of the CoschedulingPodGroupPolicySource type for use with apply.

func (*CoschedulingPodGroupPolicySourceApplyConfiguration) WithScheduleTimeoutSeconds

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

type DatasetConfigApplyConfiguration

type DatasetConfigApplyConfiguration struct {
	StorageUri *string                  `json:"storageUri,omitempty"`
	Env        []v1.EnvVar              `json:"env,omitempty"`
	SecretRef  *v1.LocalObjectReference `json:"secretRef,omitempty"`
}

DatasetConfigApplyConfiguration represents a declarative configuration of the DatasetConfig type for use with apply.

func DatasetConfig

func DatasetConfig() *DatasetConfigApplyConfiguration

DatasetConfigApplyConfiguration constructs a declarative configuration of the DatasetConfig type for use with apply.

func (*DatasetConfigApplyConfiguration) WithEnv

WithEnv adds the given value to the Env 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 Env field.

func (*DatasetConfigApplyConfiguration) WithSecretRef

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

func (*DatasetConfigApplyConfiguration) WithStorageUri

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

type InputModelApplyConfiguration

type InputModelApplyConfiguration struct {
	StorageUri *string                  `json:"storageUri,omitempty"`
	Env        []v1.EnvVar              `json:"env,omitempty"`
	SecretRef  *v1.LocalObjectReference `json:"secretRef,omitempty"`
}

InputModelApplyConfiguration represents a declarative configuration of the InputModel type for use with apply.

func InputModel

func InputModel() *InputModelApplyConfiguration

InputModelApplyConfiguration constructs a declarative configuration of the InputModel type for use with apply.

func (*InputModelApplyConfiguration) WithEnv

WithEnv adds the given value to the Env 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 Env field.

func (*InputModelApplyConfiguration) WithSecretRef

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

func (*InputModelApplyConfiguration) WithStorageUri

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

type JobSetTemplateSpecApplyConfiguration

type JobSetTemplateSpecApplyConfiguration struct {
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *v1alpha2.JobSetSpec `json:"spec,omitempty"`
}

JobSetTemplateSpecApplyConfiguration represents a declarative configuration of the JobSetTemplateSpec type for use with apply.

func JobSetTemplateSpec

func JobSetTemplateSpec() *JobSetTemplateSpecApplyConfiguration

JobSetTemplateSpecApplyConfiguration constructs a declarative configuration of the JobSetTemplateSpec type for use with apply.

func (*JobSetTemplateSpecApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

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

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

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 (*JobSetTemplateSpecApplyConfiguration) 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 (*JobSetTemplateSpecApplyConfiguration) 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 (*JobSetTemplateSpecApplyConfiguration) 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 (*JobSetTemplateSpecApplyConfiguration) 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 (*JobSetTemplateSpecApplyConfiguration) 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 (*JobSetTemplateSpecApplyConfiguration) 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 (*JobSetTemplateSpecApplyConfiguration) 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 (*JobSetTemplateSpecApplyConfiguration) 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 (*JobSetTemplateSpecApplyConfiguration) 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 (*JobSetTemplateSpecApplyConfiguration) 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 (*JobSetTemplateSpecApplyConfiguration) 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 JobStatusApplyConfiguration

type JobStatusApplyConfiguration struct {
	Name      *string `json:"name,omitempty"`
	Ready     *int32  `json:"ready,omitempty"`
	Succeeded *int32  `json:"succeeded,omitempty"`
	Failed    *int32  `json:"failed,omitempty"`
	Active    *int32  `json:"active,omitempty"`
	Suspended *int32  `json:"suspended,omitempty"`
}

JobStatusApplyConfiguration represents a declarative configuration of the JobStatus type for use with apply.

func JobStatus

func JobStatus() *JobStatusApplyConfiguration

JobStatusApplyConfiguration constructs a declarative configuration of the JobStatus type for use with apply.

func (*JobStatusApplyConfiguration) WithActive

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

func (*JobStatusApplyConfiguration) 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 (*JobStatusApplyConfiguration) 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 (*JobStatusApplyConfiguration) WithReady

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

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

func (*JobStatusApplyConfiguration) WithSuspended

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

type MLPolicyApplyConfiguration

type MLPolicyApplyConfiguration struct {
	NumNodes                         *int32 `json:"numNodes,omitempty"`
	MLPolicySourceApplyConfiguration `json:",inline"`
}

MLPolicyApplyConfiguration represents a declarative configuration of the MLPolicy type for use with apply.

func MLPolicy

func MLPolicy() *MLPolicyApplyConfiguration

MLPolicyApplyConfiguration constructs a declarative configuration of the MLPolicy type for use with apply.

func (*MLPolicyApplyConfiguration) WithMPI

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

func (*MLPolicyApplyConfiguration) WithNumNodes

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

func (*MLPolicyApplyConfiguration) WithTorch

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

type MLPolicySourceApplyConfiguration

type MLPolicySourceApplyConfiguration struct {
	Torch *TorchMLPolicySourceApplyConfiguration `json:"torch,omitempty"`
	MPI   *MPIMLPolicySourceApplyConfiguration   `json:"mpi,omitempty"`
}

MLPolicySourceApplyConfiguration represents a declarative configuration of the MLPolicySource type for use with apply.

func MLPolicySource

func MLPolicySource() *MLPolicySourceApplyConfiguration

MLPolicySourceApplyConfiguration constructs a declarative configuration of the MLPolicySource type for use with apply.

func (*MLPolicySourceApplyConfiguration) WithMPI

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

func (*MLPolicySourceApplyConfiguration) WithTorch

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

type MPIMLPolicySourceApplyConfiguration

type MPIMLPolicySourceApplyConfiguration struct {
	NumProcPerNode    *int32                      `json:"numProcPerNode,omitempty"`
	MPIImplementation *v2alpha1.MPIImplementation `json:"mpiImplementation,omitempty"`
	SSHAuthMountPath  *string                     `json:"sshAuthMountPath,omitempty"`
	RunLauncherAsNode *bool                       `json:"runLauncherAsNode,omitempty"`
}

MPIMLPolicySourceApplyConfiguration represents a declarative configuration of the MPIMLPolicySource type for use with apply.

func MPIMLPolicySource

func MPIMLPolicySource() *MPIMLPolicySourceApplyConfiguration

MPIMLPolicySourceApplyConfiguration constructs a declarative configuration of the MPIMLPolicySource type for use with apply.

func (*MPIMLPolicySourceApplyConfiguration) WithMPIImplementation

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

func (*MPIMLPolicySourceApplyConfiguration) WithNumProcPerNode

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

func (*MPIMLPolicySourceApplyConfiguration) WithRunLauncherAsNode

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

func (*MPIMLPolicySourceApplyConfiguration) WithSSHAuthMountPath

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

type ModelConfigApplyConfiguration

type ModelConfigApplyConfiguration struct {
	Input  *InputModelApplyConfiguration  `json:"input,omitempty"`
	Output *OutputModelApplyConfiguration `json:"output,omitempty"`
}

ModelConfigApplyConfiguration represents a declarative configuration of the ModelConfig type for use with apply.

func ModelConfig

func ModelConfig() *ModelConfigApplyConfiguration

ModelConfigApplyConfiguration constructs a declarative configuration of the ModelConfig type for use with apply.

func (*ModelConfigApplyConfiguration) WithInput

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

func (*ModelConfigApplyConfiguration) WithOutput

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

type OutputModelApplyConfiguration

type OutputModelApplyConfiguration struct {
	StorageUri *string                  `json:"storageUri,omitempty"`
	Env        []v1.EnvVar              `json:"env,omitempty"`
	SecretRef  *v1.LocalObjectReference `json:"secretRef,omitempty"`
}

OutputModelApplyConfiguration represents a declarative configuration of the OutputModel type for use with apply.

func OutputModel

func OutputModel() *OutputModelApplyConfiguration

OutputModelApplyConfiguration constructs a declarative configuration of the OutputModel type for use with apply.

func (*OutputModelApplyConfiguration) WithEnv

WithEnv adds the given value to the Env 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 Env field.

func (*OutputModelApplyConfiguration) WithSecretRef

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

func (*OutputModelApplyConfiguration) WithStorageUri

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

type PodGroupPolicyApplyConfiguration

type PodGroupPolicyApplyConfiguration struct {
	PodGroupPolicySourceApplyConfiguration `json:",inline"`
}

PodGroupPolicyApplyConfiguration represents a declarative configuration of the PodGroupPolicy type for use with apply.

func PodGroupPolicy

func PodGroupPolicy() *PodGroupPolicyApplyConfiguration

PodGroupPolicyApplyConfiguration constructs a declarative configuration of the PodGroupPolicy type for use with apply.

func (*PodGroupPolicyApplyConfiguration) WithCoscheduling

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

type PodGroupPolicySourceApplyConfiguration

type PodGroupPolicySourceApplyConfiguration struct {
	Coscheduling *CoschedulingPodGroupPolicySourceApplyConfiguration `json:"coscheduling,omitempty"`
}

PodGroupPolicySourceApplyConfiguration represents a declarative configuration of the PodGroupPolicySource type for use with apply.

func PodGroupPolicySource

func PodGroupPolicySource() *PodGroupPolicySourceApplyConfiguration

PodGroupPolicySourceApplyConfiguration constructs a declarative configuration of the PodGroupPolicySource type for use with apply.

func (*PodGroupPolicySourceApplyConfiguration) WithCoscheduling

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

type PodSpecOverrideApplyConfiguration

type PodSpecOverrideApplyConfiguration struct {
	TargetJobs         []PodSpecOverrideTargetJobApplyConfiguration `json:"targetJobs,omitempty"`
	Containers         []ContainerOverrideApplyConfiguration        `json:"containers,omitempty"`
	InitContainers     []ContainerOverrideApplyConfiguration        `json:"initContainers,omitempty"`
	Volumes            []v1.Volume                                  `json:"volumes,omitempty"`
	ServiceAccountName *string                                      `json:"serviceAccountName,omitempty"`
	NodeSelector       map[string]string                            `json:"nodeSelector,omitempty"`
	Tolerations        []v1.Toleration                              `json:"tolerations,omitempty"`
}

PodSpecOverrideApplyConfiguration represents a declarative configuration of the PodSpecOverride type for use with apply.

func PodSpecOverride

func PodSpecOverride() *PodSpecOverrideApplyConfiguration

PodSpecOverrideApplyConfiguration constructs a declarative configuration of the PodSpecOverride type for use with apply.

func (*PodSpecOverrideApplyConfiguration) WithContainers

WithContainers adds the given value to the Containers 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 Containers field.

func (*PodSpecOverrideApplyConfiguration) WithInitContainers

WithInitContainers adds the given value to the InitContainers 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 InitContainers field.

func (*PodSpecOverrideApplyConfiguration) WithNodeSelector

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

func (*PodSpecOverrideApplyConfiguration) WithServiceAccountName

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

func (*PodSpecOverrideApplyConfiguration) WithTargetJobs

WithTargetJobs adds the given value to the TargetJobs 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 TargetJobs field.

func (*PodSpecOverrideApplyConfiguration) WithTolerations

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

func (*PodSpecOverrideApplyConfiguration) WithVolumes

WithVolumes adds the given value to the Volumes 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 Volumes field.

type PodSpecOverrideTargetJobApplyConfiguration

type PodSpecOverrideTargetJobApplyConfiguration struct {
	Name *string `json:"name,omitempty"`
}

PodSpecOverrideTargetJobApplyConfiguration represents a declarative configuration of the PodSpecOverrideTargetJob type for use with apply.

func PodSpecOverrideTargetJob

func PodSpecOverrideTargetJob() *PodSpecOverrideTargetJobApplyConfiguration

PodSpecOverrideTargetJobApplyConfiguration constructs a declarative configuration of the PodSpecOverrideTargetJob type for use with apply.

func (*PodSpecOverrideTargetJobApplyConfiguration) 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 RuntimeRefApplyConfiguration

type RuntimeRefApplyConfiguration struct {
	Name     *string `json:"name,omitempty"`
	APIGroup *string `json:"apiGroup,omitempty"`
	Kind     *string `json:"kind,omitempty"`
}

RuntimeRefApplyConfiguration represents a declarative configuration of the RuntimeRef type for use with apply.

func RuntimeRef

func RuntimeRef() *RuntimeRefApplyConfiguration

RuntimeRefApplyConfiguration constructs a declarative configuration of the RuntimeRef type for use with apply.

func (*RuntimeRefApplyConfiguration) WithAPIGroup

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

func (*RuntimeRefApplyConfiguration) 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 (*RuntimeRefApplyConfiguration) 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 TorchElasticPolicyApplyConfiguration

type TorchElasticPolicyApplyConfiguration struct {
	MaxRestarts *int32          `json:"maxRestarts,omitempty"`
	MinNodes    *int32          `json:"minNodes,omitempty"`
	MaxNodes    *int32          `json:"maxNodes,omitempty"`
	Metrics     []v2.MetricSpec `json:"metrics,omitempty"`
}

TorchElasticPolicyApplyConfiguration represents a declarative configuration of the TorchElasticPolicy type for use with apply.

func TorchElasticPolicy

func TorchElasticPolicy() *TorchElasticPolicyApplyConfiguration

TorchElasticPolicyApplyConfiguration constructs a declarative configuration of the TorchElasticPolicy type for use with apply.

func (*TorchElasticPolicyApplyConfiguration) WithMaxNodes

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

func (*TorchElasticPolicyApplyConfiguration) WithMaxRestarts

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

func (*TorchElasticPolicyApplyConfiguration) WithMetrics

WithMetrics adds the given value to the Metrics 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 Metrics field.

func (*TorchElasticPolicyApplyConfiguration) WithMinNodes

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

type TorchMLPolicySourceApplyConfiguration

type TorchMLPolicySourceApplyConfiguration struct {
	NumProcPerNode *string                               `json:"numProcPerNode,omitempty"`
	ElasticPolicy  *TorchElasticPolicyApplyConfiguration `json:"elasticPolicy,omitempty"`
}

TorchMLPolicySourceApplyConfiguration represents a declarative configuration of the TorchMLPolicySource type for use with apply.

func TorchMLPolicySource

func TorchMLPolicySource() *TorchMLPolicySourceApplyConfiguration

TorchMLPolicySourceApplyConfiguration constructs a declarative configuration of the TorchMLPolicySource type for use with apply.

func (*TorchMLPolicySourceApplyConfiguration) WithElasticPolicy

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

func (*TorchMLPolicySourceApplyConfiguration) WithNumProcPerNode

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

type TrainJobApplyConfiguration

type TrainJobApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *TrainJobSpecApplyConfiguration   `json:"spec,omitempty"`
	Status                           *TrainJobStatusApplyConfiguration `json:"status,omitempty"`
}

TrainJobApplyConfiguration represents a declarative configuration of the TrainJob type for use with apply.

func TrainJob

func TrainJob(name, namespace string) *TrainJobApplyConfiguration

TrainJob constructs a declarative configuration of the TrainJob type for use with apply.

func (*TrainJobApplyConfiguration) GetName

func (b *TrainJobApplyConfiguration) GetName() *string

GetName retrieves the value of the Name field in the declarative configuration.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 (*TrainJobApplyConfiguration) 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 (*TrainJobApplyConfiguration) 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 (*TrainJobApplyConfiguration) 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 TrainJobSpecApplyConfiguration

type TrainJobSpecApplyConfiguration struct {
	RuntimeRef       *RuntimeRefApplyConfiguration       `json:"runtimeRef,omitempty"`
	Trainer          *TrainerApplyConfiguration          `json:"trainer,omitempty"`
	DatasetConfig    *DatasetConfigApplyConfiguration    `json:"datasetConfig,omitempty"`
	ModelConfig      *ModelConfigApplyConfiguration      `json:"modelConfig,omitempty"`
	Labels           map[string]string                   `json:"labels,omitempty"`
	Annotations      map[string]string                   `json:"annotations,omitempty"`
	PodSpecOverrides []PodSpecOverrideApplyConfiguration `json:"podSpecOverrides,omitempty"`
	Suspend          *bool                               `json:"suspend,omitempty"`
	ManagedBy        *string                             `json:"managedBy,omitempty"`
}

TrainJobSpecApplyConfiguration represents a declarative configuration of the TrainJobSpec type for use with apply.

func TrainJobSpec

func TrainJobSpec() *TrainJobSpecApplyConfiguration

TrainJobSpecApplyConfiguration constructs a declarative configuration of the TrainJobSpec type for use with apply.

func (*TrainJobSpecApplyConfiguration) 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 (*TrainJobSpecApplyConfiguration) WithDatasetConfig

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

func (*TrainJobSpecApplyConfiguration) 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 (*TrainJobSpecApplyConfiguration) WithManagedBy

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

func (*TrainJobSpecApplyConfiguration) WithModelConfig

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

func (*TrainJobSpecApplyConfiguration) WithPodSpecOverrides

WithPodSpecOverrides adds the given value to the PodSpecOverrides 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 PodSpecOverrides field.

func (*TrainJobSpecApplyConfiguration) WithRuntimeRef

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

func (*TrainJobSpecApplyConfiguration) WithSuspend

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

func (*TrainJobSpecApplyConfiguration) WithTrainer

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

type TrainJobStatusApplyConfiguration

type TrainJobStatusApplyConfiguration struct {
	Conditions []v1.ConditionApplyConfiguration `json:"conditions,omitempty"`
	JobsStatus []JobStatusApplyConfiguration    `json:"jobsStatus,omitempty"`
}

TrainJobStatusApplyConfiguration represents a declarative configuration of the TrainJobStatus type for use with apply.

func TrainJobStatus

func TrainJobStatus() *TrainJobStatusApplyConfiguration

TrainJobStatusApplyConfiguration constructs a declarative configuration of the TrainJobStatus type for use with apply.

func (*TrainJobStatusApplyConfiguration) 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 (*TrainJobStatusApplyConfiguration) WithJobsStatus

WithJobsStatus adds the given value to the JobsStatus 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 JobsStatus field.

type TrainerApplyConfiguration

type TrainerApplyConfiguration struct {
	Image            *string                  `json:"image,omitempty"`
	Command          []string                 `json:"command,omitempty"`
	Args             []string                 `json:"args,omitempty"`
	Env              []v1.EnvVar              `json:"env,omitempty"`
	NumNodes         *int32                   `json:"numNodes,omitempty"`
	ResourcesPerNode *v1.ResourceRequirements `json:"resourcesPerNode,omitempty"`
	NumProcPerNode   *string                  `json:"numProcPerNode,omitempty"`
}

TrainerApplyConfiguration represents a declarative configuration of the Trainer type for use with apply.

func Trainer

func Trainer() *TrainerApplyConfiguration

TrainerApplyConfiguration constructs a declarative configuration of the Trainer type for use with apply.

func (*TrainerApplyConfiguration) WithArgs

WithArgs adds the given value to the Args 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 Args field.

func (*TrainerApplyConfiguration) WithCommand

func (b *TrainerApplyConfiguration) WithCommand(values ...string) *TrainerApplyConfiguration

WithCommand adds the given value to the Command 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 Command field.

func (*TrainerApplyConfiguration) WithEnv

WithEnv adds the given value to the Env 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 Env field.

func (*TrainerApplyConfiguration) WithImage

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

func (*TrainerApplyConfiguration) WithNumNodes

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

func (*TrainerApplyConfiguration) WithNumProcPerNode

func (b *TrainerApplyConfiguration) WithNumProcPerNode(value string) *TrainerApplyConfiguration

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

func (*TrainerApplyConfiguration) WithResourcesPerNode

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

type TrainingRuntimeApplyConfiguration

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

TrainingRuntimeApplyConfiguration represents a declarative configuration of the TrainingRuntime type for use with apply.

func TrainingRuntime

func TrainingRuntime(name, namespace string) *TrainingRuntimeApplyConfiguration

TrainingRuntime constructs a declarative configuration of the TrainingRuntime type for use with apply.

func (*TrainingRuntimeApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

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

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

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 (*TrainingRuntimeApplyConfiguration) 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 (*TrainingRuntimeApplyConfiguration) 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 (*TrainingRuntimeApplyConfiguration) 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 (*TrainingRuntimeApplyConfiguration) 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 (*TrainingRuntimeApplyConfiguration) 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 (*TrainingRuntimeApplyConfiguration) 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 (*TrainingRuntimeApplyConfiguration) 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 (*TrainingRuntimeApplyConfiguration) 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 (*TrainingRuntimeApplyConfiguration) 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 (*TrainingRuntimeApplyConfiguration) 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 (*TrainingRuntimeApplyConfiguration) 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 (*TrainingRuntimeApplyConfiguration) 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 TrainingRuntimeSpecApplyConfiguration

type TrainingRuntimeSpecApplyConfiguration struct {
	MLPolicy       *MLPolicyApplyConfiguration           `json:"mlPolicy,omitempty"`
	PodGroupPolicy *PodGroupPolicyApplyConfiguration     `json:"podGroupPolicy,omitempty"`
	Template       *JobSetTemplateSpecApplyConfiguration `json:"template,omitempty"`
}

TrainingRuntimeSpecApplyConfiguration represents a declarative configuration of the TrainingRuntimeSpec type for use with apply.

func TrainingRuntimeSpec

func TrainingRuntimeSpec() *TrainingRuntimeSpecApplyConfiguration

TrainingRuntimeSpecApplyConfiguration constructs a declarative configuration of the TrainingRuntimeSpec type for use with apply.

func (*TrainingRuntimeSpecApplyConfiguration) WithMLPolicy

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

func (*TrainingRuntimeSpecApplyConfiguration) WithPodGroupPolicy

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

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

Jump to

Keyboard shortcuts

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