Documentation
¶
Index ¶
- type CloudwatchEventTarget
- type Config
- type ConfigEvent
- type ContainerOverride
- type CronExpr
- type DayOfWeek
- type DayOfWeeks
- type ECSTarget
- type Environment
- type Generator
- type Hour
- type Hours
- type JsonGenerator
- type Minutes
- type NetworkConfiguration
- type OrigSchedule
- type Schedule
- type StringWithArray
- type Tenco
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudwatchEventTarget ¶
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 CloudwatchEventTarget `yaml:"cloudwatch_event_target"`
ContainerOverrides []ContainerOverride `yaml:"container_overrides"`
IsEnabled bool `yaml:"is_enabled"`
}
func (ConfigEvent) ContainerOverridesWithEnv ¶
func (c ConfigEvent) ContainerOverridesWithEnv(addEnvs []Environment) []ContainerOverride
type ContainerOverride ¶
type ContainerOverride struct {
Name string `json:"name"`
Command []string `json:"command"`
Environment []Environment `json:"environment"`
}
func (*ContainerOverride) UnmarshalYAML ¶
func (c *ContainerOverride) UnmarshalYAML(unmarshal func(interface{}) error) error
type DayOfWeeks ¶
type DayOfWeeks []DayOfWeek
func (*DayOfWeeks) UnmarshalYAML ¶
func (ws *DayOfWeeks) UnmarshalYAML(unmarshal func(interface{}) error) error
type ECSTarget ¶
type ECSTarget struct {
LaunchType string `yaml:"launch_type" json:"launch_type"`
PlatformVersion string `yaml:"platform_version" json:"platform_version"`
TaskDefinitionArn string `yaml:"task_definition_arn" json:"task_definition_arn"`
NetworkConfiguration NetworkConfiguration `yaml:"network_configuration" json:"network_configuration"`
}
type Environment ¶
type JsonGenerator ¶
type JsonGenerator struct {
}
type NetworkConfiguration ¶
type NetworkConfiguration struct {
Subnets *StringWithArray `yaml:"subnets" json:"subnets"`
SecurityGroups *StringWithArray `yaml:"security_groups" json:"security_groups"`
AssignPublicIP bool `yaml:"assign_public_ip" json:"assign_public_ip"`
}
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
Hours Hours
DayOfWeeks DayOfWeeks
OrigSchedule OrigSchedule
}
func (*Schedule) UnmarshalYAML ¶
type StringWithArray ¶
func (*StringWithArray) MarshalJSON ¶
func (s *StringWithArray) MarshalJSON() ([]byte, error)
func (*StringWithArray) UnmarshalYAML ¶
func (s *StringWithArray) UnmarshalYAML(unmarshal func(interface{}) error) error
Click to show internal directories.
Click to hide internal directories.