cmd

package
v0.0.0-...-56bc608 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2016 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "workbench",
	Short: "The AWS helper for analysts with deadlines",
	Long: `workbench: The AWS helper for analysts with deadlines.

workbench is a command line tool for quickly launching AWS instances,
attaching to tmux sessions, creating snapshots, and more.
`,
}

This represents the base command when called without any subcommands

Functions

func Execute

func Execute()

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

func GetImages

func GetImages() []*ec2.Image

func GetInstances

func GetInstances() []*ec2.Instance

func GetSpotZonesAndPrices

func GetSpotZonesAndPrices(instanceType string) ([]*string, []*string)

func LaunchSpotInstance

func LaunchSpotInstance(price string, zone string, image string, instanceType string)

func TerminateInstance

func TerminateInstance(instance *ec2.Instance)

Types

This section is empty.

Jump to

Keyboard shortcuts

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