Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Duration ¶
func (*Duration) UnmarshalYAML ¶
type FileSystem ¶
type GrpcServer ¶
type HTTPServer ¶
type Program ¶
type Program struct { Name string `yaml:"name"` Directory string `yaml:"directory"` Command string `yaml:"command"` Environment env.KeyValues `yaml:"environment"` User string `yaml:"user"` ExitCodes []int `yaml:"exit_codes" default:"[0,2]"` Priority int `yaml:"priority" default:"999"` RestartPause Duration `yaml:"restart_pause"` StartRetries int `yaml:"start_retries" default:"3"` StartSeconds Duration `yaml:"start_seconds" default:"1000000000"` Cron string `yaml:"cron"` AutoStart bool `yaml:"auto_start" default:"true"` AutoRestart *bool `yaml:"auto_restart"` RestartDirectoryMonitor string `yaml:"restart_directory_monitor"` RestartFilePattern string `yaml:"restart_file_pattern" default:"*"` RestartWhenBinaryChanged bool `yaml:"restart_when_binary_changed"` StopSignals []string `yaml:"stop_signals"` StopWaitSeconds Duration `yaml:"stop_wait_seconds" default:"10000000000"` StopAsGroup bool `yaml:"stop_as_group"` KillAsGroup bool `yaml:"kill_as_group"` StdoutLogFile string `yaml:"stdout_logfile" default:"/dev/null"` StdoutLogfileBackups int `yaml:"stdout_logfile_backups" default:"10"` StdoutLogFileMaxBytes int `yaml:"stdout_logfile_max_bytes" default:"52428800"` RedirectStderr bool `yaml:"redirect_stderr"` StderrLogFile string `yaml:"stderr_logfile" default:"/dev/null"` StderrLogfileBackups int `yaml:"stderr_logfile_backups" default:"10"` StderrLogFileMaxBytes int `yaml:"stderr_logfile_max_bytes" default:"52428800"` DependsOn []string `yaml:"depends_on"` Labels map[string]string `yaml:"labels"` }
func (*Program) UnmarshalYAML ¶
type Root ¶
type Root struct { Environment env.KeyValues `yaml:"environment"` HttpServer *HTTPServer `yaml:"http_server"` GrpcServer *GrpcServer `yaml:"grpc_server"` Programs []*Program `yaml:"programs"` Groups []*Group `yaml:"groups"` FileSystem *FileSystem }
func MustLoadString ¶
Click to show internal directories.
Click to hide internal directories.