backup

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrExternalCommandFailed = errors.New("external command failed")
)
View Source
var (
	ErrNoArguments = errors.New("no arguments")
)
View Source
var ErrValidationFailed = errors.New("validation failed")

Functions

This section is empty.

Types

type Config

type Config struct {
	Version    string
	MariaDB    config.MariaDB
	Storage    config.Storage
	Encryption config.Encryption
}

func DefaultConfig

func DefaultConfig() Config

func (Config) Validate added in v0.6.0

func (c Config) Validate() error

type Operation added in v0.6.0

type Operation struct {
	// contains filtered or unexported fields
}

func NewOperation added in v0.6.0

func NewOperation(
	config Config,
	registrySvc *registry.Service,
	storage storage.Backend,
	logger logging.Logger,
) *Operation

func (*Operation) Run added in v0.6.0

func (o *Operation) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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