v1

package
v1.9.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 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 ElasticPolicyApplyConfiguration

type ElasticPolicyApplyConfiguration struct {
	MinReplicas  *int32                       `json:"minReplicas,omitempty"`
	MaxReplicas  *int32                       `json:"maxReplicas,omitempty"`
	RDZVBackend  *v1.RDZVBackend              `json:"rdzvBackend,omitempty"`
	RDZVPort     *int32                       `json:"rdzvPort,omitempty"`
	RDZVHost     *string                      `json:"rdzvHost,omitempty"`
	RDZVID       *string                      `json:"rdzvId,omitempty"`
	RDZVConf     []RDZVConfApplyConfiguration `json:"rdzvConf,omitempty"`
	Standalone   *bool                        `json:"standalone,omitempty"`
	NProcPerNode *int32                       `json:"nProcPerNode,omitempty"`
	MaxRestarts  *int32                       `json:"maxRestarts,omitempty"`
	Metrics      []v2.MetricSpec              `json:"metrics,omitempty"`
}

ElasticPolicyApplyConfiguration represents a declarative configuration of the ElasticPolicy type for use with apply.

func ElasticPolicy

func ElasticPolicy() *ElasticPolicyApplyConfiguration

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

func (*ElasticPolicyApplyConfiguration) WithMaxReplicas

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

func (*ElasticPolicyApplyConfiguration) 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 (*ElasticPolicyApplyConfiguration) 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 (*ElasticPolicyApplyConfiguration) WithMinReplicas

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

func (*ElasticPolicyApplyConfiguration) WithNProcPerNode

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

func (*ElasticPolicyApplyConfiguration) WithRDZVBackend

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

func (*ElasticPolicyApplyConfiguration) WithRDZVConf

WithRDZVConf adds the given value to the RDZVConf 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 RDZVConf field.

func (*ElasticPolicyApplyConfiguration) WithRDZVHost

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

func (*ElasticPolicyApplyConfiguration) WithRDZVID

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

func (*ElasticPolicyApplyConfiguration) WithRDZVPort

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

func (*ElasticPolicyApplyConfiguration) WithStandalone

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

type JAXJobApplyConfiguration

type JAXJobApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *JAXJobSpecApplyConfiguration `json:"spec,omitempty"`
	Status                           *JobStatusApplyConfiguration  `json:"status,omitempty"`
}

JAXJobApplyConfiguration represents a declarative configuration of the JAXJob type for use with apply.

func JAXJob

func JAXJob(name, namespace string) *JAXJobApplyConfiguration

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

func (*JAXJobApplyConfiguration) GetName

func (b *JAXJobApplyConfiguration) GetName() *string

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

func (*JAXJobApplyConfiguration) WithAPIVersion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 (*JAXJobApplyConfiguration) 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 (*JAXJobApplyConfiguration) WithLabels

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

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 (*JAXJobApplyConfiguration) 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 (*JAXJobApplyConfiguration) WithNamespace

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

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

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

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 (*JAXJobApplyConfiguration) 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 (*JAXJobApplyConfiguration) 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 (*JAXJobApplyConfiguration) 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 JAXJobSpecApplyConfiguration

type JAXJobSpecApplyConfiguration struct {
	RunPolicy       *RunPolicyApplyConfiguration                             `json:"runPolicy,omitempty"`
	JAXReplicaSpecs map[kubefloworgv1.ReplicaType]*kubefloworgv1.ReplicaSpec `json:"jaxReplicaSpecs,omitempty"`
}

JAXJobSpecApplyConfiguration represents a declarative configuration of the JAXJobSpec type for use with apply.

func JAXJobSpec

func JAXJobSpec() *JAXJobSpecApplyConfiguration

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

func (*JAXJobSpecApplyConfiguration) WithJAXReplicaSpecs

WithJAXReplicaSpecs puts the entries into the JAXReplicaSpecs 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 JAXReplicaSpecs field, overwriting an existing map entries in JAXReplicaSpecs field with the same key.

func (*JAXJobSpecApplyConfiguration) WithRunPolicy

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

type JobConditionApplyConfiguration

type JobConditionApplyConfiguration struct {
	Type               *v1.JobConditionType    `json:"type,omitempty"`
	Status             *corev1.ConditionStatus `json:"status,omitempty"`
	Reason             *string                 `json:"reason,omitempty"`
	Message            *string                 `json:"message,omitempty"`
	LastUpdateTime     *metav1.Time            `json:"lastUpdateTime,omitempty"`
	LastTransitionTime *metav1.Time            `json:"lastTransitionTime,omitempty"`
}

JobConditionApplyConfiguration represents a declarative configuration of the JobCondition type for use with apply.

func JobCondition

func JobCondition() *JobConditionApplyConfiguration

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

func (*JobConditionApplyConfiguration) WithLastTransitionTime

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

func (*JobConditionApplyConfiguration) WithLastUpdateTime

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

func (*JobConditionApplyConfiguration) WithMessage

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

func (*JobConditionApplyConfiguration) WithReason

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

func (*JobConditionApplyConfiguration) 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 (*JobConditionApplyConfiguration) WithType

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

type JobStatusApplyConfiguration

type JobStatusApplyConfiguration struct {
	Conditions        []JobConditionApplyConfiguration                           `json:"conditions,omitempty"`
	ReplicaStatuses   map[kubefloworgv1.ReplicaType]*kubefloworgv1.ReplicaStatus `json:"replicaStatuses,omitempty"`
	StartTime         *metav1.Time                                               `json:"startTime,omitempty"`
	CompletionTime    *metav1.Time                                               `json:"completionTime,omitempty"`
	LastReconcileTime *metav1.Time                                               `json:"lastReconcileTime,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) WithCompletionTime

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

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

func (b *JobStatusApplyConfiguration) WithLastReconcileTime(value metav1.Time) *JobStatusApplyConfiguration

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

func (*JobStatusApplyConfiguration) WithReplicaStatuses

WithReplicaStatuses puts the entries into the ReplicaStatuses 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 ReplicaStatuses field, overwriting an existing map entries in ReplicaStatuses field with the same key.

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

type MPIJobApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *MPIJobSpecApplyConfiguration `json:"spec,omitempty"`
	Status                           *JobStatusApplyConfiguration  `json:"status,omitempty"`
}

MPIJobApplyConfiguration represents a declarative configuration of the MPIJob type for use with apply.

func MPIJob

func MPIJob(name, namespace string) *MPIJobApplyConfiguration

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

func (*MPIJobApplyConfiguration) GetName

func (b *MPIJobApplyConfiguration) GetName() *string

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

func (*MPIJobApplyConfiguration) WithAPIVersion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 (*MPIJobApplyConfiguration) 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 (*MPIJobApplyConfiguration) WithLabels

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

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 (*MPIJobApplyConfiguration) 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 (*MPIJobApplyConfiguration) WithNamespace

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

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

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

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 (*MPIJobApplyConfiguration) 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 (*MPIJobApplyConfiguration) 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 (*MPIJobApplyConfiguration) 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 MPIJobSpecApplyConfiguration

type MPIJobSpecApplyConfiguration struct {
	SlotsPerWorker  *int32                             `json:"slotsPerWorker,omitempty"`
	CleanPodPolicy  *v1.CleanPodPolicy                 `json:"cleanPodPolicy,omitempty"`
	MPIReplicaSpecs map[v1.ReplicaType]*v1.ReplicaSpec `json:"mpiReplicaSpecs,omitempty"`
	MainContainer   *string                            `json:"mainContainer,omitempty"`
	RunPolicy       *RunPolicyApplyConfiguration       `json:"runPolicy,omitempty"`
}

MPIJobSpecApplyConfiguration represents a declarative configuration of the MPIJobSpec type for use with apply.

func MPIJobSpec

func MPIJobSpec() *MPIJobSpecApplyConfiguration

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

func (*MPIJobSpecApplyConfiguration) WithCleanPodPolicy

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

func (*MPIJobSpecApplyConfiguration) WithMPIReplicaSpecs

WithMPIReplicaSpecs puts the entries into the MPIReplicaSpecs 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 MPIReplicaSpecs field, overwriting an existing map entries in MPIReplicaSpecs field with the same key.

func (*MPIJobSpecApplyConfiguration) WithMainContainer

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

func (*MPIJobSpecApplyConfiguration) WithRunPolicy

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

func (*MPIJobSpecApplyConfiguration) WithSlotsPerWorker

func (b *MPIJobSpecApplyConfiguration) WithSlotsPerWorker(value int32) *MPIJobSpecApplyConfiguration

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

type PaddleElasticPolicyApplyConfiguration

type PaddleElasticPolicyApplyConfiguration struct {
	MinReplicas *int32          `json:"minReplicas,omitempty"`
	MaxReplicas *int32          `json:"maxReplicas,omitempty"`
	MaxRestarts *int32          `json:"maxRestarts,omitempty"`
	Metrics     []v2.MetricSpec `json:"metrics,omitempty"`
}

PaddleElasticPolicyApplyConfiguration represents a declarative configuration of the PaddleElasticPolicy type for use with apply.

func PaddleElasticPolicy

func PaddleElasticPolicy() *PaddleElasticPolicyApplyConfiguration

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

func (*PaddleElasticPolicyApplyConfiguration) WithMaxReplicas

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

func (*PaddleElasticPolicyApplyConfiguration) 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 (*PaddleElasticPolicyApplyConfiguration) 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 (*PaddleElasticPolicyApplyConfiguration) WithMinReplicas

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

type PaddleJobApplyConfiguration

type PaddleJobApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PaddleJobSpecApplyConfiguration `json:"spec,omitempty"`
	Status                           *JobStatusApplyConfiguration     `json:"status,omitempty"`
}

PaddleJobApplyConfiguration represents a declarative configuration of the PaddleJob type for use with apply.

func PaddleJob

func PaddleJob(name, namespace string) *PaddleJobApplyConfiguration

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

func (*PaddleJobApplyConfiguration) GetName

func (b *PaddleJobApplyConfiguration) GetName() *string

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

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

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

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

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

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

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

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

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

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

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

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

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

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 (*PaddleJobApplyConfiguration) 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 (*PaddleJobApplyConfiguration) 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 (*PaddleJobApplyConfiguration) 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 PaddleJobSpecApplyConfiguration

type PaddleJobSpecApplyConfiguration struct {
	RunPolicy          *RunPolicyApplyConfiguration                             `json:"runPolicy,omitempty"`
	ElasticPolicy      *PaddleElasticPolicyApplyConfiguration                   `json:"elasticPolicy,omitempty"`
	PaddleReplicaSpecs map[kubefloworgv1.ReplicaType]*kubefloworgv1.ReplicaSpec `json:"paddleReplicaSpecs,omitempty"`
}

PaddleJobSpecApplyConfiguration represents a declarative configuration of the PaddleJobSpec type for use with apply.

func PaddleJobSpec

func PaddleJobSpec() *PaddleJobSpecApplyConfiguration

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

func (*PaddleJobSpecApplyConfiguration) 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 (*PaddleJobSpecApplyConfiguration) WithPaddleReplicaSpecs

WithPaddleReplicaSpecs puts the entries into the PaddleReplicaSpecs 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 PaddleReplicaSpecs field, overwriting an existing map entries in PaddleReplicaSpecs field with the same key.

func (*PaddleJobSpecApplyConfiguration) WithRunPolicy

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

type PyTorchJobApplyConfiguration

type PyTorchJobApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *PyTorchJobSpecApplyConfiguration `json:"spec,omitempty"`
	Status                           *JobStatusApplyConfiguration      `json:"status,omitempty"`
}

PyTorchJobApplyConfiguration represents a declarative configuration of the PyTorchJob type for use with apply.

func PyTorchJob

func PyTorchJob(name, namespace string) *PyTorchJobApplyConfiguration

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

func (*PyTorchJobApplyConfiguration) GetName

func (b *PyTorchJobApplyConfiguration) GetName() *string

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

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

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

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

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

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

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

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

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

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 (*PyTorchJobApplyConfiguration) 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 (*PyTorchJobApplyConfiguration) 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 (*PyTorchJobApplyConfiguration) 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 PyTorchJobSpecApplyConfiguration

type PyTorchJobSpecApplyConfiguration struct {
	RunPolicy           *RunPolicyApplyConfiguration                             `json:"runPolicy,omitempty"`
	ElasticPolicy       *ElasticPolicyApplyConfiguration                         `json:"elasticPolicy,omitempty"`
	PyTorchReplicaSpecs map[kubefloworgv1.ReplicaType]*kubefloworgv1.ReplicaSpec `json:"pytorchReplicaSpecs,omitempty"`
	NprocPerNode        *string                                                  `json:"nprocPerNode,omitempty"`
}

PyTorchJobSpecApplyConfiguration represents a declarative configuration of the PyTorchJobSpec type for use with apply.

func PyTorchJobSpec

func PyTorchJobSpec() *PyTorchJobSpecApplyConfiguration

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

func (*PyTorchJobSpecApplyConfiguration) 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 (*PyTorchJobSpecApplyConfiguration) WithNprocPerNode

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

func (*PyTorchJobSpecApplyConfiguration) WithPyTorchReplicaSpecs

WithPyTorchReplicaSpecs puts the entries into the PyTorchReplicaSpecs 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 PyTorchReplicaSpecs field, overwriting an existing map entries in PyTorchReplicaSpecs field with the same key.

func (*PyTorchJobSpecApplyConfiguration) WithRunPolicy

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

type RDZVConfApplyConfiguration

type RDZVConfApplyConfiguration struct {
	Key   *string `json:"key,omitempty"`
	Value *string `json:"value,omitempty"`
}

RDZVConfApplyConfiguration represents a declarative configuration of the RDZVConf type for use with apply.

func RDZVConf

func RDZVConf() *RDZVConfApplyConfiguration

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

func (*RDZVConfApplyConfiguration) WithKey

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

func (*RDZVConfApplyConfiguration) WithValue

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

type ReplicaSpecApplyConfiguration

type ReplicaSpecApplyConfiguration struct {
	Replicas      *int32                       `json:"replicas,omitempty"`
	Template      *v1.PodTemplateSpec          `json:"template,omitempty"`
	RestartPolicy *kubefloworgv1.RestartPolicy `json:"restartPolicy,omitempty"`
}

ReplicaSpecApplyConfiguration represents a declarative configuration of the ReplicaSpec type for use with apply.

func ReplicaSpec

func ReplicaSpec() *ReplicaSpecApplyConfiguration

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

func (*ReplicaSpecApplyConfiguration) 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 (*ReplicaSpecApplyConfiguration) WithRestartPolicy

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

func (*ReplicaSpecApplyConfiguration) WithTemplate

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

type ReplicaStatusApplyConfiguration

type ReplicaStatusApplyConfiguration struct {
	Active        *int32                              `json:"active,omitempty"`
	Succeeded     *int32                              `json:"succeeded,omitempty"`
	Failed        *int32                              `json:"failed,omitempty"`
	LabelSelector *v1.LabelSelectorApplyConfiguration `json:"labelSelector,omitempty"`
	Selector      *string                             `json:"selector,omitempty"`
}

ReplicaStatusApplyConfiguration represents a declarative configuration of the ReplicaStatus type for use with apply.

func ReplicaStatus

func ReplicaStatus() *ReplicaStatusApplyConfiguration

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

func (*ReplicaStatusApplyConfiguration) 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 (*ReplicaStatusApplyConfiguration) 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 (*ReplicaStatusApplyConfiguration) WithLabelSelector

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

func (*ReplicaStatusApplyConfiguration) WithSelector

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

func (*ReplicaStatusApplyConfiguration) WithSucceeded

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

type RunPolicyApplyConfiguration

type RunPolicyApplyConfiguration struct {
	CleanPodPolicy          *v1.CleanPodPolicy                  `json:"cleanPodPolicy,omitempty"`
	TTLSecondsAfterFinished *int32                              `json:"ttlSecondsAfterFinished,omitempty"`
	ActiveDeadlineSeconds   *int64                              `json:"activeDeadlineSeconds,omitempty"`
	BackoffLimit            *int32                              `json:"backoffLimit,omitempty"`
	SchedulingPolicy        *SchedulingPolicyApplyConfiguration `json:"schedulingPolicy,omitempty"`
	Suspend                 *bool                               `json:"suspend,omitempty"`
	ManagedBy               *string                             `json:"managedBy,omitempty"`
}

RunPolicyApplyConfiguration represents a declarative configuration of the RunPolicy type for use with apply.

func RunPolicy

func RunPolicy() *RunPolicyApplyConfiguration

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

func (*RunPolicyApplyConfiguration) WithActiveDeadlineSeconds

func (b *RunPolicyApplyConfiguration) WithActiveDeadlineSeconds(value int64) *RunPolicyApplyConfiguration

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

func (*RunPolicyApplyConfiguration) WithBackoffLimit

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

func (*RunPolicyApplyConfiguration) WithCleanPodPolicy

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

func (*RunPolicyApplyConfiguration) 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 (*RunPolicyApplyConfiguration) WithSchedulingPolicy

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

func (*RunPolicyApplyConfiguration) 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 (*RunPolicyApplyConfiguration) WithTTLSecondsAfterFinished

func (b *RunPolicyApplyConfiguration) WithTTLSecondsAfterFinished(value int32) *RunPolicyApplyConfiguration

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

type SchedulingPolicyApplyConfiguration

type SchedulingPolicyApplyConfiguration struct {
	MinAvailable           *int32                                 `json:"minAvailable,omitempty"`
	Queue                  *string                                `json:"queue,omitempty"`
	MinResources           *map[v1.ResourceName]resource.Quantity `json:"minResources,omitempty"`
	PriorityClass          *string                                `json:"priorityClass,omitempty"`
	ScheduleTimeoutSeconds *int32                                 `json:"scheduleTimeoutSeconds,omitempty"`
}

SchedulingPolicyApplyConfiguration represents a declarative configuration of the SchedulingPolicy type for use with apply.

func SchedulingPolicy

func SchedulingPolicy() *SchedulingPolicyApplyConfiguration

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

func (*SchedulingPolicyApplyConfiguration) WithMinAvailable

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

func (*SchedulingPolicyApplyConfiguration) WithMinResources

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

func (*SchedulingPolicyApplyConfiguration) WithPriorityClass

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

func (*SchedulingPolicyApplyConfiguration) WithQueue

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

func (*SchedulingPolicyApplyConfiguration) WithScheduleTimeoutSeconds

func (b *SchedulingPolicyApplyConfiguration) WithScheduleTimeoutSeconds(value int32) *SchedulingPolicyApplyConfiguration

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 TFJobApplyConfiguration

type TFJobApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *TFJobSpecApplyConfiguration `json:"spec,omitempty"`
	Status                           *JobStatusApplyConfiguration `json:"status,omitempty"`
}

TFJobApplyConfiguration represents a declarative configuration of the TFJob type for use with apply.

func TFJob

func TFJob(name, namespace string) *TFJobApplyConfiguration

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

func (*TFJobApplyConfiguration) GetName

func (b *TFJobApplyConfiguration) GetName() *string

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

func (*TFJobApplyConfiguration) WithAPIVersion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 (*TFJobApplyConfiguration) 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 (*TFJobApplyConfiguration) WithLabels

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

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 (*TFJobApplyConfiguration) 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 (*TFJobApplyConfiguration) WithNamespace

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

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

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

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 (*TFJobApplyConfiguration) 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 (*TFJobApplyConfiguration) 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 (*TFJobApplyConfiguration) 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 TFJobSpecApplyConfiguration

type TFJobSpecApplyConfiguration struct {
	RunPolicy           *RunPolicyApplyConfiguration                             `json:"runPolicy,omitempty"`
	SuccessPolicy       *kubefloworgv1.SuccessPolicy                             `json:"successPolicy,omitempty"`
	TFReplicaSpecs      map[kubefloworgv1.ReplicaType]*kubefloworgv1.ReplicaSpec `json:"tfReplicaSpecs,omitempty"`
	EnableDynamicWorker *bool                                                    `json:"enableDynamicWorker,omitempty"`
}

TFJobSpecApplyConfiguration represents a declarative configuration of the TFJobSpec type for use with apply.

func TFJobSpec

func TFJobSpec() *TFJobSpecApplyConfiguration

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

func (*TFJobSpecApplyConfiguration) WithEnableDynamicWorker

func (b *TFJobSpecApplyConfiguration) WithEnableDynamicWorker(value bool) *TFJobSpecApplyConfiguration

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

func (*TFJobSpecApplyConfiguration) WithRunPolicy

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

func (*TFJobSpecApplyConfiguration) WithSuccessPolicy

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

func (*TFJobSpecApplyConfiguration) WithTFReplicaSpecs

WithTFReplicaSpecs puts the entries into the TFReplicaSpecs 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 TFReplicaSpecs field, overwriting an existing map entries in TFReplicaSpecs field with the same key.

type XGBoostJobApplyConfiguration

type XGBoostJobApplyConfiguration struct {
	v1.TypeMetaApplyConfiguration    `json:",inline"`
	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
	Spec                             *XGBoostJobSpecApplyConfiguration `json:"spec,omitempty"`
	Status                           *JobStatusApplyConfiguration      `json:"status,omitempty"`
}

XGBoostJobApplyConfiguration represents a declarative configuration of the XGBoostJob type for use with apply.

func XGBoostJob

func XGBoostJob(name, namespace string) *XGBoostJobApplyConfiguration

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

func (*XGBoostJobApplyConfiguration) GetName

func (b *XGBoostJobApplyConfiguration) GetName() *string

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

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

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

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

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

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

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

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

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

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 (*XGBoostJobApplyConfiguration) 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 (*XGBoostJobApplyConfiguration) 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 (*XGBoostJobApplyConfiguration) 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 XGBoostJobSpecApplyConfiguration

type XGBoostJobSpecApplyConfiguration struct {
	RunPolicy       *RunPolicyApplyConfiguration                             `json:"runPolicy,omitempty"`
	XGBReplicaSpecs map[kubefloworgv1.ReplicaType]*kubefloworgv1.ReplicaSpec `json:"xgbReplicaSpecs,omitempty"`
}

XGBoostJobSpecApplyConfiguration represents a declarative configuration of the XGBoostJobSpec type for use with apply.

func XGBoostJobSpec

func XGBoostJobSpec() *XGBoostJobSpecApplyConfiguration

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

func (*XGBoostJobSpecApplyConfiguration) WithRunPolicy

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

func (*XGBoostJobSpecApplyConfiguration) WithXGBReplicaSpecs

WithXGBReplicaSpecs puts the entries into the XGBReplicaSpecs 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 XGBReplicaSpecs field, overwriting an existing map entries in XGBReplicaSpecs field with the same key.

Jump to

Keyboard shortcuts

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