Documentation ¶
Index ¶
- Constants
- type FileObject
- type Service
- func (s *Service) CreateBucket(bucketName string) error
- func (s *Service) CreateTags(bucketName string, customerTags map[string]string) error
- func (s *Service) DeleteBucket(bucketName string) error
- func (s *Service) DeleteFiles(bucketName string) error
- func (s *Service) EncryptBucket(bucketName string) error
- func (s *Service) IsBucketReady(bucketName string) error
- func (s *Service) UploadFiles(bucketName string, key *rsa.PrivateKey) error
Constants ¶
View Source
const S3BucketEncryptionAlgorithm = "AES256"
S3BucketEncryptionAlgorithm is used to determine which algorithm use S3 to encrypt buckets.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileObject ¶ added in v0.3.0
type Service ¶
Service holds a collection of interfaces.
func NewService ¶
NewService returns a new service given the S3 api client.
func (*Service) CreateBucket ¶
func (*Service) CreateTags ¶ added in v0.3.0
func (*Service) DeleteBucket ¶
func (*Service) DeleteFiles ¶
func (*Service) EncryptBucket ¶ added in v0.3.0
func (*Service) IsBucketReady ¶
func (*Service) UploadFiles ¶
func (s *Service) UploadFiles(bucketName string, key *rsa.PrivateKey) error
Click to show internal directories.
Click to hide internal directories.