Documentation
¶
Index ¶
Constants ¶
View Source
const ( ContainerInstanceStatusActive = ecs.ContainerInstanceStatusActive 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 InstanceAMIID string AgentConn bool // The state of container instnace agent Active bool // The state of the container instance Status string PendingT int64 // The number of tasks in the container instance with pending state }
ECSContainerInstance represents a cluster container instance
type ECSService ¶
type ECSService struct { ID string // Service ARN Name string // Name of the service DesiredT, PendingT, RunningT int64 // Service task information Deployments []*ECSServiceDeployment }
ECSService represents a service on an ECS cluster
type ECSServiceDeployment ¶ added in v1.3.0
type ECSServiceDeployment struct { ID string RolloutState string DesiredCount int64 PendingCount int64 RunningCount int64 FailedTasks int64 }
func (ECSServiceDeployment) IsRolloutStateCompleted ¶ added in v1.3.0
func (d ECSServiceDeployment) IsRolloutStateCompleted() int
func (ECSServiceDeployment) IsRolloutStateFailed ¶ added in v1.3.0
func (d ECSServiceDeployment) IsRolloutStateFailed() int
func (ECSServiceDeployment) IsRolloutStateInProgress ¶ added in v1.3.0
func (d ECSServiceDeployment) IsRolloutStateInProgress() int
Click to show internal directories.
Click to hide internal directories.