minio

package
v0.6.11-beta002 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: MIT Imports: 9 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) (*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, directory string) error

Jump to

Keyboard shortcuts

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