Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Runner ¶
type Runner struct {
Items []ScheduleItem
Client *client.Client
Timezone *time.Location
DryRun bool
Sync bool
PIDFile string
}
Runner executes scheduled items.
type ScheduleItem ¶
type ScheduleItem struct {
Time string `mapstructure:"time" yaml:"time"`
Action string `mapstructure:"action" yaml:"action"`
Temperature string `mapstructure:"temperature" yaml:"temperature"`
}
ScheduleItem describes a timed action.
Click to show internal directories.
Click to hide internal directories.