Versions in this module Expand all Collapse all v0 v0.0.310 Jun 15, 2022 Changes in this version + type Client struct + func (s *Client) Bucket() *string + func (s *Client) Client() *s3.S3 + func (s *Client) Delete(key string) error + func (s *Client) GetDownloadURL(key string, fileName string) (string, error) + func (s *Client) Read(key string) ([]byte, error) + func (s *Client) Session() *session.Session + func (s *Client) Upload(key, fileName string, body io.Reader) error + type Interface interface + Delete func(key string) error + GetDownloadURL func(key string, fileName string) (string, error) + Read func(key string) ([]byte, error) + Upload func(key, fileName string, body io.Reader) error + func NewS3Client(options *Options) (Interface, error) + type Options struct + AccessKeyID string + Bucket string + DisableSSL bool + Endpoint string + ForcePathStyle bool + Region string + SecretAccessKey string + SessionToken string + func NewS3Options() *Options + func (s *Options) AddFlags(fs *pflag.FlagSet, c *Options) + func (s *Options) ApplyTo(options *Options) + func (s *Options) Validate() []error