Documentation ¶
Overview ¶
Package s3 provides a way to interact with AWS S3.
Index ¶
Constants ¶
View Source
const AWSDefaultRegion string = "us-east-1"
AWSDefaultRegion is the default AWS region.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { S3Client s3iface.S3API STSClient stsiface.STSAPI // contains filtered or unexported fields }
Service holds a collection of interfaces. The interfaces are broken down like this to group functions together. One alternative is to have a large list of functions from the ec2 client.
func NewService ¶
NewService returns a new service given the api clients.
func (*Service) Delete ¶
func (s *Service) Delete(m *scope.MachineScope) error
Delete deletes the object from the S3 bucket.
func (*Service) DeleteBucket ¶
DeleteBucket deletes the S3 bucket.
func (*Service) ReconcileBucket ¶
ReconcileBucket reconciles the S3 bucket.
Directories ¶
Path | Synopsis |
---|---|
Package mock_s3iface provides a mock implementation of the s3iface.S3API interface Run go generate to regenerate this mock.
|
Package mock_s3iface provides a mock implementation of the s3iface.S3API interface Run go generate to regenerate this mock. |
Package mock_stsiface provides a mock implementation for the STSAPI interface.
|
Package mock_stsiface provides a mock implementation for the STSAPI interface. |
Click to show internal directories.
Click to hide internal directories.