Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostDisabler ¶
type Reverter ¶
type Reverter interface {
BackupFile(filePath string) error
BackupFiles(filePaths []string) error
AddFileToDeletion(filePath string)
AddHostConfigToDisable(configPath string)
Commit() error
Rollback() error
}
func GetConfigReveter ¶
func GetConfigReveter(hostDisabler HostDisabler, logger logger.LoggerInterface) Reverter
Click to show internal directories.
Click to hide internal directories.