handlers

package
v0.0.0-...-d72c4e7 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: Apache-2.0 Imports: 31 Imported by: 76

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.

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