deployer

package
v0.37.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2018 License: MIT Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeployInfrastructure added in v0.37.0

func DeployInfrastructure(deployConfig deploy.Config) error

DeployInfrastructure deploys the infrastructure for the application

func DeployServices added in v0.37.0

func DeployServices(deployConfig deploy.Config) error

DeployServices deploys the services for the application

func GetServiceImageNames added in v0.33.3

func GetServiceImageNames(deployConfig deploy.Config, dockerCompose types.DockerCompose) map[string]string

GetServiceImageNames returns a mapping from service names to image name on the user's machine

func PushApplicationImages

func PushApplicationImages(deployConfig deploy.Config) (map[string]string, error)

PushApplicationImages pushes all the docker images for the application to ECR

func PushImage

func PushImage(options PushImageOptions) (string, error)

PushImage pushes a single service/dependency image to ECR, building or pulling if needed

func ValidateConfigs added in v0.33.0

func ValidateConfigs(deployConfig deploy.Config) error

ValidateConfigs validates application/service deployment configuration fields

Types

type PushImageOptions

type PushImageOptions struct {
	DeployConfig    deploy.Config
	EcrAuth         string
	EcrClient       *ecr.ECR
	ImageName       string
	ServiceLocation string
	ServiceRole     string
	BuildImage      bool
}

PushImageOptions is the options to PushServiceImage

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL