Documentation ¶
Index ¶
- type Builder
- func (b *Builder) Do(ctx context.Context) (runtime.Object, []runtime.Object, error)
- func (b *Builder) WithArray(array string) *Builder
- func (b *Builder) WithChangeDir(chdir string) *Builder
- func (b *Builder) WithCommand(command []string) *Builder
- func (b *Builder) WithCompletions(completions *int32) *Builder
- func (b *Builder) WithCpusPerTask(cpusPerTask *resource.Quantity) *Builder
- func (b *Builder) WithError(error string) *Builder
- func (b *Builder) WithFirstNodeIP(firstNodeIP bool) *Builder
- func (b *Builder) WithFirstNodeIPTimeout(timeout time.Duration) *Builder
- func (b *Builder) WithGpusPerTask(gpusPerTask map[string]*resource.Quantity) *Builder
- func (b *Builder) WithIgnoreUnknown(ignoreUnknown bool) *Builder
- func (b *Builder) WithInitImage(initImage string) *Builder
- func (b *Builder) WithInput(input string) *Builder
- func (b *Builder) WithJobName(jobName string) *Builder
- func (b *Builder) WithLocalQueue(localQueue string) *Builder
- func (b *Builder) WithMaxReplicas(maxReplicas map[string]int) *Builder
- func (b *Builder) WithMemPerCPU(memPerCPU *resource.Quantity) *Builder
- func (b *Builder) WithMemPerGPU(memPerGPU *resource.Quantity) *Builder
- func (b *Builder) WithMemPerNode(memPerNode *resource.Quantity) *Builder
- func (b *Builder) WithMemPerTask(memPerTask *resource.Quantity) *Builder
- func (b *Builder) WithMinReplicas(minReplicas map[string]int) *Builder
- func (b *Builder) WithModeName(modeName v1alpha1.ApplicationProfileMode) *Builder
- func (b *Builder) WithNTasks(nTasks *int32) *Builder
- func (b *Builder) WithNamespace(namespace string) *Builder
- func (b *Builder) WithNodes(nodes *int32) *Builder
- func (b *Builder) WithOutput(output string) *Builder
- func (b *Builder) WithParallelism(parallelism *int32) *Builder
- func (b *Builder) WithPartition(partition string) *Builder
- func (b *Builder) WithPriority(priority string) *Builder
- func (b *Builder) WithProfileName(profileName string) *Builder
- func (b *Builder) WithRayCluster(rayCluster string) *Builder
- func (b *Builder) WithReplicas(replicas map[string]int) *Builder
- func (b *Builder) WithRequests(requests corev1.ResourceList) *Builder
- func (b *Builder) WithScript(script string) *Builder
- func (b *Builder) WithSkipLocalQueueValidation(skip bool) *Builder
- func (b *Builder) WithSkipPriorityValidation(skip bool) *Builder
- func (b *Builder) WithTimeLimit(timeLimit string) *Builder
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) WithChangeDir ¶
func (*Builder) WithCommand ¶
func (*Builder) WithCompletions ¶
func (*Builder) WithCpusPerTask ¶
func (*Builder) WithFirstNodeIP ¶
func (*Builder) WithFirstNodeIPTimeout ¶
func (*Builder) WithGpusPerTask ¶
func (*Builder) WithIgnoreUnknown ¶
func (*Builder) WithInitImage ¶
func (*Builder) WithJobName ¶
func (*Builder) WithLocalQueue ¶
func (*Builder) WithMaxReplicas ¶
func (*Builder) WithMemPerCPU ¶
func (*Builder) WithMemPerGPU ¶
func (*Builder) WithMemPerNode ¶
func (*Builder) WithMemPerTask ¶
func (*Builder) WithMinReplicas ¶
func (*Builder) WithModeName ¶
func (b *Builder) WithModeName(modeName v1alpha1.ApplicationProfileMode) *Builder
func (*Builder) WithNTasks ¶
func (*Builder) WithNamespace ¶
func (*Builder) WithOutput ¶
func (*Builder) WithParallelism ¶
func (*Builder) WithPartition ¶
func (*Builder) WithPriority ¶
func (*Builder) WithProfileName ¶
func (*Builder) WithRayCluster ¶
func (*Builder) WithRequests ¶
func (b *Builder) WithRequests(requests corev1.ResourceList) *Builder
func (*Builder) WithScript ¶
func (*Builder) WithSkipLocalQueueValidation ¶
func (*Builder) WithSkipPriorityValidation ¶
func (*Builder) WithTimeLimit ¶
Click to show internal directories.
Click to hide internal directories.