minio

package
v0.0.0-...-20e6d49 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2025 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChecksumType

type ChecksumType = minio.ChecksumType

ChecksumType is a wrapper around minio.ChecksumType

const (
	ChecksumSHA256 ChecksumType = minio.ChecksumSHA256
	ChecksumSHA1   ChecksumType = minio.ChecksumSHA1
	ChecksumCRC32  ChecksumType = minio.ChecksumCRC32
	ChecksumCRC32C ChecksumType = minio.ChecksumCRC32C
)

type Client

type Client struct {
	*minio.Client
	// contains filtered or unexported fields
}

Client wraps the Minio client with additional functionality

func NewClient

func NewClient(p ClientParams) (*Client, error)

func (*Client) WithRetry

func (c *Client) WithRetry(ctx context.Context, operation func() error) error

WithRetry wraps an operation with retry logic

func (*Client) WithTimeout

func (c *Client) WithTimeout(ctx context.Context, timeout time.Duration, operation func() error) error

WithTimeout wraps an operation with a timeout

type ClientParams

type ClientParams struct {
	fx.In

	Logger *logger.Logger
	Config *config.Manager
}

type GetObjectOptions

type GetObjectOptions = minio.GetObjectOptions

GetObjectOptions is a wrapper around minio.GetObjectOptions

type ListObjectsOptions

type ListObjectsOptions = minio.ListObjectsOptions

ListObjectsOptions is a wrapper around minio.ListObjectsOptions

type MakeBucketOptions

type MakeBucketOptions = minio.MakeBucketOptions

MakeBucketOptions is a wrapper around minio.MakeBucketOptions

type Object

type Object = minio.Object

Object is a wrapper around minio.Object

type ObjectInfo

type ObjectInfo = minio.ObjectInfo

ObjectInfo is a wrapper around minio.ObjectInfo

type PutObjectOptions

type PutObjectOptions = minio.PutObjectOptions

PutObjectOptions is a wrapper around minio.PutObjectOptions

type RemoveObjectOptions

type RemoveObjectOptions = minio.RemoveObjectOptions

RemoveObjectOptions is a wrapper around minio.RemoveObjectOptions

type StatObjectOptions

type StatObjectOptions = minio.StatObjectOptions

StatObjectOptions is a wrapper around minio.StatObjectOptions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳