minio

package
v0.0.0-jobs1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(endpoint, accessKeyID, secretAccessKey, location, token string, ssl bool) (*Client, error)

func (*Client) CreateBucket

func (c *Client) CreateBucket(bucket string) error

func (*Client) DeleteBucket

func (c *Client) DeleteBucket(bucket string, force bool) error

func (*Client) DownloadFile

func (c *Client) DownloadFile(bucket, file string) error

func (*Client) ListBuckets

func (c *Client) ListBuckets() ([]string, error)

func (*Client) ListFiles

func (c *Client) ListFiles(bucket string) ([]string, error)

func (*Client) SaveFile

func (c *Client) SaveFile(bucket, filePath string) error

Jump to

Keyboard shortcuts

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