ecs

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// KiB represents kibibyte
	KiB = 1024
	// MiB represents  mebibyte
	MiB = 1024 * KiB
)
View Source
const (

	// ExecutionEnvECSExternal : (experimental) It is a definition that is handled internally, not an environment variable.
	ExecutionEnvECSExternal = "ECS_EXTERNAL"
)

Variables

This section is empty.

Functions

func NewECSPlatform

func NewECSPlatform(ctx context.Context, metadataURI string, executionEnv string, ignoreContainer *regexp.Regexp) (platform.Platform, error)

NewECSPlatform creates a new Platform

Types

type TaskMetadataEndpointClient added in v0.1.0

type TaskMetadataEndpointClient interface {
	TaskMetadataGetter
	TaskStatsGetter
}

TaskMetadataEndpointClient interface gets task metadata and task stats

type TaskMetadataGetter added in v0.1.0

type TaskMetadataGetter interface {
	GetTaskMetadata(context.Context) (*ecsTypes.TaskResponse, error)
}

TaskMetadataGetter interface fetch ECS task metadata

type TaskStatsGetter added in v0.1.0

type TaskStatsGetter interface {
	GetTaskStats(context.Context) (map[string]*dockerTypes.StatsJSON, error)
}

TaskStatsGetter interface fetch ECS task stats

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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