deployer

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2017 License: MIT Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImageNames

func GetImageNames(deployConfig deploy.Config, 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 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 StartDeploy

func StartDeploy(deployConfig deploy.Config) error

StartDeploy starts the deployment process nolint gocyclo

Types

type PushImageOptions

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

PushImageOptions is the options to PushServiceImage

Jump to

Keyboard shortcuts

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