cmd

package
v0.0.0-...-5c07195 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type DeleteArgs

type DeleteArgs struct {
	Namespace string
}

type GetArgs

type GetArgs struct {
	Namespace string
}

type ListArgs

type ListArgs struct {
	Namespace string
}

type LogArgs

type LogArgs struct {
	Namespace string
	Follow    bool
}

type SubmitArgs

type SubmitArgs struct {
	Name              string   `yaml:"name"`
	Namespace         string   `yaml:"namespace"`
	NumWorkers        int      `yaml:"numWorkers"`
	GitUrl            string   `yaml:"gitUrl"`
	LocalUrl          string   `yaml:"localUrl"`
	GitRepoName       string   `yaml:"gitRepoName"`
	WorkDir           string   `yaml:"workDir"`
	Commands          []string `yaml:"commands"`
	PipInstall        bool     `yaml:"pipInstall"`
	GpuPerWorker      int      `yaml:"gpuPerWorker"`
	Gang              bool     `yaml:"gang"`
	GangSchedulerName string   `yaml:"gangSchedulerName"`
}

Jump to

Keyboard shortcuts

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