package
0.0.18
Repository: https://github.com/wentaojin/dbms.git
Documentation: pkg.go.dev

# Functions

NewLaunchdModule builds and returns a LaunchdModule object base on given config.
NewShellModule builds and returns a ShellModule object base on given config.
NewSystemdModule builds and returns a SystemdModule object base on given config.
No description provided by the author
NewWaitFor create a WaitFor instance.
Retry retries the func until it returns no error or reaches attempts limit or timed out, either one is earlier.

# Constants

DefaultSystemdExecuteTimeout unit: seconds.
DefaultSystemdSleepTime unit: seconds.
scope can be either "system", "user" or "global".
scope can be either "system", "user" or "global".
scope can be either "system", "user" or "global".
UserActionAdd.
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

LaunchdModule is the module used to control systemd units.
LaunchdModuleConfig is the configurations used to initialize a LaunchdModule.
RetryOption is options for Retry().
ShellModule is the module used to control systemd units.
ShellModuleConfig is the configurations used to initialize.
SystemdModule is the module used to control systemd units.
SystemdModuleConfig is the configurations used to initialize a SystemdModule.
UserModule is the module used to control systemd units.
UserModuleConfig is the configuration used to initialize UserModule.
WaitFor is the module used to wait for some condition.
WaitForConfig is the configurations of WaitFor module.