client

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2019 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsClient

type AwsClient struct {
	IAM         iamiface.IAMAPI
	EC2         ec2iface.EC2API
	RDS         rdsiface.RDSAPI
	ElastiCache elasticacheiface.ElastiCacheAPI
	ELB         elbiface.ELBAPI
	ELBV2       elbv2iface.ELBV2API
	ECS         ecsiface.ECSAPI
}

AwsClient is a wrapper of the AWS SDK client It has interfaces for each services to make testing easier

func NewAwsClient

func NewAwsClient(creds AwsCredentials) *AwsClient

NewAwsClient returns new AwsClient with configured session

type AwsCredentials

type AwsCredentials struct {
	AccessKey string
	SecretKey string
	Profile   string
	Region    string
}

AwsCredentials is credentials for AWS used in deep check mode

Jump to

Keyboard shortcuts

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