Documentation ¶
Index ¶
- func DescribeClusters(client *ecs.Client, clusters []string) []ecs.Cluster
- func DescribeServices(client *ecs.Client, clusterName string, services []string) []ecs.Service
- func DetailedInstanceOutput(containerInstance *ecs.ContainerInstance)
- func FindAttribute(attributes []ecs.Attribute, name string) ecs.Attribute
- func FindResource(resources []ecs.Resource, name string) ecs.Resource
- func FindService(client *ecs.Client, cluster, service string) (ecs.Service, error)
- func FindTag(tags []ec2.Tag, name string) ec2.Tag
- func ListClusters(client *ecs.Client, filter string) []string
- func ListServices(client *ecs.Client, clusterName, serviceFilter, serviceType string) []ecs.Service
- func ListTasks(client *ecs.Client, clusterName, taskFilter string) []ecs.Task
- func LoadAWSConfig(region string) aws.Config
- func PrintServiceDetails(client *ecs.Client, service *ecs.Service, longOutput bool)
- func PrintTaskDetails(client *ecs.Client, task *ecs.Task, longOutput bool)
- func ServiceOk(service *ecs.Service) bool
- func ServiceTaskDefinition(client *ecs.Client, taskDefinition string) ecs.TaskDefinition
- type EventsByCreatedAt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DescribeClusters ¶
DescribeClusters describes ECS clusters to fetch detailed information
func DescribeServices ¶
DescribeServices describes a list of services running in the ECS cluster
func DetailedInstanceOutput ¶
func DetailedInstanceOutput(containerInstance *ecs.ContainerInstance)
DetailedInstanceOutput prints a container instance's attributes and capabilities
func FindAttribute ¶
FindAttribute finds a specific attribute in a list of ecs.Attribute
func FindResource ¶
FindResource finds a specific resource in a list of ecs.Resource
func FindService ¶
FindService checks that a service is actually running in an ECS cluster
func ListClusters ¶
ListClusters returns the list of clusters sorted by name
func ListServices ¶
ListServices describes services running in the ECS cluster filtered by cluster name, service name ans service type
func LoadAWSConfig ¶
LoadAWSConfig loads the AWS SDK configuration
func PrintServiceDetails ¶
PrintServiceDetails describes an ECS service to fetch detailed information
func PrintTaskDetails ¶
PrintTaskDetails prints detailed information about an ECS task
func ServiceTaskDefinition ¶
func ServiceTaskDefinition(client *ecs.Client, taskDefinition string) ecs.TaskDefinition
ServiceTaskDefinition returns a full task definition from its ARN
Types ¶
type EventsByCreatedAt ¶
type EventsByCreatedAt []ecs.ServiceEvent
EventsByCreatedAt is a list of ECS events sorted by date (created at)
func (EventsByCreatedAt) Len ¶
func (c EventsByCreatedAt) Len() int
func (EventsByCreatedAt) Less ¶
func (c EventsByCreatedAt) Less(i, j int) bool
func (EventsByCreatedAt) Swap ¶
func (c EventsByCreatedAt) Swap(i, j int)