minioclient

package
v0.0.0-...-c889bbb Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MinioClient

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

func NewMinioClient

func NewMinioClient(url, accessKeyID, secretAccessKey string) (*MinioClient, error)

NewMinioClient initializes a new Minio client with the provided configuration

func (*MinioClient) AppendBytesToFile

func (c *MinioClient) AppendBytesToFile(ctx context.Context, bucketname, objectName string, data []byte) error

func (*MinioClient) ObjectExists

func (c *MinioClient) ObjectExists(ctx context.Context, bucketname, objectName string) (bool, error)

func (*MinioClient) WriteBytesToFile

func (c *MinioClient) WriteBytesToFile(ctx context.Context, bucketname, objectName string, data []byte) error

Jump to

Keyboard shortcuts

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