Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Jobs []Job `json:"jobs"`
}
Config represents a configuration file
type Diff ¶
type Diff struct {
Item, OldValue, NewValue string
}
Diff defines the diff between two watch states over time
type Job ¶
type Job struct { Name string `json:"name"` Schedule string `json:"schedule"` Notify []NotifyEntry `json:"notify"` NotifyOnChangeOnly bool `json:"notify_on_change_only"` CodeFile string `json:"code_file"` VarsFile string `json:"vars_file"` ModulesDir string `json:"modules_dir"` }
Job entry of a config file. Defines what to execute when.
type NotifyEntry ¶
NotifyEntry defines whom to notify on change
Click to show internal directories.
Click to hide internal directories.