minio

package
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2025 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

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) Init

func (m *Minio) Init(cfg config.StorageConfig) error

func (*Minio) JoinStoragePath

func (m *Minio) JoinStoragePath(task types.Task) string

func (*Minio) Name

func (m *Minio) Name() string

func (*Minio) NewUploadStream

func (m *Minio) NewUploadStream(ctx context.Context, storagePath string) (io.WriteCloser, error)

func (*Minio) Save

func (m *Minio) Save(ctx context.Context, localFilePath, storagePath string) error

func (*Minio) Type

func (m *Minio) Type() types.StorageType

type MinioWriter

type MinioWriter struct {
	// contains filtered or unexported fields
}

func (*MinioWriter) Close

func (w *MinioWriter) Close() error

func (*MinioWriter) Write

func (w *MinioWriter) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL