ecs

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package ecs package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobDispatcher

type JobDispatcher struct {
	// contains filtered or unexported fields
}

JobDispatcher uses the AWS ECS client to dispatch jobs

func New

func New(ctx context.Context, pluginData map[string]string, discoveryProtocolHost string, logger logger.Logger) (*JobDispatcher, error)

New creates a JobDispatcher

func (*JobDispatcher) DispatchJob

func (j *JobDispatcher) DispatchJob(ctx context.Context, jobID string, token string) (string, error)

DispatchJob will start an ECS task to execute the job

Jump to

Keyboard shortcuts

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