Documentation
¶
Index ¶
- type Conflict
- type NoSuchKey
- type NotFound
- type PartBody
- type S3Client
- func (s *S3Client) ClearBucket(bucketName, prefix string) error
- func (s *S3Client) CreateBucket(bucketName string) error
- func (s *S3Client) DeleteObject(bucketName, key string) error
- func (s *S3Client) GetObject(bucketName, key string) (io.ReadCloser, error)
- func (s *S3Client) HeadBucket(bucketName string) error
- func (s *S3Client) ListObjects(bucketName, prefix string) ([]string, error)
- func (s *S3Client) MultipartUpload(bucketName, key string, partBodies []PartBody) error
- func (s *S3Client) PutObject(bucketName, key string, body io.ReadSeeker) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PartBody ¶ added in v1.0.0
type PartBody struct { Body io.ReadSeeker Size int }
type S3Client ¶
type S3Client struct {
// contains filtered or unexported fields
}
func NewS3Client ¶ added in v0.5.3
func (*S3Client) ClearBucket ¶
func (*S3Client) CreateBucket ¶
func (*S3Client) DeleteObject ¶
func (*S3Client) GetObject ¶
func (s *S3Client) GetObject(bucketName, key string) (io.ReadCloser, error)
func (*S3Client) HeadBucket ¶
func (*S3Client) ListObjects ¶ added in v0.7.0
func (*S3Client) MultipartUpload ¶ added in v1.0.0
Click to show internal directories.
Click to hide internal directories.