Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultVersion = "0.0"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppSpec ¶
AppSpec provides an application specification for CodeDeploy. Reference: https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file.html
func NewECS ¶
NewECS creates a new instance of AppSpec incorporating commonly used default values for ECS deployments.
func (*AppSpec) MarshalJSON ¶
type CodeDeployContext ¶
type CodeDeployContext struct {
Client *codedeploy.Client
}
func (*CodeDeployContext) CreateDeployment ¶
func (*CodeDeployContext) WaitForSuccessfulDeployment ¶
type LoadBalancerInfo ¶
type Properties ¶
type Properties struct { TaskDefinition string `json:"TaskDefinition"` LoadBalancerInfo LoadBalancerInfo `json:"LoadBalancerInfo"` }
type Resource ¶
type Resource struct {
TargetService TargetService `json:"TargetService"`
}
type TargetService ¶
type TargetService struct { Type TargetServiceType `json:"Type"` Properties Properties `json:"Properties"` }
type TargetServiceType ¶
type TargetServiceType string
const ECSTargetServiceType TargetServiceType = "AWS::ECS::Service"
Click to show internal directories.
Click to hide internal directories.