Documentation ¶
Index ¶
Constants ¶
View Source
const ( ResourceTypeEcsService = "ecs-service" ResourceTypeAutoScalingGroup = "auto-scaling-group" ResourceTypeElbv2LoadBalancer = "elbv2-load-balancer" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityFailedError ¶
An error type to signal the activity has failed and whether or not it can be retried
func (ActivityFailedError) Error ¶
func (e ActivityFailedError) Error() string
func (ActivityFailedError) IsTemporary ¶
func (e ActivityFailedError) IsTemporary() bool
type ConsistentStateResource ¶
type ConsistentStateResource interface { Check() (bool, error) Save(state.StateManager) error Fail([]string) error Restore() error }
A representation of an AWS resource state that can be validated and stored with StateManager
type FaultConfiguration ¶
type FaultConfiguration struct { Azs []string `json:"azs"` Targets []TargetSelector `json:"targets"` }
AZ Failure Configuration
type InterruptExecutionError ¶
type InterruptExecutionError struct {
Wrap error
}
An error type to signal the current activity has failed and that the program execution should be interrupted as soon as possible
func (InterruptExecutionError) Error ¶
func (e InterruptExecutionError) Error() string
type TargetSelector ¶
type TargetSelector struct { Type string `json:"type"` Filter string `json:"filter"` Tags []AWSTag `json:"tags"` }
A struct to represent the selection of AWS resource targets
func (TargetSelector) Validate ¶
func (t TargetSelector) Validate() error
Validates all required fields for target selector have been provided
Click to show internal directories.
Click to hide internal directories.