deployer

package
v0.33.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2017 License: MIT Imports: 14 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

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
	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