deployer

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2017 License: MIT Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImageNames

func GetImageNames(deployConfig types.DeployConfig, dockerComposeDir string, dockerCompose types.DockerCompose) (map[string]string, error)

GetImageNames returns a mapping from service/dependency names to image name on the user's machine

func PushApplicationImages

func PushApplicationImages(deployConfig types.DeployConfig, dockerComposeDir string) (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 StartDeploy

func StartDeploy(deployConfig types.DeployConfig) error

StartDeploy starts the deployment process

Types

type PushImageOptions

type PushImageOptions struct {
	DeployConfig     types.DeployConfig
	DockerComposeDir string
	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