Documentation
¶
Index ¶
- func Build() error
- func Deploy(deploymentIdent string) error
- func DeployAll() error
- func DockerLogin() error
- func Init(awsProfile string, awsRegion string, registry string, stackName string, ...)
- func Push(deploymentIdent string) error
- func UpdateLambdas(deploymentIdent string) error
- func UpdateService(deploymentIdent string) error
- type Deployment
- type Deployments
- type Lambda
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeployAll ¶ added in v0.0.160
func DeployAll() error
DeployAll build, pushes and deploys new docker containers for all deployments.
func Init ¶
func Init( awsProfile string, awsRegion string, registry string, stackName string, exportPrefix string, serviceIdent string, composeProbjectName string, dockerImagePrefix string, ecsClusterName string, deploymentIdents []string, _ ...[]string, )
Init inits the mage targets. The weird signature is to make Mage ignore this when importing.
func UpdateLambdas ¶ added in v0.0.167
UpdateLambdas will update any lambdas associated with the service.
func UpdateService ¶ added in v0.0.158
UpdateService the service by forcing a new deployment and waiting for it to be stable.
Types ¶
type Deployment ¶
Deployment describes deployment information.
type Deployments ¶
type Deployments map[string]*Deployment
Deployments hold the deployments we found.
func ReadDeploymentInfo ¶
func ReadDeploymentInfo() (Deployments, error)
ReadDeploymentInfo will read the exports of the stack and structure it in service information.
Click to show internal directories.
Click to hide internal directories.