builder

package
v0.0.0-...-298fb37 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func NewBuilder

func NewBuilder(clientGetter util.ClientGetter, buildTime time.Time) *Builder

func (*Builder) Do

func (*Builder) WithArray

func (b *Builder) WithArray(array string) *Builder

func (*Builder) WithChangeDir

func (b *Builder) WithChangeDir(chdir string) *Builder

func (*Builder) WithCommand

func (b *Builder) WithCommand(command []string) *Builder

func (*Builder) WithCompletions

func (b *Builder) WithCompletions(completions *int32) *Builder

func (*Builder) WithCpusPerTask

func (b *Builder) WithCpusPerTask(cpusPerTask *resource.Quantity) *Builder

func (*Builder) WithError

func (b *Builder) WithError(error string) *Builder

func (*Builder) WithFirstNodeIP

func (b *Builder) WithFirstNodeIP(firstNodeIP bool) *Builder

func (*Builder) WithFirstNodeIPTimeout

func (b *Builder) WithFirstNodeIPTimeout(timeout time.Duration) *Builder

func (*Builder) WithGpusPerTask

func (b *Builder) WithGpusPerTask(gpusPerTask map[string]*resource.Quantity) *Builder

func (*Builder) WithIgnoreUnknown

func (b *Builder) WithIgnoreUnknown(ignoreUnknown bool) *Builder

func (*Builder) WithInitImage

func (b *Builder) WithInitImage(initImage string) *Builder

func (*Builder) WithInput

func (b *Builder) WithInput(input string) *Builder

func (*Builder) WithJobName

func (b *Builder) WithJobName(jobName string) *Builder

func (*Builder) WithLocalQueue

func (b *Builder) WithLocalQueue(localQueue string) *Builder

func (*Builder) WithMaxReplicas

func (b *Builder) WithMaxReplicas(maxReplicas map[string]int) *Builder

func (*Builder) WithMemPerCPU

func (b *Builder) WithMemPerCPU(memPerCPU *resource.Quantity) *Builder

func (*Builder) WithMemPerGPU

func (b *Builder) WithMemPerGPU(memPerGPU *resource.Quantity) *Builder

func (*Builder) WithMemPerNode

func (b *Builder) WithMemPerNode(memPerNode *resource.Quantity) *Builder

func (*Builder) WithMemPerTask

func (b *Builder) WithMemPerTask(memPerTask *resource.Quantity) *Builder

func (*Builder) WithMinReplicas

func (b *Builder) WithMinReplicas(minReplicas map[string]int) *Builder

func (*Builder) WithModeName

func (b *Builder) WithModeName(modeName v1alpha1.ApplicationProfileMode) *Builder

func (*Builder) WithNTasks

func (b *Builder) WithNTasks(nTasks *int32) *Builder

func (*Builder) WithNamespace

func (b *Builder) WithNamespace(namespace string) *Builder

func (*Builder) WithNodes

func (b *Builder) WithNodes(nodes *int32) *Builder

func (*Builder) WithOutput

func (b *Builder) WithOutput(output string) *Builder

func (*Builder) WithParallelism

func (b *Builder) WithParallelism(parallelism *int32) *Builder

func (*Builder) WithPartition

func (b *Builder) WithPartition(partition string) *Builder

func (*Builder) WithPriority

func (b *Builder) WithPriority(priority string) *Builder

func (*Builder) WithProfileName

func (b *Builder) WithProfileName(profileName string) *Builder

func (*Builder) WithRayCluster

func (b *Builder) WithRayCluster(rayCluster string) *Builder

func (*Builder) WithReplicas

func (b *Builder) WithReplicas(replicas map[string]int) *Builder

func (*Builder) WithRequests

func (b *Builder) WithRequests(requests corev1.ResourceList) *Builder

func (*Builder) WithScript

func (b *Builder) WithScript(script string) *Builder

func (*Builder) WithSkipLocalQueueValidation

func (b *Builder) WithSkipLocalQueueValidation(skip bool) *Builder

func (*Builder) WithSkipPriorityValidation

func (b *Builder) WithSkipPriorityValidation(skip bool) *Builder

func (*Builder) WithTimeLimit

func (b *Builder) WithTimeLimit(timeLimit string) *Builder

Jump to

Keyboard shortcuts

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