Documentation ¶
Index ¶
- type JobConditionApplyConfiguration
- func (b *JobConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *JobConditionApplyConfiguration
- func (b *JobConditionApplyConfiguration) WithLastUpdateTime(value metav1.Time) *JobConditionApplyConfiguration
- func (b *JobConditionApplyConfiguration) WithMessage(value string) *JobConditionApplyConfiguration
- func (b *JobConditionApplyConfiguration) WithReason(value string) *JobConditionApplyConfiguration
- func (b *JobConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *JobConditionApplyConfiguration
- func (b *JobConditionApplyConfiguration) WithType(value v2beta1.JobConditionType) *JobConditionApplyConfiguration
- type JobStatusApplyConfiguration
- func (b *JobStatusApplyConfiguration) WithCompletionTime(value v1.Time) *JobStatusApplyConfiguration
- func (b *JobStatusApplyConfiguration) WithConditions(values ...*JobConditionApplyConfiguration) *JobStatusApplyConfiguration
- func (b *JobStatusApplyConfiguration) WithLastReconcileTime(value v1.Time) *JobStatusApplyConfiguration
- func (b *JobStatusApplyConfiguration) WithReplicaStatuses(entries map[kubeflowv2beta1.MPIReplicaType]*kubeflowv2beta1.ReplicaStatus) *JobStatusApplyConfiguration
- func (b *JobStatusApplyConfiguration) WithStartTime(value v1.Time) *JobStatusApplyConfiguration
- type MPIJobApplyConfiguration
- func (b *MPIJobApplyConfiguration) WithAPIVersion(value string) *MPIJobApplyConfiguration
- func (b *MPIJobApplyConfiguration) WithAnnotations(entries map[string]string) *MPIJobApplyConfiguration
- func (b *MPIJobApplyConfiguration) WithCreationTimestamp(value metav1.Time) *MPIJobApplyConfiguration
- func (b *MPIJobApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MPIJobApplyConfiguration
- func (b *MPIJobApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *MPIJobApplyConfiguration
- func (b *MPIJobApplyConfiguration) WithFinalizers(values ...string) *MPIJobApplyConfiguration
- func (b *MPIJobApplyConfiguration) WithGenerateName(value string) *MPIJobApplyConfiguration
- func (b *MPIJobApplyConfiguration) WithGeneration(value int64) *MPIJobApplyConfiguration
- func (b *MPIJobApplyConfiguration) WithKind(value string) *MPIJobApplyConfiguration
- func (b *MPIJobApplyConfiguration) WithLabels(entries map[string]string) *MPIJobApplyConfiguration
- func (b *MPIJobApplyConfiguration) WithName(value string) *MPIJobApplyConfiguration
- func (b *MPIJobApplyConfiguration) WithNamespace(value string) *MPIJobApplyConfiguration
- func (b *MPIJobApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MPIJobApplyConfiguration
- func (b *MPIJobApplyConfiguration) WithResourceVersion(value string) *MPIJobApplyConfiguration
- func (b *MPIJobApplyConfiguration) WithSpec(value *MPIJobSpecApplyConfiguration) *MPIJobApplyConfiguration
- func (b *MPIJobApplyConfiguration) WithStatus(value *JobStatusApplyConfiguration) *MPIJobApplyConfiguration
- func (b *MPIJobApplyConfiguration) WithUID(value types.UID) *MPIJobApplyConfiguration
- type MPIJobSpecApplyConfiguration
- func (b *MPIJobSpecApplyConfiguration) WithLauncherCreationPolicy(value kubeflowv2beta1.LauncherCreationPolicy) *MPIJobSpecApplyConfiguration
- func (b *MPIJobSpecApplyConfiguration) WithMPIImplementation(value kubeflowv2beta1.MPIImplementation) *MPIJobSpecApplyConfiguration
- func (b *MPIJobSpecApplyConfiguration) WithMPIReplicaSpecs(entries map[kubeflowv2beta1.MPIReplicaType]*kubeflowv2beta1.ReplicaSpec) *MPIJobSpecApplyConfiguration
- func (b *MPIJobSpecApplyConfiguration) WithRunLauncherAsWorker(value bool) *MPIJobSpecApplyConfiguration
- func (b *MPIJobSpecApplyConfiguration) WithRunPolicy(value *RunPolicyApplyConfiguration) *MPIJobSpecApplyConfiguration
- func (b *MPIJobSpecApplyConfiguration) WithSSHAuthMountPath(value string) *MPIJobSpecApplyConfiguration
- func (b *MPIJobSpecApplyConfiguration) WithSlotsPerWorker(value int32) *MPIJobSpecApplyConfiguration
- type ReplicaSpecApplyConfiguration
- func (b *ReplicaSpecApplyConfiguration) WithReplicas(value int32) *ReplicaSpecApplyConfiguration
- func (b *ReplicaSpecApplyConfiguration) WithRestartPolicy(value v2beta1.RestartPolicy) *ReplicaSpecApplyConfiguration
- func (b *ReplicaSpecApplyConfiguration) WithTemplate(value v1.PodTemplateSpec) *ReplicaSpecApplyConfiguration
- type ReplicaStatusApplyConfiguration
- func (b *ReplicaStatusApplyConfiguration) WithActive(value int32) *ReplicaStatusApplyConfiguration
- func (b *ReplicaStatusApplyConfiguration) WithFailed(value int32) *ReplicaStatusApplyConfiguration
- func (b *ReplicaStatusApplyConfiguration) WithLabelSelector(value v1.LabelSelector) *ReplicaStatusApplyConfiguration
- func (b *ReplicaStatusApplyConfiguration) WithSelector(value string) *ReplicaStatusApplyConfiguration
- func (b *ReplicaStatusApplyConfiguration) WithSucceeded(value int32) *ReplicaStatusApplyConfiguration
- type RunPolicyApplyConfiguration
- func (b *RunPolicyApplyConfiguration) WithActiveDeadlineSeconds(value int64) *RunPolicyApplyConfiguration
- func (b *RunPolicyApplyConfiguration) WithBackoffLimit(value int32) *RunPolicyApplyConfiguration
- func (b *RunPolicyApplyConfiguration) WithCleanPodPolicy(value v2beta1.CleanPodPolicy) *RunPolicyApplyConfiguration
- func (b *RunPolicyApplyConfiguration) WithSchedulingPolicy(value *SchedulingPolicyApplyConfiguration) *RunPolicyApplyConfiguration
- func (b *RunPolicyApplyConfiguration) WithSuspend(value bool) *RunPolicyApplyConfiguration
- func (b *RunPolicyApplyConfiguration) WithTTLSecondsAfterFinished(value int32) *RunPolicyApplyConfiguration
- type SchedulingPolicyApplyConfiguration
- func (b *SchedulingPolicyApplyConfiguration) WithMinAvailable(value int32) *SchedulingPolicyApplyConfiguration
- func (b *SchedulingPolicyApplyConfiguration) WithMinResources(value v1.ResourceList) *SchedulingPolicyApplyConfiguration
- func (b *SchedulingPolicyApplyConfiguration) WithPriorityClass(value string) *SchedulingPolicyApplyConfiguration
- func (b *SchedulingPolicyApplyConfiguration) WithQueue(value string) *SchedulingPolicyApplyConfiguration
- func (b *SchedulingPolicyApplyConfiguration) WithScheduleTimeoutSeconds(value int32) *SchedulingPolicyApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobConditionApplyConfiguration ¶
type JobConditionApplyConfiguration struct { Type *v2beta1.JobConditionType `json:"type,omitempty"` Status *v1.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 an declarative configuration of the JobCondition type for use with apply.
func JobCondition ¶
func JobCondition() *JobConditionApplyConfiguration
JobConditionApplyConfiguration constructs an declarative configuration of the JobCondition type for use with apply.
func (*JobConditionApplyConfiguration) WithLastTransitionTime ¶
func (b *JobConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *JobConditionApplyConfiguration
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 ¶
func (b *JobConditionApplyConfiguration) WithLastUpdateTime(value metav1.Time) *JobConditionApplyConfiguration
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 ¶
func (b *JobConditionApplyConfiguration) WithMessage(value string) *JobConditionApplyConfiguration
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 ¶
func (b *JobConditionApplyConfiguration) WithReason(value string) *JobConditionApplyConfiguration
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 ¶
func (b *JobConditionApplyConfiguration) WithStatus(value v1.ConditionStatus) *JobConditionApplyConfiguration
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 ¶
func (b *JobConditionApplyConfiguration) WithType(value v2beta1.JobConditionType) *JobConditionApplyConfiguration
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[kubeflowv2beta1.MPIReplicaType]*kubeflowv2beta1.ReplicaStatus `json:"replicaStatuses,omitempty"` StartTime *v1.Time `json:"startTime,omitempty"` CompletionTime *v1.Time `json:"completionTime,omitempty"` LastReconcileTime *v1.Time `json:"lastReconcileTime,omitempty"` }
JobStatusApplyConfiguration represents an declarative configuration of the JobStatus type for use with apply.
func JobStatus ¶
func JobStatus() *JobStatusApplyConfiguration
JobStatusApplyConfiguration constructs an declarative configuration of the JobStatus type for use with apply.
func (*JobStatusApplyConfiguration) WithCompletionTime ¶
func (b *JobStatusApplyConfiguration) WithCompletionTime(value v1.Time) *JobStatusApplyConfiguration
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 ¶
func (b *JobStatusApplyConfiguration) WithConditions(values ...*JobConditionApplyConfiguration) *JobStatusApplyConfiguration
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 v1.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 ¶
func (b *JobStatusApplyConfiguration) WithReplicaStatuses(entries map[kubeflowv2beta1.MPIReplicaType]*kubeflowv2beta1.ReplicaStatus) *JobStatusApplyConfiguration
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 ¶
func (b *JobStatusApplyConfiguration) WithStartTime(value v1.Time) *JobStatusApplyConfiguration
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 an declarative configuration of the MPIJob type for use with apply.
func MPIJob ¶
func MPIJob(name, namespace string) *MPIJobApplyConfiguration
MPIJob constructs an declarative configuration of the MPIJob type for use with apply.
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 ¶
func (b *MPIJobApplyConfiguration) WithKind(value string) *MPIJobApplyConfiguration
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 ¶
func (b *MPIJobApplyConfiguration) WithName(value string) *MPIJobApplyConfiguration
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 ¶
func (b *MPIJobApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *MPIJobApplyConfiguration
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 ¶
func (b *MPIJobApplyConfiguration) WithSpec(value *MPIJobSpecApplyConfiguration) *MPIJobApplyConfiguration
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 ¶
func (b *MPIJobApplyConfiguration) WithStatus(value *JobStatusApplyConfiguration) *MPIJobApplyConfiguration
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 ¶
func (b *MPIJobApplyConfiguration) WithUID(value types.UID) *MPIJobApplyConfiguration
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"` RunLauncherAsWorker *bool `json:"runLauncherAsWorker,omitempty"` RunPolicy *RunPolicyApplyConfiguration `json:"runPolicy,omitempty"` MPIReplicaSpecs map[kubeflowv2beta1.MPIReplicaType]*kubeflowv2beta1.ReplicaSpec `json:"mpiReplicaSpecs,omitempty"` SSHAuthMountPath *string `json:"sshAuthMountPath,omitempty"` LauncherCreationPolicy *kubeflowv2beta1.LauncherCreationPolicy `json:"launcherCreationPolicy,omitempty"` MPIImplementation *kubeflowv2beta1.MPIImplementation `json:"mpiImplementation,omitempty"` }
MPIJobSpecApplyConfiguration represents an declarative configuration of the MPIJobSpec type for use with apply.
func MPIJobSpec ¶
func MPIJobSpec() *MPIJobSpecApplyConfiguration
MPIJobSpecApplyConfiguration constructs an declarative configuration of the MPIJobSpec type for use with apply.
func (*MPIJobSpecApplyConfiguration) WithLauncherCreationPolicy ¶
func (b *MPIJobSpecApplyConfiguration) WithLauncherCreationPolicy(value kubeflowv2beta1.LauncherCreationPolicy) *MPIJobSpecApplyConfiguration
WithLauncherCreationPolicy sets the LauncherCreationPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LauncherCreationPolicy field is set to the value of the last call.
func (*MPIJobSpecApplyConfiguration) WithMPIImplementation ¶
func (b *MPIJobSpecApplyConfiguration) WithMPIImplementation(value kubeflowv2beta1.MPIImplementation) *MPIJobSpecApplyConfiguration
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 (*MPIJobSpecApplyConfiguration) WithMPIReplicaSpecs ¶
func (b *MPIJobSpecApplyConfiguration) WithMPIReplicaSpecs(entries map[kubeflowv2beta1.MPIReplicaType]*kubeflowv2beta1.ReplicaSpec) *MPIJobSpecApplyConfiguration
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) WithRunLauncherAsWorker ¶
func (b *MPIJobSpecApplyConfiguration) WithRunLauncherAsWorker(value bool) *MPIJobSpecApplyConfiguration
WithRunLauncherAsWorker sets the RunLauncherAsWorker field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RunLauncherAsWorker field is set to the value of the last call.
func (*MPIJobSpecApplyConfiguration) WithRunPolicy ¶
func (b *MPIJobSpecApplyConfiguration) WithRunPolicy(value *RunPolicyApplyConfiguration) *MPIJobSpecApplyConfiguration
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) WithSSHAuthMountPath ¶
func (b *MPIJobSpecApplyConfiguration) WithSSHAuthMountPath(value string) *MPIJobSpecApplyConfiguration
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.
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 ReplicaSpecApplyConfiguration ¶
type ReplicaSpecApplyConfiguration struct { Replicas *int32 `json:"replicas,omitempty"` Template *v1.PodTemplateSpec `json:"template,omitempty"` RestartPolicy *v2beta1.RestartPolicy `json:"restartPolicy,omitempty"` }
ReplicaSpecApplyConfiguration represents an declarative configuration of the ReplicaSpec type for use with apply.
func ReplicaSpec ¶
func ReplicaSpec() *ReplicaSpecApplyConfiguration
ReplicaSpecApplyConfiguration constructs an declarative configuration of the ReplicaSpec type for use with apply.
func (*ReplicaSpecApplyConfiguration) WithReplicas ¶
func (b *ReplicaSpecApplyConfiguration) WithReplicas(value int32) *ReplicaSpecApplyConfiguration
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 ¶
func (b *ReplicaSpecApplyConfiguration) WithRestartPolicy(value v2beta1.RestartPolicy) *ReplicaSpecApplyConfiguration
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 ¶
func (b *ReplicaSpecApplyConfiguration) WithTemplate(value v1.PodTemplateSpec) *ReplicaSpecApplyConfiguration
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.LabelSelector `json:"labelSelector,omitempty"` Selector *string `json:"selector,omitempty"` }
ReplicaStatusApplyConfiguration represents an declarative configuration of the ReplicaStatus type for use with apply.
func ReplicaStatus ¶
func ReplicaStatus() *ReplicaStatusApplyConfiguration
ReplicaStatusApplyConfiguration constructs an declarative configuration of the ReplicaStatus type for use with apply.
func (*ReplicaStatusApplyConfiguration) WithActive ¶
func (b *ReplicaStatusApplyConfiguration) WithActive(value int32) *ReplicaStatusApplyConfiguration
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 ¶
func (b *ReplicaStatusApplyConfiguration) WithFailed(value int32) *ReplicaStatusApplyConfiguration
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 ¶
func (b *ReplicaStatusApplyConfiguration) WithLabelSelector(value v1.LabelSelector) *ReplicaStatusApplyConfiguration
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 ¶
func (b *ReplicaStatusApplyConfiguration) WithSelector(value string) *ReplicaStatusApplyConfiguration
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 ¶
func (b *ReplicaStatusApplyConfiguration) WithSucceeded(value int32) *ReplicaStatusApplyConfiguration
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 *v2beta1.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"` }
RunPolicyApplyConfiguration represents an declarative configuration of the RunPolicy type for use with apply.
func RunPolicy ¶
func RunPolicy() *RunPolicyApplyConfiguration
RunPolicyApplyConfiguration constructs an 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 ¶
func (b *RunPolicyApplyConfiguration) WithBackoffLimit(value int32) *RunPolicyApplyConfiguration
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 ¶
func (b *RunPolicyApplyConfiguration) WithCleanPodPolicy(value v2beta1.CleanPodPolicy) *RunPolicyApplyConfiguration
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) WithSchedulingPolicy ¶
func (b *RunPolicyApplyConfiguration) WithSchedulingPolicy(value *SchedulingPolicyApplyConfiguration) *RunPolicyApplyConfiguration
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 ¶
func (b *RunPolicyApplyConfiguration) WithSuspend(value bool) *RunPolicyApplyConfiguration
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 *v1.ResourceList `json:"minResources,omitempty"` PriorityClass *string `json:"priorityClass,omitempty"` ScheduleTimeoutSeconds *int32 `json:"scheduleTimeoutSeconds,omitempty"` }
SchedulingPolicyApplyConfiguration represents an declarative configuration of the SchedulingPolicy type for use with apply.
func SchedulingPolicy ¶
func SchedulingPolicy() *SchedulingPolicyApplyConfiguration
SchedulingPolicyApplyConfiguration constructs an declarative configuration of the SchedulingPolicy type for use with apply.
func (*SchedulingPolicyApplyConfiguration) WithMinAvailable ¶
func (b *SchedulingPolicyApplyConfiguration) WithMinAvailable(value int32) *SchedulingPolicyApplyConfiguration
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 ¶
func (b *SchedulingPolicyApplyConfiguration) WithMinResources(value v1.ResourceList) *SchedulingPolicyApplyConfiguration
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 ¶
func (b *SchedulingPolicyApplyConfiguration) WithPriorityClass(value string) *SchedulingPolicyApplyConfiguration
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 ¶
func (b *SchedulingPolicyApplyConfiguration) WithQueue(value string) *SchedulingPolicyApplyConfiguration
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.