deploy

package
v0.0.0-...-6a267a1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bootstrap

func Bootstrap(ctx context.Context, config Config) error

Bootstrap ensures resources required by the deployment fairy exist

func CloudMapNamespaceIfNotExists

func CloudMapNamespaceIfNotExists(ctx context.Context, config Config) error

func Templates

func Templates(ctx context.Context, config Config) error

Templates upserts all templates from ${config.Dir}/templates if it exists

func Upload

func Upload(ctx context.Context, config Config) error

Upload contents of ${config.Dir}/resources to ${S3Bucket}/${S3Prefix}

Types

type Config

type Config struct {
	Source     aws.Config
	Target     aws.Config
	Dir        string
	Env        string
	Project    string
	Parameters map[string]string
	VpcID      string
}

type Func

type Func func(ctx context.Context, config Config) error

Jump to

Keyboard shortcuts

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