minio

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Endpoint       = ""
	BucketName     = ""
	User           = ""
	Password       = ""
	DestinationDir = "./backup/minio"
	UseSSL         = false
)

DestinationDir Bucket name and destination directory to save dumped files

Functions

func DeleteBucket

func DeleteBucket(worker int)

DeleteBucket deletes all objects in a bucket

func DumpBucket

func DumpBucket(worker int)

DumpBucket dumps all objects in a bucket to a directory

func RestoreBucket

func RestoreBucket(worker int)

RestoreBucket restores a bucket from a directory

func UploadBucket

func UploadBucket(worker int)

UploadBucket uploads all files in a directory to a bucket

Types

This section is empty.

Jump to

Keyboard shortcuts

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