mc

package
v0.0.0-...-0b82c43 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2016 License: Apache-2.0 Imports: 2 Imported by: 4

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(host, accessKey, secretKey string) (*MinioClient, error)

func (*MinioClient) CopyLocally

func (mc *MinioClient) CopyLocally(bucket, object, file string) error

func (*MinioClient) DeleteObject

func (mc *MinioClient) DeleteObject(bucket, object string) error

func (*MinioClient) DeleteTree

func (mc *MinioClient) DeleteTree(bucket, prefix string) error

func (*MinioClient) ListObjects

func (mc *MinioClient) ListObjects(bucket, prefix string) ([]minio.ObjectInfo, error)

Jump to

Keyboard shortcuts

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