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 ¶
ExecutePostBackup executes the post backup command
func (*Hooks) ExecutePreBackup ¶
ExecutePreBackup executes the pre backup command
func (*Hooks) GeneratePostBackupCmd ¶
GeneratePostBackupCmd generates the post backup command
func (*Hooks) GeneratePreBackupCmd ¶
GeneratePreBackupCmd generates the pre backup command
func (*Hooks) HasPostBackup ¶
HasPostBackup returns true if a post backup command is defined
func (*Hooks) HasPreBackup ¶
HasPreBackup returns true if a pre backup command is defined
Click to show internal directories.
Click to hide internal directories.