proc

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InstallClient

type InstallClient struct {
}

func NewInstallClient

func NewInstallClient() InstallClient

func (InstallClient) Run

func (c InstallClient) Run(params InstallParams) error

type InstallParams

type InstallParams struct {
	ConfigPath string
	IsUser     bool
}

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) 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)

func (*StartBackupClient) SetConfig

func (c *StartBackupClient) SetConfig(config domain.Config)

type StartBackupParams

type StartBackupParams struct {
	ConfigPath string
	Daemon     bool
}

Jump to

Keyboard shortcuts

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