handler

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2015 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 18 Imported by: 0

Documentation

Overview

Package handler deals with appropriately reacting to all ACS messages as well as maintaining the connection to ACS.

Index

Constants

This section is empty.

Variables

View Source
var SequenceNumber = utilatomic.NewIncreasingInt64(1)

SequenceNumber is a number shared between all ACS clients which indicates the last sequence number successfully handled.

Functions

func AcsWsUrl

func AcsWsUrl(endpoint, cluster, containerInstanceArn string, taskEngine engine.TaskEngine) string

AcsWsUrl returns the websocket url for ACS given the endpoint.

func StartSession

func StartSession(containerInstanceArn string, credentialProvider credentials.AWSCredentialProvider, cfg *config.Config, taskEngine engine.TaskEngine, ecsclient api.ECSClient, stateManager statemanager.StateManager, acceptInvalidCert bool) error

StartSession creates a session with ACS and handles requests using the passed in arguments.

Types

type UnrecognizedTaskError added in v1.1.0

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

func (UnrecognizedTaskError) Error added in v1.1.0

func (err UnrecognizedTaskError) Error() string

Jump to

Keyboard shortcuts

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