Documentation ¶
Index ¶
- type BlueGreen
- type BlueGreenChainElb
- type BlueGreenController
- func (self *BlueGreenController) ApplyBlueGreenDeploy(bgplan *BlueGreenPlan, nodeploy bool) error
- func (self *BlueGreenController) ApplyBlueGreenDeploys(plans []*BlueGreenPlan, nodeploy bool) error
- func (self *BlueGreenController) CreateBlueGreenPlan(bluegreen *BlueGreen, cplans []*service.ServiceUpdatePlan) (*BlueGreenPlan, error)
- func (self *BlueGreenController) CreateBlueGreenPlans(bgmap map[string]*BlueGreen, cplans []*service.ServiceUpdatePlan) ([]*BlueGreenPlan, error)
- func (self *BlueGreenController) GetBlueGreenMap() map[string]*BlueGreen
- type BlueGreenPlan
- type BlueGreenTarget
- type ServiceSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlueGreen ¶
type BlueGreen struct { Blue BlueGreenTarget `yaml:"blue"` Green BlueGreenTarget `yaml:"green"` PrimaryElb string `yaml:"primary_elb"` StandbyElb string `yaml:"standby_elb"` ChainElb []BlueGreenChainElb `yaml:"chain_elb"` }
func CreateBlueGreen ¶
type BlueGreenChainElb ¶
type BlueGreenController ¶
type BlueGreenController struct { ClusterController *service.ServiceController // contains filtered or unexported fields }
func NewBlueGreenController ¶
func NewBlueGreenController(manager *aws.AwsManager, projectDir string, targetResource string, params map[string]string) (*BlueGreenController, error)
func (*BlueGreenController) ApplyBlueGreenDeploy ¶
func (self *BlueGreenController) ApplyBlueGreenDeploy(bgplan *BlueGreenPlan, nodeploy bool) error
func (*BlueGreenController) ApplyBlueGreenDeploys ¶
func (self *BlueGreenController) ApplyBlueGreenDeploys(plans []*BlueGreenPlan, nodeploy bool) error
func (*BlueGreenController) CreateBlueGreenPlan ¶
func (self *BlueGreenController) CreateBlueGreenPlan(bluegreen *BlueGreen, cplans []*service.ServiceUpdatePlan) (*BlueGreenPlan, error)
func (*BlueGreenController) CreateBlueGreenPlans ¶
func (self *BlueGreenController) CreateBlueGreenPlans(bgmap map[string]*BlueGreen, cplans []*service.ServiceUpdatePlan) ([]*BlueGreenPlan, error)
func (*BlueGreenController) GetBlueGreenMap ¶
func (self *BlueGreenController) GetBlueGreenMap() map[string]*BlueGreen
type BlueGreenPlan ¶
type BlueGreenPlan struct { Blue *ServiceSet Green *ServiceSet PrimaryElb string StandbyElb string ChainElb []BlueGreenChainElb }
func (*BlueGreenPlan) IsBlueWithPrimaryElb ¶
func (self *BlueGreenPlan) IsBlueWithPrimaryElb() bool
type BlueGreenTarget ¶
type ServiceSet ¶
type ServiceSet struct { CurrentService *ecs.Service NewService *BlueGreenTarget AutoScalingGroup *autoscaling.Group ClusterUpdatePlan *service.ServiceUpdatePlan }
Click to show internal directories.
Click to hide internal directories.