Documentation
¶
Index ¶
Constants ¶
View Source
const (
ContainerRuntimeDocker = "Docker"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TcsEcsClient ¶
type TelemetrySession ¶
type TelemetrySession interface { StartTelemetrySession(context.Context) error Start(context.Context) error }
TelemetrySession defines an interface for handler's long-lived connection with TCS.
func NewTelemetrySession ¶
func NewTelemetrySession( containerInstanceArn string, cluster string, agentVersion string, agentHash string, containerRuntimeVersion string, disableMetrics bool, credentialsProvider *credentials.Credentials, cfg *wsclient.WSClientMinAgentConfig, deregisterInstanceEventStream *eventstream.EventStream, heartbeatTimeout time.Duration, heartbeatJitterMax time.Duration, disconnectTimeout time.Duration, disconnectJitterMax time.Duration, metricsFactory metrics.EntryFactory, metricsChannel <-chan ecstcs.TelemetryMessage, healthChannel <-chan ecstcs.HealthMessage, doctor *doctor.Doctor, ecsClient TcsEcsClient, ) TelemetrySession
Click to show internal directories.
Click to hide internal directories.