shared

package
v0.0.0-...-fcba363 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatAwsError

func FormatAwsError(err error) string

Save some repetition, formatting the output of these.

func GetContainerInstanceArnsForService

func GetContainerInstanceArnsForService(ecs_obj *ecs.ECS, cluster string, service string, local_container_instance_arn string, debug bool) ([]string, error)

func GetEc2InstanceIdsFromContainerInstances

func GetEc2InstanceIdsFromContainerInstances(ecs_obj *ecs.ECS, cluster string, container_instances []string, debug bool) ([]string, error)

func GetEc2PrivateIpsFromInstanceIds

func GetEc2PrivateIpsFromInstanceIds(ec2_obj *ec2.EC2, instance_ids []string, debug bool) ([]string, error)

func VerifyClusterExists

func VerifyClusterExists(ecs_obj *ecs.ECS, cluster string) error

Verify that the ECS cluster exists.

func VerifyServiceExists

func VerifyServiceExists(ecs_obj *ecs.ECS, cluster string, service string) error

Verify that the ECS service exists.

Types

This section is empty.

Jump to

Keyboard shortcuts

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