ecsdeploy

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeployService

func DeployService(s *Service, sname string, tag string, cfg *config.Config) error

Types

type DeployOpts

type DeployOpts struct {
	AwsProfile        string
	Cluster           string
	Service           string
	TaskDefinitionArn string
	Tag               string
	Timeout           string
	Image             string
	EcsService        string
}

type Option

type Option struct {
	Tags       []string
	BuildArgs  map[string]*string
	Dockerfile string
	CacheFrom  []string
	ContextDir string
}

type Service

type Service struct {
	Type              string
	Path              string
	Image             string
	EcsCluster        string
	TaskDefinitionArn string
	DependsOn         []string `mapstructure:"depends_on"`
}

Jump to

Keyboard shortcuts

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