Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrAWSEnvNotAvailable is the error type when aws credentials are not set ErrAWSEnvNotAvailable = fmt.Errorf("AWS credentials are not set in environment") )
Functions ¶
func NewEc2Storage ¶
func NewEc2Storage(instance, instanceType string, ec2 *ec2.EC2) storageops.Ops
NewEc2Storage creates a new aws storage ops instance
func NewEnvClient ¶
func NewEnvClient() (storageops.Ops, error)
NewEnvClient creates a new AWS storage ops instance using environment vars
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.