types

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContainerInstanceStatusActive   = "ACTIVE"
	ContainerInstanceStatusInactive = "INACTIVE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ECSCluster

type ECSCluster struct {
	ID   string // Cluster ARN
	Name string // Name of the service
}

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
}

Jump to

Keyboard shortcuts

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