hooks

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hooks

type Hooks struct {
	PreBackup  string `yaml:"prebackup" env:"PREBACKUP" env-default:""`
	PostBackup string `yaml:"postbackup" env:"POSTBACKUP" env-default:""`
}

func (*Hooks) ExecutePostBackup

func (h *Hooks) ExecutePostBackup(file string) error

func (*Hooks) ExecutePreBackup

func (h *Hooks) ExecutePreBackup() error

func (*Hooks) GeneratePostBackupCmd

func (h *Hooks) GeneratePostBackupCmd(file string) string

func (*Hooks) GeneratePreBackupCmd

func (h *Hooks) GeneratePreBackupCmd() string

func (*Hooks) HasPostBackup

func (h *Hooks) HasPostBackup() bool

func (*Hooks) HasPreBackup

func (h *Hooks) HasPreBackup() bool

Jump to

Keyboard shortcuts

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