tcshandler

package
v1.17.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2018 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartMetricsSession

func StartMetricsSession(params TelemetrySessionParams)

StartMetricsSession starts a metric session. It initializes the stats engine and invokes StartSession.

func StartSession

func StartSession(params TelemetrySessionParams, statsEngine stats.Engine) error

StartSession creates a session with the backend and handles requests using the passed in arguments. The engine is expected to initialized and gathering container metrics by the time the websocket client starts using it.

Types

type TelemetrySessionParams

type TelemetrySessionParams struct {
	ContainerInstanceArn          string
	CredentialProvider            *credentials.Credentials
	Cfg                           *config.Config
	DeregisterInstanceEventStream *eventstream.EventStream
	AcceptInvalidCert             bool
	ECSClient                     api.ECSClient
	TaskEngine                    engine.TaskEngine
	StatsEngine                   *stats.DockerStatsEngine
	// contains filtered or unexported fields
}

TelemetrySessionParams contains all the parameters required to start a tcs session

Jump to

Keyboard shortcuts

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