aws

package
v0.0.0-...-ae4ac97 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2022 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DescCluster

func DescCluster(ecsClient *ecs.Client, clusterName string) ecsTypes.Cluster

DescCluster describes specified cluster

func DescTasks

func DescTasks(ecsTask *ECSTask)

DescTasks describes tasks and add additional data

func GetConfig

func GetConfig() aws.Config

func GetContainerSecurityGroup

func GetContainerSecurityGroup(prefix string) (sgs []string)

func GetContainerSubnets

func GetContainerSubnets(prefix string) (subnets []string)

Types

type ECSTask

type ECSTask struct {
	Task     *ecsTypes.Task
	Cluster  *ecsTypes.Cluster
	PublicIp *string
}

func StartContainer

func StartContainer(clusterName, taskDef, startedBy string) (ecsTask *ECSTask)

func (*ECSTask) String

func (t *ECSTask) String() string

Jump to

Keyboard shortcuts

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