Documentation
¶
Index ¶
- type API
- type AutoscalingController
- type Controller
- func (c *Controller) Bootstrap(b *Flags) error
- func (c *Controller) DeleteCluster(b *Flags) error
- func (c *Controller) Deploy(serviceName string, d service.Deploy) (*service.DeployResult, error)
- func (c *Controller) Resume() error
- func (c *Controller) UpdateRuleForTarget(serviceName string, r *service.DeployRuleConditions, ...) error
- type ControllerIf
- type Export
- type ExportedApps
- type Flags
- type ListenerRule
- type ListenerRuleCondition
- type ListenerRuleExport
- type Migration
- type RulePriority
- type SAML
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoscalingController ¶ added in v0.0.39
type AutoscalingController struct {
// contains filtered or unexported fields
}
type Controller ¶
type Controller struct {
}
Controller struct
func (*Controller) Bootstrap ¶
func (c *Controller) Bootstrap(b *Flags) error
func (*Controller) DeleteCluster ¶
func (c *Controller) DeleteCluster(b *Flags) error
func (*Controller) Deploy ¶
func (c *Controller) Deploy(serviceName string, d service.Deploy) (*service.DeployResult, error)
func (*Controller) Resume ¶
func (c *Controller) Resume() error
func (*Controller) UpdateRuleForTarget ¶ added in v0.0.39
func (c *Controller) UpdateRuleForTarget(serviceName string, r *service.DeployRuleConditions, rLast *service.DeployRuleConditions, targetGroupArn *string, alb *ecs.ALB, listener string) error
Update rule for a specific targetGroups
type ControllerIf ¶ added in v0.0.39
type ControllerIf interface {
// contains filtered or unexported methods
}
controller interface (for tests)
type ExportedApps ¶
type Flags ¶
type Flags struct {
Bootstrap bool
DisableEcsDeploy bool
Profile string
Region string
ClusterName string
Environment string
AlbSecurityGroups string
EcsSubnets string
EcsVpcId string
CloudwatchLogsPrefix string
CloudwatchLogsEnabled bool
KeyName string
InstanceType string
EcsSecurityGroups string
EcsMinSize string
EcsMaxSize string
EcsDesiredSize string
ParamstoreEnabled bool
ParamstoreKmsArn string
ParamstorePrefix string
LoadbalancerDomain string
Server bool
DeleteCluster string
LoadBalancers []service.LoadBalancer
ProdCode string
}
type ListenerRule ¶
type ListenerRule struct {
ListenerRuleArn string `json:"listenerRuleArn"`
TargetGroupArn string `json:"targetGroupArn" binding:"dive"`
Conditions []ListenerRuleCondition `json:"conditions" binding:"dive"`
}
type ListenerRuleCondition ¶
type ListenerRuleExport ¶
type ListenerRuleExport struct {
RuleKeys RulePriority `json:"ruleKeys" binding:"dive"`
Rules map[int64]ListenerRule `json:"rules" binding:"dive"`
}
type RulePriority ¶
type RulePriority []int64
func (RulePriority) Len ¶
func (a RulePriority) Len() int
func (RulePriority) Less ¶
func (a RulePriority) Less(i, j int) bool
func (RulePriority) Swap ¶
func (a RulePriority) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.