Documentation
¶
Index ¶
- Variables
- type Options
- type S3
- func (e *S3) Close() error
- func (e *S3) DeleteObject(ctx context.Context, prefix string, key string) error
- func (e *S3) GetObject(ctx context.Context, prefix string, key string) (io.ReadCloser, error)
- func (e *S3) ListObjects(ctx context.Context, prefix string) <-chan minio.ObjectInfo
- func (e *S3) MakeBucket(ctx context.Context, bucket string) error
- func (e *S3) PresignedGetObject(ctx context.Context, prefix string, key string, expires time.Duration) (*url.URL, error)
- func (e *S3) PutObject(ctx context.Context, prefix string, key string, reader io.Reader, ...) (minio.UploadInfo, error)
- func (e *S3) RemoveBucket(ctx context.Context, bucket string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrDisabled = errors.New("s3 is disabled")
)
Functions ¶
This section is empty.
Types ¶
type S3 ¶ added in v0.1.7
type S3 struct {
// contains filtered or unexported fields
}
S3 is a wrapper for the s3 client
func (*S3) DeleteObject ¶ added in v0.1.7
func (*S3) ListObjects ¶ added in v0.1.7
func (*S3) MakeBucket ¶ added in v0.1.7
func (*S3) PresignedGetObject ¶ added in v0.1.7
Click to show internal directories.
Click to hide internal directories.