Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct { DockerID string `json:"DockerId"` Name string `json:"DockerName"` Image string `json:"Image"` KnownStatus string `json:"KnownStatus"` Type string `json:"Type"` Labels map[string]string `json:"Labels"` Limits struct { CPU int64 `json:"CPU"` } Networks []struct { NetworkMode string `json:"NetworkMode"` IPAddresses []string `json:"IPv4Addresses"` } }
Container struct represents container structure that is a part of ECS Task Metadata
type TaskMetadata ¶
type TaskMetadata struct { ClusterName string `json:"Cluster"` TaskARN string `json:"TaskARN"` Family string `json:"Family"` Revision string `json:"Revision"` KnownStatus string `json:"KnownStatus"` Containers []Container `json:"Containers"` }
TaskMetadata contains a set of properties from ECS Task Metadata
func (*TaskMetadata) GetDimensions ¶
func (task *TaskMetadata) GetDimensions() map[string]string
GetDimensions returns a set of dimensions based on the task metadata
Click to show internal directories.
Click to hide internal directories.