reverter

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reverter

type Reverter struct {
	HostMng hostManager
	Logger  logger.Logger
	// contains filtered or unexported fields
}

Reverter reverts change back for configuration files of virtual hosts

func (*Reverter) AddConfigToDeletion

func (r *Reverter) AddConfigToDeletion(filePath string)

func (*Reverter) AddConfigToDisable

func (r *Reverter) AddConfigToDisable(filePath string)

func (*Reverter) BackupConfig

func (r *Reverter) BackupConfig(filePath string) error

func (*Reverter) BackupConfigs

func (r *Reverter) BackupConfigs(filePaths []string) error

func (*Reverter) Commit

func (r *Reverter) Commit() error

func (*Reverter) Rollback

func (r *Reverter) Rollback() error

Jump to

Keyboard shortcuts

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