middleware

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AWSConfigMetadataKey     = "AWS_CONFIG"
	MaestroConfigMetadataKey = "MAESTRO_CONFIG"
)
View Source
const (
	SessionMetadataKey = "AWS_SESSION"
)

Variables

This section is empty.

Functions

func GetAWSConfig

func GetAWSConfig(c *cli.Context) *aws.Config

Get AWS Config set as CLI Metadata

func GetMaestroConfig

func GetMaestroConfig(c *cli.Context) *maestro.Config

Get Config set as CLI Metadata

func GetSession

func GetSession(c *cli.Context) *session.Session

Get Session set as CLI Metadata

func SetAWSConfig

func SetAWSConfig(c *cli.Context)

Set new AWS session in app metadata

func SetMaestroConfig

func SetMaestroConfig(c *cli.Context) error

Set new Maestro Config

func SetSession

func SetSession(c *cli.Context) error

Set new AWS session in app metadata

Types

This section is empty.

Jump to

Keyboard shortcuts

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