Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobConfig ¶
type JobConfig struct {
ID string `json:"ID" yaml:"id"`
Command string `json:"Command" yaml:"command"`
Instances string `json:"Instances" yaml:"instances"`
AtLaunch string `json:"AtLaunch" yaml:"atLaunch"`
RestartPolicy string `json:"RestartPolicy" yaml:"restartPolicy"`
ExpectedExit string `json:"ExpectedExit" yaml:"expectedExit"`
StartCheckup string `json:"StartCheckup" yaml:"startCheckup"`
MaxRestarts string `json:"MaxRestarts" yaml:"maxRestarts"`
StopSignal string `json:"StopSignal" yaml:"stopSignal"`
StopTimeout string `json:"StopTimeout" yaml:"stopTimeout"`
EnvVars string `json:"EnvVars" yaml:"envVars"`
WorkingDir string `json:"WorkingDir" yaml:"workingDir"`
Umask string `json:"Umask" yaml:"umask"`
Redirections
}
* JobConfig represents the config struct loaded from yaml
type Redirections ¶
type Redirections struct {
Stdin string `json:"Stdin"`
Stdout string `json:"Stdout"`
Stderr string `json:"Stderr"`
}
* Redirections store the redirection file names
Click to show internal directories.
Click to hide internal directories.