Documentation ¶
Index ¶
- func Initialize()
- type AutoScalingGroupDetails
- type ClusterDetails
- func (c *ClusterDetails) DrainClusterInstance(containerInstanceArn *string) (*string, error)
- func (c *ClusterDetails) GetContainerInstance(containerInstanceArn *string) *ContainerInstance
- func (c *ClusterDetails) IncreaseClusterCapacity() error
- func (c *ClusterDetails) RemoveClusterInstance(containerInstanceArn *string) error
- func (c *ClusterDetails) StandByClusterInstance(containerInstanceArn *string) (*string, error)
- type ContainerInstance
- type Service
- type ServiceEvent
- type Task
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AutoScalingGroupDetails ¶
type ClusterDetails ¶
type ClusterDetails struct { ClusterArn *string ContainerInstances []*ContainerInstance Tasks []*Task Services []*Service AutoScalingGroup *AutoScalingGroupDetails TotalMemory int64 TotalCPU int64 TotalRemainingMemory int64 TotalRemainingCPU int64 TotalRunningTasks *int64 TotalPendingTasks *int64 }
func GetClusters ¶
func GetClusters() ([]*ClusterDetails, error)
GetClusters returns the clusters in the current account
func (*ClusterDetails) DrainClusterInstance ¶
func (c *ClusterDetails) DrainClusterInstance(containerInstanceArn *string) (*string, error)
func (*ClusterDetails) GetContainerInstance ¶
func (c *ClusterDetails) GetContainerInstance(containerInstanceArn *string) *ContainerInstance
func (*ClusterDetails) IncreaseClusterCapacity ¶
func (c *ClusterDetails) IncreaseClusterCapacity() error
func (*ClusterDetails) RemoveClusterInstance ¶
func (c *ClusterDetails) RemoveClusterInstance(containerInstanceArn *string) error
func (*ClusterDetails) StandByClusterInstance ¶
func (c *ClusterDetails) StandByClusterInstance(containerInstanceArn *string) (*string, error)
type ContainerInstance ¶
Click to show internal directories.
Click to hide internal directories.