Documentation ¶
Index ¶
- func ImageStat(reader io.Reader) (image.Image, string, error)
- func ImageWidthHeight(img image.Image) (int, int)
- func NewMinio(cache cache.MinioCache) (s3.Interface, error)
- type Minio
- func (m *Minio) AbortMultipartUpload(ctx context.Context, uploadID string, name string) error
- func (m *Minio) AccessURL(ctx context.Context, name string, expire time.Duration, ...) (string, error)
- func (m *Minio) AuthSign(ctx context.Context, uploadID string, name string, expire time.Duration, ...) (*s3.AuthSignResult, error)
- func (m *Minio) CompleteMultipartUpload(ctx context.Context, uploadID string, name string, parts []s3.Part) (*s3.CompleteMultipartUploadResult, error)
- func (m *Minio) CopyObject(ctx context.Context, src string, dst string) (*s3.CopyObjectInfo, error)
- func (m *Minio) DeleteObject(ctx context.Context, name string) error
- func (m *Minio) Engine() string
- func (m *Minio) InitiateMultipartUpload(ctx context.Context, name string) (*s3.InitiateMultipartUploadResult, error)
- func (m *Minio) IsNotFound(err error) bool
- func (m *Minio) ListUploadedParts(ctx context.Context, uploadID string, name string, partNumberMarker int, ...) (*s3.ListUploadedPartsResult, error)
- func (m *Minio) PartLimit() *s3.PartLimit
- func (m *Minio) PartSize(ctx context.Context, size int64) (int64, error)
- func (m *Minio) PresignedGetObject(ctx context.Context, name string, expire time.Duration, query url.Values) (string, error)
- func (m *Minio) PresignedPutObject(ctx context.Context, name string, expire time.Duration) (string, error)
- func (m *Minio) StatObject(ctx context.Context, name string) (*s3.ObjectInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Minio ¶
type Minio struct {
// contains filtered or unexported fields
}
func (*Minio) AbortMultipartUpload ¶
func (*Minio) CompleteMultipartUpload ¶
func (*Minio) CopyObject ¶
func (*Minio) InitiateMultipartUpload ¶
func (*Minio) IsNotFound ¶
func (*Minio) ListUploadedParts ¶
func (*Minio) PresignedGetObject ¶ added in v3.4.0
func (*Minio) PresignedPutObject ¶
func (*Minio) StatObject ¶
Click to show internal directories.
Click to hide internal directories.