Documentation ¶
Index ¶
- func BucketExists(minioClient *minio.Client) (exists bool, err error)
- func Get(minioClient *minio.Client, filePath string) (objectBytes []byte, objectInfo minio.ObjectInfo, err error)
- func List(minioClient *minio.Client, path string) []minio.ObjectInfo
- func ListBuckets(minioClient *minio.Client) ([]minio.BucketInfo, error)
- func Open(endpoint string, accessKey string, secretKey string, useSSL bool) (*minio.Client, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BucketExists ¶
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.