Documentation
¶
Index ¶
Constants ¶
View Source
const Provider = "aws"
Variables ¶
This section is empty.
Functions ¶
func NewSliceUrl ¶ added in v0.14.0
func NewSliceUrl(params *UploadParams, slice string) string
func NewUploadWriter ¶ added in v0.14.0
func NewUploadWriter(ctx context.Context, params *UploadParams, region string, slice string, transport http.RoundTripper) (*blob.Writer, error)
Types ¶
type Credentials ¶ added in v0.14.0
type UploadParams ¶
type UploadParams struct { Key string `json:"key"` Bucket string `json:"bucket"` Credentials Credentials `json:"credentials"` Acl s3types.ObjectCannedACL `json:"acl"` Encryption s3types.ServerSideEncryption `json:"x-amz-server-side-encryption"` }
Click to show internal directories.
Click to hide internal directories.