minio

package
v1.0.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DestinationDir = "./backup/minio"

DestinationDir Bucket name and destination directory to save dumped files

Functions

func DeleteBucket

func DeleteBucket()

func DumpBucket

func DumpBucket()

func RestoreBucket

func RestoreBucket()

func UploadBucket

func UploadBucket()

Types

type Env

type Env struct {
	PrintEnv   bool   `mapstructure:"PRINT_ENV"`
	Endpoint   string `mapstructure:"MINIO_ENDPOINT"`
	BucketName string `mapstructure:"MINIO_BUCKET_NAME"`
	Port       string `mapstructure:"MINIO_PORT"`
	User       string `mapstructure:"MINIO_ROOT_USER"`
	Password   string `mapstructure:"MINIO_ROOT_PASSWORD"`
	SSL        bool   `mapstructure:"MINIO_SSL"`
}

Jump to

Keyboard shortcuts

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