Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCommandExited = fmt.Errorf("command exited")
View Source
var ErrCommandExitedWithError = fmt.Errorf("command exited with error")
Functions ¶
This section is empty.
Types ¶
type CmdConfig ¶
type CmdConfig struct {
Path string `json:"path" yaml:"path"`
Cmd []string `json:"cmd" yaml:"cmd"`
Cwd string `json:"cwd,omitempty" yaml:"cwd,omitempty"`
Envs map[string]string `json:"envs,omitempty" yaml:"envs,omitempty"`
EnvFile string `json:"env_file,omitempty" yaml:"env_file,omitempty"`
PathArgs []PathArgs
}
type Config ¶
type Config struct {
MaxConcurrency int `json:"max_concurrency,omitempty" yaml:"max_concurrency,omitempty"`
Cmds []CmdConfig `json:"cmds" yaml:"cmds"`
}
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.