Versions in this module Expand all Collapse all v1 v1.14.4 Jul 21, 2021 Changes in this version + const GCSEndpointURL + type AWSsse struct + KmsKeyID string + SseAlgorithm string + type Conf struct + Bucket string + Credentials Credentials + EndpointURL string + Prefix string + Provider S3Provider + Region string + ServerSideEncryption *AWSsse + UploadPartSize int + func (c *Conf) Cast() error + type Credentials struct + AccessKeyID string + SecretAccessKey string + Vault struct{ ... } + type S3 struct + func New(opts Conf, l *log.Event) (*S3, error) + func (s *S3) Delete(name string) error + func (s *S3) FileStat(name string) (inf storage.FileInfo, err error) + func (s *S3) Files(suffix string) ([][]byte, error) + func (s *S3) List(prefix string) ([]storage.FileInfo, error) + func (s *S3) Save(name string, data io.Reader, sizeb int) error + func (s *S3) SourceReader(name string) (io.ReadCloser, error) + type S3Provider string + const S3ProviderAWS + const S3ProviderGCS + const S3ProviderUndef