service

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dispatcher

type Dispatcher struct {
	ECS       launcher.Launcher
	Codebuild launcher.Launcher
}

Dispatcher dispatches definition and launch requests to the correct backend

func New

func New(cfgs ...*aws.Config) *Dispatcher

New create a service dispatcher with the AWS configuration overrides

func (*Dispatcher) CleanupTask

CleanupTask clean up task definition, internally this is dispatched to the correct AWS service for creation

func (*Dispatcher) DefineAndLaunch

DefineAndLaunch create a definition, internally this is dispatched to the correct AWS service for creation

func (*Dispatcher) DefineTask

DefineTask create a definition, internally this is dispatched to the correct AWS service for creation

func (*Dispatcher) GetTaskLogs

GetTaskLogs get the logs for a task, internally this is dispatched to the correct AWS service for creation

func (*Dispatcher) GetTaskStatus

GetTaskStatus get task status, internally this is dispatched to the correct AWS service for creation

func (*Dispatcher) LaunchTask

LaunchTask run a task, internally this is dispatched to the correct AWS service for creation

func (*Dispatcher) WaitForTask

WaitForTask wait for a task to complete, internally this is dispatched to the correct AWS service for creation

Jump to

Keyboard shortcuts

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