Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAWSEnvNotAvailable = fmt.Errorf("AWS credentials are not set in environment")
ErrAWSEnvNotAvailable is the error type when aws credentails are not set
Functions ¶
func NewEc2Storage ¶
func NewEc2Storage(instance 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.