backup

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAWSClient

func CheckAWSClient() (string, error)

func CheckAzureClient

func CheckAzureClient() (string, error)

func CheckGCloudClient

func CheckGCloudClient() (string, error)

func CheckGpg

func CheckGpg() (string, error)

func CheckMinioClient

func CheckMinioClient() (string, error)

func CheckMongodump

func CheckMongodump() (string, error)

func CheckRCloneClient

func CheckRCloneClient() (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, modules *config.ModuleConfig) (Result, error)

Jump to

Keyboard shortcuts

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