ecs

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2019 License: BSD-3-Clause Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MonitorTaskOptions

type MonitorTaskOptions struct {
	DSN       string
	Container string
	Cluster   string
	WithLogs  bool
	LogsDSN   string
}

type MonitorTaskResult

type MonitorTaskResult struct {
	ARN    string
	Errors []error
	Logs   []*aws_cloudwatchlogs.OutputLogEvent
}

type MonitorTaskResultSet

type MonitorTaskResultSet map[string]*MonitorTaskResult

func MonitorTasks

func MonitorTasks(monitor_opts *MonitorTaskOptions, task_arns ...string) (MonitorTaskResultSet, error)

type TaskOptions

type TaskOptions struct {
	DSN            string
	Task           string
	Container      string
	Cluster        string
	LaunchType     string
	PublicIP       string
	Subnets        []string
	SecurityGroups []string
}

type TaskResponse

type TaskResponse struct {
	Tasks      []string
	TaskOutput *aws_ecs.RunTaskOutput
}

func LaunchTask

func LaunchTask(task_opts *TaskOptions, cmd ...string) (*TaskResponse, error)

Jump to

Keyboard shortcuts

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