objectstore

package
v0.0.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadFromS3WithPrefix

func DownloadFromS3WithPrefix(client *minio.Client, prefix, bucket string) (string, error)

func GetS3Client

func GetS3Client(ctx context.Context, objectStore *v1.S3ObjectStore, namespace string, dynamicClient dynamic.Interface) (*minio.Client, error)

func SetS3Service

func SetS3Service(bc *v1.S3ObjectStore, accessKey, secretKey string, useSSL bool) (*minio.Client, error)

func UploadBackupFile

func UploadBackupFile(svc *minio.Client, bucketName, fileName, filePath string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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