Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CWCronExpr ¶ added in v0.3.0
func (CWCronExpr) String ¶ added in v0.3.0
func (c CWCronExpr) String() string
type Config ¶
type Config struct {
Events []*ConfigEvent `yaml:"events"`
}
type ConfigEvent ¶
type ConfigEvent struct {
Name string `yaml:"name"`
Description string `yaml:"description"`
Schedule *Schedule `yaml:"schedule"`
CloudwatchEventTarget map[string]interface{} `yaml:"cloudwatch_event_target"`
IsEnabled bool `yaml:"is_enabled"`
}
func (*ConfigEvent) UnmarshalYAML ¶ added in v0.4.0
func (s *ConfigEvent) UnmarshalYAML(unmarshal func(interface{}) error) error
type DayOfWeeks ¶
type DayOfWeeks []DayOfWeek
func (*DayOfWeeks) UnmarshalYAML ¶
func (ws *DayOfWeeks) UnmarshalYAML(unmarshal func(interface{}) error) error
type JSONGenerator ¶ added in v0.2.0
type JSONGenerator struct {
}
type OrigSchedule ¶
type OrigSchedule struct {
Minutes string `yaml:"minutes"`
Hours string `yaml:"hours"`
DayOfWeeks string `yaml:"day_of_weeks"`
}
func (OrigSchedule) String ¶
func (o OrigSchedule) String() string
type Schedule ¶
type Schedule struct {
Minutes Minutes `yaml:"minutes"`
Hours Hours `yaml:"hours"`
DayOfWeeks DayOfWeeks `yaml:"day_of_weeks"`
OrigSchedule OrigSchedule `yaml:"-"`
}
func (*Schedule) CWCronExprs ¶ added in v0.3.0
func (s *Schedule) CWCronExprs(offset int) []CWCronExpr
func (*Schedule) UnmarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.