Documentation ¶
Overview ¶
Package config parses taskmaster config files in the yaml format and turns them into structs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Program ¶
type Program struct { Cmd string `yaml:"cmd"` NumProcs uint `yaml:"numprocs"` UMask uint32 `yaml:"umask"` WorkingDir string `yaml:"workingdir"` AutoStart bool `yaml:"autostart"` AutoRestart string `yaml:"autorestart"` ExitCodes []int `yaml:"exitcodes"` StartRetries uint `yaml:"startretries"` StartTime uint `yaml:"starttime"` StopSignal string `yaml:"stopsignal"` StopTime uint `yaml:"stoptime"` Stdout string `yaml:"stdout"` Stderr string `yaml:"stderr"` Env map[string]string `yaml:"env"` }
Program stores the configuration attributes of an individual program in a config file.
Click to show internal directories.
Click to hide internal directories.