runner

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Override

type Override struct {
	Service string
	Command []string
}

Override ..

type Runner

type Runner struct {
	Service            string
	TaskName           string
	TaskDefinitionID   string
	TaskDefinitionFile string
	Cluster            string
	LogGroupName       string
	Region             string
	Config             *aws.Config
	Overrides          []Override
	Fargate            bool
	SecurityGroups     []string
	Subnets            []string
	Environment        []string
	Count              int64
	Deregister         bool
}

Runner ..

func New

func New() *Runner

New creates a new instance of a runner

func (*Runner) Run

func (r *Runner) Run(ctx context.Context) error

Run runs the runner

func (*Runner) RunExistingTaskDefinition added in v1.3.6

func (r *Runner) RunExistingTaskDefinition(ctx context.Context) error

RunExistingTaskDefinition runs for an existing task definition

Jump to

Keyboard shortcuts

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