handlers

package
v0.0.0-...-b702281 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 30 Imported by: 73

Documentation

Overview

Package handlers deals with the agent introspection api.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServeIntrospectionHTTPEndpoint

func ServeIntrospectionHTTPEndpoint(ctx context.Context, containerInstanceArn *string, taskEngine engine.TaskEngine, cfg *config.Config)

ServeIntrospectionHTTPEndpoint serves information about this agent/containerInstance and tasks running on it. "V1" here indicates the hostname version of this server instead of the handler versions, i.e. "V1" server can include "V1" and "V2" handlers.

func ServeTaskHTTPEndpoint

func ServeTaskHTTPEndpoint(
	ctx context.Context,
	credentialsManager credentials.Manager,
	state dockerstate.TaskEngineState,
	ecsClient ecs.ECSClient,
	containerInstanceArn string,
	cfg *config.Config,
	statsEngine stats.Engine,
	availabilityZone string,
	vpcID string)

ServeTaskHTTPEndpoint serves task/container metadata, task/container stats, IAM Role Credentials, and Agent APIs for tasks being managed by the agent.

Types

This section is empty.

Directories

Path Synopsis
agentapi
Package mock_utils is a generated GoMock package.
Package mock_utils is a generated GoMock package.
http
Package mock_http is a generated GoMock package.
Package mock_http is a generated GoMock package.

Jump to

Keyboard shortcuts

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