v1

package
v0.0.0-...-cdf0a0a Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct{}

Client represents a client for a metadata v1 API endpoint.

type Commands

type Commands struct {
	AvailableCommands []string `json:"AvailableCommands"`
}

Commands represents the list of available commands exposed by the ECS introspection endpoint.

type Container

type Container struct {
	DockerID   string `json:"DockerId"`
	DockerName string `json:"DockerName"`
	Name       string `json:"Name"`
}

Container represents a container in a task.

type Instance

type Instance struct {
	Cluster string `json:"Cluster"`
	Version string `json:"Version"`
}

Instance represents the instance metadata exposed by the ECS introspection endpoint. See http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-introspection.html

type Task

type Task struct {
	Arn           string      `json:"Arn"`
	DesiredStatus string      `json:"DesiredStatus"`
	KnownStatus   string      `json:"KnownStatus"`
	Family        string      `json:"Family"`
	Version       string      `json:"Version"`
	Containers    []Container `json:"containers"`
}

Task represents a task in the ECS introspection endpoint response.

type Tasks

type Tasks struct {
	Tasks []Task `json:"Tasks"`
}

Tasks represents the list of task exposed by the ECS introspection endpoint. See http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-introspection.html

Jump to

Keyboard shortcuts

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