aws

package
v0.0.0-...-beef95b Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWS

type AWS interface {
	// Configured will return an error if client isn't configured
	Configured() error

	// Configure will setup the clients
	Configure(*selfv1alpha1.ConfigAWS) error

	// SetClient will set a client by region
	SetClient(string, cloudformationiface.CloudFormationAPI) bool

	// GetClients will return all clients
	GetClients() map[string]cloudformationiface.CloudFormationAPI

	// GetClient will return a client for a region
	GetClient(string) cloudformationiface.CloudFormationAPI

	// SetSession will set a session by region
	SetSession(string, *session.Session) bool

	// GetSessions will return all sessions
	GetSessions() map[string]*session.Session

	// GetSession will return a session for a region
	GetSession(string) *session.Session

	// GetNotificationARN will return the notification arn for subs
	GetNotificationARN() string

	// GetDefaultRegion will return the static default
	GetDefaultRegion() string
}

AWS Sets and Gets clients based on the config

func New

func New() AWS

New return AWS client

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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