Documentation ¶
Index ¶
- func ValidateAlertConfig()
- type InstallClient
- type InstallParams
- type StartBackupClient
- func (c StartBackupClient) LoadConfig(path string) (domain.Config, error)
- func (c StartBackupClient) MoveFile(details domain.RunDetails, config domain.ConfigDest) error
- func (c StartBackupClient) ProcessDockerContainers(container domain.ContainerDocker) error
- func (c StartBackupClient) RunDaemon() error
- func (c StartBackupClient) RunProcess() error
- func (c StartBackupClient) RunSingle() error
- func (c StartBackupClient) SendAlert(config domain.ConfigAlert, logs domain.Logs, isError bool)
- func (c *StartBackupClient) SetConfig(config domain.Config)
- type StartBackupParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAlertConfig ¶ added in v0.0.4
func ValidateAlertConfig()
Types ¶
type InstallClient ¶
type InstallClient struct { }
func NewInstallClient ¶
func NewInstallClient() InstallClient
func (InstallClient) Run ¶
func (c InstallClient) Run(params InstallParams) error
type InstallParams ¶
type StartBackupClient ¶
type StartBackupClient struct { Config domain.Config Params StartBackupParams }
func NewStartBackupClient ¶
func NewStartBackupClient(params StartBackupParams) StartBackupClient
func (StartBackupClient) LoadConfig ¶
func (c StartBackupClient) LoadConfig(path string) (domain.Config, error)
func (StartBackupClient) MoveFile ¶
func (c StartBackupClient) MoveFile(details domain.RunDetails, config domain.ConfigDest) error
func (StartBackupClient) ProcessDockerContainers ¶
func (c StartBackupClient) ProcessDockerContainers(container domain.ContainerDocker) error
func (StartBackupClient) RunDaemon ¶ added in v0.0.4
func (c StartBackupClient) RunDaemon() error
func (StartBackupClient) RunProcess ¶
func (c StartBackupClient) RunProcess() error
func (StartBackupClient) RunSingle ¶ added in v0.0.3
func (c StartBackupClient) RunSingle() error
This runs the tool once and closes down once its finished.
func (StartBackupClient) SendAlert ¶
func (c StartBackupClient) SendAlert(config domain.ConfigAlert, logs domain.Logs, isError bool)
func (*StartBackupClient) SetConfig ¶
func (c *StartBackupClient) SetConfig(config domain.Config)
type StartBackupParams ¶
Click to show internal directories.
Click to hide internal directories.