Documentation ¶
Index ¶
- type Minio
- func (m *Minio) GetBucketName() string
- func (m *Minio) GetObject(ctx context.Context, objectName string, opts ossconf.GetObjectOption) (io.Reader, error)
- func (m *Minio) GetObjectName(prefix, fileName string) string
- func (m *Minio) GetSTSAssumeRole(uid string, policyPattern string) (cr.Value, error)
- func (m *Minio) GetStoragePath(prefix, fileName string) string
- func (m *Minio) PresignedGetURL(ctx context.Context, objectName string, expires time.Duration) (string, error)
- func (m *Minio) PresignedPutURL(ctx context.Context, objectName string, expires time.Duration, ...) (string, error)
- func (m *Minio) PutObject(ctx context.Context, objectName string, reader io.Reader, objectSize int64, ...) error
- func (m *Minio) StatObject(ctx context.Context, objectName string) (ossconf.ObjectInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Minio ¶
type Minio struct {
// contains filtered or unexported fields
}
func (*Minio) GetBucketName ¶
func (*Minio) GetObjectName ¶
func (*Minio) GetSTSAssumeRole ¶
func (*Minio) GetStoragePath ¶
func (*Minio) PresignedGetURL ¶
func (*Minio) PresignedPutURL ¶
func (*Minio) StatObject ¶
Click to show internal directories.
Click to hide internal directories.