backup

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAWSClient added in v1.2.0

func CheckAWSClient() (string, error)

func CheckAzureClient

func CheckAzureClient() (string, error)

func CheckGCloudClient

func CheckGCloudClient() (string, error)

func CheckGpg added in v1.3.0

func CheckGpg() (string, error)

func CheckMinioClient

func CheckMinioClient() (string, error)

func CheckMongodump

func CheckMongodump() (string, error)

func TmpCleanup

func TmpCleanup(path string) error

TmpCleanup remove files older than one day

Types

type Result

type Result struct {
	Name      string        `json:"name"`
	Plan      string        `json:"plan"`
	Duration  time.Duration `json:"duration"`
	Size      int64         `json:"size"`
	Status    int           `json:"status"`
	Timestamp time.Time     `json:"timestamp"`
}

func Run

func Run(plan config.Plan, conf *config.AppConfig) (Result, error)

Jump to

Keyboard shortcuts

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