backup

package
Version: v2.0.0-...-a70d572 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const PluginBackup = "backup"

Variables

This section is empty.

Functions

func NewBackupPlugin

func NewBackupPlugin(cfg *handlerType.Config) (handlerType.Plugin, error)

Types

type BackupConfig

type BackupConfig struct {
	ProviderType string
	Spec         map[string]interface{}
}

BackupConfig of backup service

type Client

type Client interface {
	Name() string
	Start() error
	Post(variables map[string]interface{}) error
	Close() error
	State() *model.State
}

Client for backup service

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL