Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUploader ¶
func NewUploader(c *Client) *uploader
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a wrapper around s3.Client that holds bucket name.
func NewClient ¶
func NewClient( endpoint, accessKey, secretKey, region, bucket string, maxRetryAttempts int, ) (*Client, error)
NewClient returns a new instance of a Client.
NOTE(dkharms): We might want to tweak smithy transport for
- IdleConnTimeout;
- MaxIdleConnsPerHost;
And maybe we should add tracing support as well.
func (*Client) MaxRetryAttempts ¶ added in v0.61.1
Click to show internal directories.
Click to hide internal directories.