Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerDefinition ¶
type ECSDeploymentStrategy ¶
type ECSDeploymentStrategy struct { // Config Items ClusterName string `mapstructure:"cluster_name"` Application string Region string `default:"ap-southeast-2"` TaskDefinition string `mapstructure:"task_definition"` ELB string ElbId string `mapstructure:"elb_id"` Containers []ContainerDefinition Service Service // contains filtered or unexported fields }
func (*ECSDeploymentStrategy) Deploy ¶
func (s *ECSDeploymentStrategy) Deploy() error
func (*ECSDeploymentStrategy) Rollback ¶
func (s *ECSDeploymentStrategy) Rollback() error
func (*ECSDeploymentStrategy) Setup ¶
func (s *ECSDeploymentStrategy) Setup()
func (*ECSDeploymentStrategy) Teardown ¶
func (s *ECSDeploymentStrategy) Teardown()
type ShellDeploymentStrategy ¶
type ShellDeploymentStrategy struct { Host string `mapstructure:"ssh_host"` Shell string ShellArgs []string `mapstructure:"shell_args"` Commands []string RollbackCommands []string `mapstructure:"rollback_commands"` }
func (ShellDeploymentStrategy) Deploy ¶
func (s ShellDeploymentStrategy) Deploy() error
func (ShellDeploymentStrategy) Rollback ¶
func (s ShellDeploymentStrategy) Rollback() error
func (ShellDeploymentStrategy) Setup ¶
func (s ShellDeploymentStrategy) Setup()
func (ShellDeploymentStrategy) Teardown ¶
func (s ShellDeploymentStrategy) Teardown()
Click to show internal directories.
Click to hide internal directories.