eventhandler

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: May 26, 2017 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 11 Imported by: 43 modules, 78 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleEngineEvents

func HandleEngineEvents(taskEngine engine.TaskEngine, client api.ECSClient, saver statemanager.Saver, eventhandler *TaskHandler)

Types

type TaskHandler added in v1.14.2

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

TaskHandler encapsulates the the map of a task arn to task and container events associated with said task

func NewTaskHandler added in v1.14.2

func NewTaskHandler() *TaskHandler

NewTaskHandler returns a pointer to TaskHandler

func (*TaskHandler) AddStateChangeEvent added in v1.14.2

func (handler *TaskHandler) AddStateChangeEvent(change statechange.Event, client api.ECSClient) error

AddStateChangeEvent queues up a state change for sending using the given client.

func (*TaskHandler) SubmitTaskEvents added in v1.14.2

func (handler *TaskHandler) SubmitTaskEvents(taskEvents *eventList, client api.ECSClient)

Continuously retries sending an event until it succeeds, sleeping between each attempt

Jump to

Keyboard shortcuts

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