commands

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvironmentForAwsCredentialsProfile

func EnvironmentForAwsCredentialsProfile(profile string) (*environment.Environment, error)

func GetCommands

func GetCommands() []cli.Command

func GetMandatoryFlag

func GetMandatoryFlag(c *cli.Context, name string) (*string, error)

Get a mandatory command line flag and error if it does not exist

func NewClientFromContext

func NewClientFromContext(c *cli.Context) (*aws.SsmClient, error)

Create new wrapped Amazon SSM client from CLI context

func RetrieveEnvironmentVariablesFromContext

func RetrieveEnvironmentVariablesFromContext(c *cli.Context) (*environment.Environment, error)

Retrieve Amazon SSM parameters as environment variables for a given prefix from CLI context

Types

This section is empty.

Jump to

Keyboard shortcuts

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