Documentation ¶
Index ¶
Constants ¶
View Source
const ( ContainerInstanceStatusActive = "ACTIVE" ContainerInstanceStatusInactive = "INACTIVE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ECSCluster ¶
ECSCluster reprensens a cluster on ECS
type ECSContainerInstance ¶ added in v1.1.0
type ECSContainerInstance struct { ID string // Container instance ARN InstanceID string // EC2 instance ID AgentConn bool // The state of container instnace agent Active bool // The state of the container instance PendingT int64 // The number of tasks in the container instance with pending state }
ECSContainerInstance represents a cluster container instance
type ECSScalableTarget ¶ added in v1.2.0
type ECSScalableTarget struct { ClusterName string // Name of the Cluster ServiceName string // Name of the Service MinCapacity int64 // The max capacity of the autoscaling target MaxCapacity int64 // The min capacity of the autoscaling target }
ECSScalableTarget represents an ecs task with autoscaling enabled
type ECSService ¶
type ECSService struct { ID string // Service ARN Name string // Name of the service DesiredT, PendingT, RunningT int64 // Service task information }
ECSService represents a service on an ECS cluster
type InstanceMetrics ¶ added in v1.2.0
type InstanceMetrics struct {
CPUUtilization float64 // Cpu
}
Click to show internal directories.
Click to hide internal directories.