cmd

package
v0.0.0-...-0484438 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func GetExit

func GetExit(sess *session.Session, ecsCluster string, task string) (int64, string)

GetExit Returns the exit code of the function and stoppedReason

func GetLogs

func GetLogs(sess *session.Session, logStreamName string, logGroupName string) []*cloudwatchlogs.OutputLogEvent

GetLogs prints all the logs for specified LogStream sorted from earliest to latest.

func ParseTaskDefinition

func ParseTaskDefinition(sess *session.Session, fileName string) string

Parses task

func RunTask

func RunTask(sess *session.Session, ecsCluster string, launchType string, taskDefinition string) (string, string, string)

RunTask runs task definition on specified ECS Cluster It returns the LogStreamName

Types

This section is empty.

Jump to

Keyboard shortcuts

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