Documentation ¶
Index ¶
- Constants
- type FileObject
- type Service
- func (s *Service) BlockPublicAccess(bucketName string) error
- 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) UpdatePolicy(bucketName, oaiId string) error
- func (s *Service) UploadFiles(release *semver.Version, domain, bucketName string, privateKey *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) BlockPublicAccess ¶ added in v0.6.0
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) UpdatePolicy ¶ added in v0.6.0
func (*Service) UploadFiles ¶
Click to show internal directories.
Click to hide internal directories.