commands

package
v0.40.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2017 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "qaz",
	Short: fmt.Sprintf("%s\n--> Shut up & deploy my templates...!", colorString(banner.PrintS("qaz"), "magenta")),
	Run: func(cmd *cobra.Command, args []string) {

		if job.version {
			fmt.Printf("qaz - Version %s"+"\n", version)
			return
		}

		cmd.Help()
	},
}

RootCmd command (calls all other commands)

Functions

func DeployHandler

func DeployHandler()

DeployHandler - Handles deploying stacks in the corrcet order

func Exports

func Exports(session *session.Session) error

Exports - prints all cloudformation exports

func Get

func Get(url string) (string, error)

Get - HTTP Get request of given url and returns string

func Log

func Log(msg, lvl string)

Log - Handles all logging accross app

func S3Read

func S3Read(url string) (string, error)

S3Read - Reads the content of a given s3 url endpoint and returns the content string.

func TerminateHandler

func TerminateHandler()

TerminateHandler - Handles terminating stacks in the correct order

Types

This section is empty.

Jump to

Keyboard shortcuts

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