cmd

package
v0.0.0-...-213f0f4 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "aqua",
	Short: "Create a basic gateway for a Lambda function",
	Long: `Create a gateway for the provided Lambda function.

If the function doesn't exist yet, it will first create it using the provided
file or a basic example that echoes back your parameters.

For function code located online, the file will first be downloaded locally.

Example (only create Gateway):
aqua --name functionName --region us-west-1

Example (create Lambda function from local file):
aqua --name functionName --role basic_execution_role --file path/to/function.zip

Example (create Lambda function from web file):
aqua --name functionName --role basic_execution_role --file https://github.com/ArjenSchwarz/aqua/releases/download/latest/igor.zip
`,
	Run: buildGateway,
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute()

Execute is the main execution command as created by Cobra

Types

This section is empty.

Jump to

Keyboard shortcuts

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