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 ¶
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
Click to show internal directories.
Click to hide internal directories.