Documentation ¶
Index ¶
Constants ¶
View Source
const DEFAULT_CONNECT_TIMEOUT = 20
View Source
const DEFAULT_MAX_RUN_HISTORY = 50
View Source
const DEFAULT_READ_TIMEOUT = 86400
View Source
const DEFAULT_RUN_DIR = "/var/lib/scylla"
Variables ¶
This section is empty.
Functions ¶
func PoolCacheDir ¶
func PoolCacheDir() string
Types ¶
type Config ¶
type JobSpec ¶
type JobSpec struct { Name string Command []string Description string Schedule string ScheduleInst sched.Sched `json:"-"` Keyfile string Host string Pool string PoolMode string PoolInst *PoolSpec `json:"-"` DefaultUser string Upload string Sudo bool SudoCommand string `gcfg:"sudo-command"` ConnectTimeout int `gcfg:"connect-timeout"` ReadTimeout int `gcfg:"read-timeout"` MaxRunHistory int `gcfg:"max-run-history"` RunOnStart bool `gcfg:"run-on-start"` FailsToNotify int `gcfg:"fails-to-notify"` Notifier string }
func (*JobSpec) ParseSchedule ¶
Click to show internal directories.
Click to hide internal directories.