Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssumeRoleSession ¶
AssumeRoleSession returns a new aws.Config by wrapping the given aws.Config with the requested role credentials and session name.
Types ¶
type Client ¶
type Client struct {
*ec2metadata.Client
// contains filtered or unexported fields
}
Client implements the provider.Client interface.
func (*Client) DownloadFile ¶
func (*Client) UploadFile ¶
type ObjectStore ¶
type ObjectStore struct {
*s3.Client
*s3manager.Uploader
*s3manager.Downloader
// contains filtered or unexported fields
}
ObjectStore implements the provider.ObjectStore interface for AWS S3.
func NewObjectStore ¶
func NewObjectStore(cfg aws.Config, bucket string) (*ObjectStore, error)
NewObjectStore returns a new instance of ObjectStore.
Click to show internal directories.
Click to hide internal directories.