minio

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

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

Go to latest
Published: Nov 23, 2020 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BucketExists

func BucketExists(minioClient *minio.Client) (exists bool, err error)

BucketExists ... returns if a bucket exists

func Get

func Get(minioClient *minio.Client, filePath string) (objectBytes []byte, objectInfo minio.ObjectInfo, err error)

Get ... retrieves a given object

func List

func List(minioClient *minio.Client, path string) []minio.ObjectInfo

List ... returns a list of files in a given path

func ListBuckets

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

ListBuckets ... returns a list of the available buckets

func Open

func Open(endpoint string, accessKey string, secretKey string, useSSL bool) (*minio.Client, error)

Open ... open a Minio client

Types

This section is empty.

Jump to

Keyboard shortcuts

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