Documentation ¶
Index ¶
Constants ¶
View Source
const (
PathStyle = s3client.PathStyle
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
type Bucket struct { S3Clienter // contains filtered or unexported fields }
func NewBucket ¶
func NewBucket(region, name string, client S3Clienter) *Bucket
type S3Clienter ¶
type S3Clienter interface { UploadPart(ctx context.Context, req *s3client.UploadPartRequest, payload []byte) (s3client.MultipartUploadResponse, error) CheckPartUploaded(ctx context.Context, req *s3client.UploadPartRequest) (bool, error) Checker(ctx context.Context, state *healthcheck.CheckState) error Head(key string) (*s3.HeadObjectOutput, error) }
Click to show internal directories.
Click to hide internal directories.