Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClusterContainers ¶
func GetClusterContainers(cluster *aws.EcsCluster) []*aws.EcsContainer
Returns the containers for a given cluster
func GetClusters ¶
func GetClusters() []*aws.EcsCluster
Returns a slice of ECS Clusters. If this is the first time, the clusters and their instances are loaded and cached.
Types ¶
type ClusterData ¶
type ClusterData struct { Cluster *aws.EcsCluster Services []*ecs.Service Tasks []*ecs.Task TaskDefArnLookup map[string]*ecs.TaskDefinition Containers []*aws.EcsContainer Refreshed time.Time }
Stores information about an AWS ECS cluster
func GetClusterData ¶
func GetClusterData(cluster *aws.EcsCluster) *ClusterData
Returns data about the given cluster
func RefreshClusterData ¶
func RefreshClusterData(cluster *aws.EcsCluster) *ClusterData
Returns data about the cluster, freshly loaded from AWS
Click to show internal directories.
Click to hide internal directories.