Documentation ¶
Index ¶
- type Config
- type Minio
- func (m *Minio) CreateBucket(ctx context.Context, name, location string) error
- func (m *Minio) GetObject(ctx context.Context, bucketName, objectName string) (io.Reader, func() (*domain.AssetInfo, error), error)
- func (m *Minio) GetObjectInfo(ctx context.Context, bucketName, objectName string) (*domain.AssetInfo, error)
- func (m *Minio) GetObjectPresignedURL(ctx context.Context, bucketName, objectName string, expiration time.Duration) (*url.URL, error)
- func (m *Minio) ListBuckets(ctx context.Context) ([]*domain.BucketInfo, error)
- func (m *Minio) ListObjectInfos(ctx context.Context, bucketName, prefix string, recursive bool) ([]*domain.AssetInfo, error)
- func (m *Minio) PutObject(ctx context.Context, bucketName, objectName, contentType string, ...) (*domain.AssetInfo, error)
- func (m *Minio) RemoveBucket(ctx context.Context, name string) error
- func (m *Minio) RemoveObject(ctx context.Context, bucketName, objectName string) error
- func (m *Minio) RemoveObjects(ctx context.Context, bucketName, path string, recursive bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v1.12.0
type Minio ¶
func (*Minio) CreateBucket ¶
func (*Minio) GetObjectInfo ¶
func (*Minio) GetObjectPresignedURL ¶
func (*Minio) ListBuckets ¶
func (*Minio) ListObjectInfos ¶
func (*Minio) RemoveObject ¶
Click to show internal directories.
Click to hide internal directories.