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"` }
Click to show internal directories.
Click to hide internal directories.