Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultEncryptionAlgorithm = "AES256"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3Destination ¶
type S3Destination struct {
Session *session.Session
Client *s3.S3
EncryptionKey *string
EncryptionAlgorithm string
Uploader *s3manager.Uploader
Bucket string
Prefix string
// contains filtered or unexported fields
}
func NewS3Destination ¶
func NewS3Destination(conf *S3DestinationConf) (*S3Destination, error)
func (*S3Destination) EnsureRetention ¶
func (s *S3Destination) EnsureRetention(max int) error
type S3DestinationConf ¶
type S3Source ¶
type S3Source struct {
Session *session.Session
Client *s3.S3
Downloader *s3manager.Downloader
Bucket string
Key string
EncryptionKey *string
EncryptionAlgorithm string
// contains filtered or unexported fields
}
func NewS3Source ¶
func NewS3Source(conf *S3SourceConf) (*S3Source, error)
Click to show internal directories.
Click to hide internal directories.