minio

package
v0.8.2-beta002 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: MIT Imports: 10 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

func (*Client) Connect added in v0.6.16

func (c *Client) Connect() 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) (*minio.Object, error)

func (*Client) ListBuckets

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

func (*Client) ListFiles

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

func (*Client) SaveFile

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

func (*Client) ScrapeArtefacts

func (c *Client) ScrapeArtefacts(id string, directories ...string) error

Jump to

Keyboard shortcuts

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