Documentation ¶
Index ¶
- func UserUnitPath(unitName string) string
- func UserUnitsDir() string
- type Commander
- func (c Commander) DaemonReload() error
- func (c Commander) Disable(name string) error
- func (c Commander) Enable(name string) error
- func (c Commander) Reload(name string) error
- func (c Commander) Restart(name string) error
- func (c Commander) Start(name string) error
- func (c Commander) Status(name string) (states.State, error)
- func (c Commander) Stop(name string) error
- func (c *Commander) User() *Commander
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UserUnitPath ¶
func UserUnitsDir ¶
func UserUnitsDir() string
Types ¶
type Commander ¶
type Commander struct {
// contains filtered or unexported fields
}
func NewHostSystemdCommander ¶
func NewHostSystemdCommander() *Commander
func (Commander) DaemonReload ¶
Click to show internal directories.
Click to hide internal directories.