aws

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2019 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Overview

Package AWS defines infrastructure providers for AWS configurations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSCreds

type AWSCreds struct {
	*credentials.Credentials
}

AWSCreds is the permanent AWS credentials provider.

func (AWSCreds) Help

func (AWSCreds) Help() string

Help implements infra.Provider

func (*AWSCreds) Init

func (a *AWSCreds) Init(sess *session.Session) error

Init implements infra.Provider.

type AWSRegion

type AWSRegion string

AWSRegion is the AWS region setting.

func (AWSRegion) Help

func (AWSRegion) Help() string

Help implements infra.Provider

type AWSRegionUSWest2

type AWSRegionUSWest2 struct {
	AWSRegion
}

func (*AWSRegionUSWest2) Init

func (a *AWSRegionUSWest2) Init() error

type AWSTool

type AWSTool string

AWSTool is the awstool docker image name provider.

func (*AWSTool) Flags

func (t *AWSTool) Flags(flags *flag.FlagSet)

Flags implements infra.Provider.

func (AWSTool) Help

func (AWSTool) Help() string

Help implements infra.Provider

type Session

type Session struct {
	*session.Session
	// contains filtered or unexported fields
}

Session is an infrastructure provider for AWS SDK sessions. It retrieves AWS configuration and credentials from the environment as session.NewSession does (Unix environment variables, or else the files ~/.aws/config and ~/.aws/credentials).

Session supports instance marshaling, performed by inlining credentials and the session's region. Other configuration parameters are currently not propagated by this method.

TODO(marius): copy ~/.aws/config outright when we can? This could get complicated in the presence of profiles.

func (Session) Help

func (Session) Help() string

Help implements infra.Provider

func (*Session) Init

func (s *Session) Init() error

Init implements infra.Provider.

func (*Session) InstanceConfig

func (s *Session) InstanceConfig() interface{}

InstanceConfig implements infra.Provider.

Jump to

Keyboard shortcuts

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