aws2

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2021 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

View Source
const DescribeTasksChunkSize = 100

Variables

This section is empty.

Functions

This section is empty.

Types

type AWS

type AWS struct {
	// contains filtered or unexported fields
}

func NewAWS

func NewAWS(awsConfig *aws.Config) *AWS

func (*AWS) GetClusters

func (aws *AWS) GetClusters() ([]*ecs.Cluster, error)

func (*AWS) GetInstances

func (aws *AWS) GetInstances(cluster *ecs.Cluster) (map[string]*ec2.Instance, error)

func (*AWS) GetServices

func (aws *AWS) GetServices(cluster *ecs.Cluster) ([]*ecs.Service, error)

func (*AWS) GetTaskDefinition

func (aws *AWS) GetTaskDefinition(taskDefinitionArn *string) (*ecs.TaskDefinition, error)

func (*AWS) GetTasks

func (aws *AWS) GetTasks(cluster *ecs.Cluster) (tasks []*ecs.Task, err error)

Jump to

Keyboard shortcuts

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