minio

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package minio provides MinIO client implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func (*Client) BucketExists

func (this *Client) BucketExists(bucketName string) (bool, error)

func (*Client) CopyObject

func (this *Client) CopyObject(sourceBucketName, sourceObjectName, destinationBucketName, destinationObjectName string) error

func (*Client) CreateClient

func (this *Client) CreateClient(endpoint, accessKeyID, secretAccessKey string, secure bool) error

func (*Client) FGetObject

func (this *Client) FGetObject(bucketName, objectName, filePath string) error

func (*Client) FPutObject

func (this *Client) FPutObject(bucketName, objectName, filePath, contentType string) error

func (*Client) GetObject

func (this *Client) GetObject(bucketName, objectName string) (*minio.Object, error)

func (*Client) ListBuckets

func (this *Client) ListBuckets() ([]minio.BucketInfo, error)

func (*Client) ListObjects

func (this *Client) ListObjects(bucketName, prefix string, recursive bool) ([]minio.ObjectInfo, error)

func (*Client) MakeBucket

func (this *Client) MakeBucket(bucketName, region string, objectLocking bool) error

func (*Client) PutObject

func (this *Client) PutObject(bucketName, objectName, contentType string, reader io.Reader, objectSize int64) error

func (*Client) RemoveBucket

func (this *Client) RemoveBucket(bucketName string) error

func (*Client) RemoveObject

func (this *Client) RemoveObject(bucketName, objectName string, forceDelete bool, governanceBypass bool, versionID string) error

func (*Client) RemoveObjects

func (this *Client) RemoveObjects(bucketName string, objectInfos []minio.ObjectInfo, governanceBypass bool) []minio.RemoveObjectError

func (*Client) StatObject

func (this *Client) StatObject(bucketName, objectName string) (minio.ObjectInfo, error)

Jump to

Keyboard shortcuts

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