cron

package
v0.8.9 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CronTFJobBuilder added in v0.8.4

type CronTFJobBuilder struct {
	argsbuilder.ArgsBuilder
	*training.TFJobBuilder
	// contains filtered or unexported fields
}

func NewCronTFJobBuilder

func NewCronTFJobBuilder() *CronTFJobBuilder

func (*CronTFJobBuilder) Annotations added in v0.8.4

func (c *CronTFJobBuilder) Annotations(annotations map[string]string) *CronTFJobBuilder

func (*CronTFJobBuilder) Build added in v0.8.4

func (c *CronTFJobBuilder) Build() (*Job, error)

func (*CronTFJobBuilder) ChiefCPU added in v0.8.4

func (c *CronTFJobBuilder) ChiefCPU(cpu string) *CronTFJobBuilder

func (*CronTFJobBuilder) ChiefMemory added in v0.8.4

func (c *CronTFJobBuilder) ChiefMemory(mem string) *CronTFJobBuilder

func (*CronTFJobBuilder) ChiefPort added in v0.8.4

func (c *CronTFJobBuilder) ChiefPort(port int) *CronTFJobBuilder

func (*CronTFJobBuilder) ChiefSelectors added in v0.8.4

func (c *CronTFJobBuilder) ChiefSelectors(selectors map[string]string) *CronTFJobBuilder

func (*CronTFJobBuilder) CleanPodPolicy added in v0.8.4

func (c *CronTFJobBuilder) CleanPodPolicy(policy string) *CronTFJobBuilder

func (*CronTFJobBuilder) Command added in v0.8.4

func (c *CronTFJobBuilder) Command(args []string) *CronTFJobBuilder

func (*CronTFJobBuilder) ConcurrencyPolicy added in v0.8.4

func (c *CronTFJobBuilder) ConcurrencyPolicy(concurrencyPolicy string) *CronTFJobBuilder

func (*CronTFJobBuilder) ConfigFiles added in v0.8.4

func (c *CronTFJobBuilder) ConfigFiles(files map[string]string) *CronTFJobBuilder

func (*CronTFJobBuilder) DataDirs added in v0.8.4

func (c *CronTFJobBuilder) DataDirs(volumes map[string]string) *CronTFJobBuilder

func (*CronTFJobBuilder) Datas added in v0.8.4

func (c *CronTFJobBuilder) Datas(volumes map[string]string) *CronTFJobBuilder

func (*CronTFJobBuilder) Deadline added in v0.8.4

func (c *CronTFJobBuilder) Deadline(deadline string) *CronTFJobBuilder

func (*CronTFJobBuilder) EnableChief added in v0.8.4

func (c *CronTFJobBuilder) EnableChief() *CronTFJobBuilder

func (*CronTFJobBuilder) EnableEvaluator added in v0.8.4

func (c *CronTFJobBuilder) EnableEvaluator() *CronTFJobBuilder

func (*CronTFJobBuilder) EnableRDMA added in v0.8.4

func (c *CronTFJobBuilder) EnableRDMA() *CronTFJobBuilder

func (*CronTFJobBuilder) EnableTensorboard added in v0.8.4

func (c *CronTFJobBuilder) EnableTensorboard() *CronTFJobBuilder

func (*CronTFJobBuilder) Envs added in v0.8.4

func (c *CronTFJobBuilder) Envs(envs map[string]string) *CronTFJobBuilder

func (*CronTFJobBuilder) EvaluatorCPU added in v0.8.4

func (c *CronTFJobBuilder) EvaluatorCPU(cpu string) *CronTFJobBuilder

func (*CronTFJobBuilder) EvaluatorMemory added in v0.8.4

func (c *CronTFJobBuilder) EvaluatorMemory(mem string) *CronTFJobBuilder

func (*CronTFJobBuilder) EvaluatorSelectors added in v0.8.4

func (c *CronTFJobBuilder) EvaluatorSelectors(selectors map[string]string) *CronTFJobBuilder

func (*CronTFJobBuilder) GPUCount added in v0.8.4

func (c *CronTFJobBuilder) GPUCount(count int) *CronTFJobBuilder

func (*CronTFJobBuilder) HistoryLimit added in v0.8.4

func (c *CronTFJobBuilder) HistoryLimit(historyLimit int) *CronTFJobBuilder

func (*CronTFJobBuilder) Image added in v0.8.4

func (c *CronTFJobBuilder) Image(image string) *CronTFJobBuilder

func (*CronTFJobBuilder) ImagePullSecrets added in v0.8.4

func (c *CronTFJobBuilder) ImagePullSecrets(secrets []string) *CronTFJobBuilder

func (*CronTFJobBuilder) Labels added in v0.8.8

func (c *CronTFJobBuilder) Labels(labels map[string]string) *CronTFJobBuilder

func (*CronTFJobBuilder) LogDir added in v0.8.4

func (c *CronTFJobBuilder) LogDir(dir string) *CronTFJobBuilder

func (*CronTFJobBuilder) Name added in v0.8.4

func (c *CronTFJobBuilder) Name(name string) *CronTFJobBuilder

func (*CronTFJobBuilder) NodeSelectors added in v0.8.4

func (c *CronTFJobBuilder) NodeSelectors(selectors map[string]string) *CronTFJobBuilder

func (*CronTFJobBuilder) Priority added in v0.8.4

func (c *CronTFJobBuilder) Priority(priority string) *CronTFJobBuilder

func (*CronTFJobBuilder) PsCPU added in v0.8.4

func (c *CronTFJobBuilder) PsCPU(cpu string) *CronTFJobBuilder

func (*CronTFJobBuilder) PsCount added in v0.8.4

func (c *CronTFJobBuilder) PsCount(count int) *CronTFJobBuilder

func (*CronTFJobBuilder) PsGPU added in v0.8.6

func (c *CronTFJobBuilder) PsGPU(gpu int) *CronTFJobBuilder

func (*CronTFJobBuilder) PsImage added in v0.8.4

func (c *CronTFJobBuilder) PsImage(image string) *CronTFJobBuilder

func (*CronTFJobBuilder) PsMemory added in v0.8.4

func (c *CronTFJobBuilder) PsMemory(mem string) *CronTFJobBuilder

func (*CronTFJobBuilder) PsPort added in v0.8.4

func (c *CronTFJobBuilder) PsPort(port int) *CronTFJobBuilder

func (*CronTFJobBuilder) PsSelectors added in v0.8.4

func (c *CronTFJobBuilder) PsSelectors(selectors map[string]string) *CronTFJobBuilder

func (*CronTFJobBuilder) RoleSequence added in v0.8.4

func (c *CronTFJobBuilder) RoleSequence(roles []string) *CronTFJobBuilder

func (*CronTFJobBuilder) Schedule added in v0.8.4

func (c *CronTFJobBuilder) Schedule(schedule string) *CronTFJobBuilder

func (*CronTFJobBuilder) Shell added in v0.8.9

func (c *CronTFJobBuilder) Shell(shell string) *CronTFJobBuilder

func (*CronTFJobBuilder) SyncImage added in v0.8.4

func (c *CronTFJobBuilder) SyncImage(image string) *CronTFJobBuilder

func (*CronTFJobBuilder) SyncMode added in v0.8.4

func (c *CronTFJobBuilder) SyncMode(mode string) *CronTFJobBuilder

func (*CronTFJobBuilder) SyncSource added in v0.8.4

func (c *CronTFJobBuilder) SyncSource(source string) *CronTFJobBuilder

func (*CronTFJobBuilder) TensorboardImage added in v0.8.4

func (c *CronTFJobBuilder) TensorboardImage(image string) *CronTFJobBuilder

func (*CronTFJobBuilder) Tolerations added in v0.8.4

func (c *CronTFJobBuilder) Tolerations(tolerations []string) *CronTFJobBuilder

func (*CronTFJobBuilder) WorkerCPU added in v0.8.4

func (c *CronTFJobBuilder) WorkerCPU(cpu string) *CronTFJobBuilder

func (*CronTFJobBuilder) WorkerCount added in v0.8.4

func (c *CronTFJobBuilder) WorkerCount(count int) *CronTFJobBuilder

func (*CronTFJobBuilder) WorkerImage added in v0.8.4

func (c *CronTFJobBuilder) WorkerImage(image string) *CronTFJobBuilder

func (*CronTFJobBuilder) WorkerMemory added in v0.8.4

func (c *CronTFJobBuilder) WorkerMemory(mem string) *CronTFJobBuilder

func (*CronTFJobBuilder) WorkerPort added in v0.8.4

func (c *CronTFJobBuilder) WorkerPort(port int) *CronTFJobBuilder

func (*CronTFJobBuilder) WorkerSelectors added in v0.8.4

func (c *CronTFJobBuilder) WorkerSelectors(selectors map[string]string) *CronTFJobBuilder

func (*CronTFJobBuilder) WorkingDir added in v0.8.4

func (c *CronTFJobBuilder) WorkingDir(dir string) *CronTFJobBuilder

type Job

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

Job defines the base job

func NewJob

func NewJob(name string, jobType types.CronType, args interface{}) *Job

func (*Job) Args

func (b *Job) Args() interface{}

func (*Job) Name

func (b *Job) Name() string

func (*Job) Type

func (j *Job) Type() types.CronType

Jump to

Keyboard shortcuts

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