Documentation ¶
Overview ¶
Package svcmanager contains svcmanager implementations
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SystemCtlSvcManager ¶
type SystemCtlSvcManager struct {
// contains filtered or unexported fields
}
SystemCtlSvcManager struct for the Systemctl service manager
func NewSystemctlSvcManager ¶
func NewSystemctlSvcManager(vmClient client.VM) *SystemCtlSvcManager
NewSystemctlSvcManager return systemctl service manager
func (*SystemCtlSvcManager) Restart ¶
func (s *SystemCtlSvcManager) Restart(service string) (string, error)
Restart executes restart command from systemctl
func (*SystemCtlSvcManager) Start ¶
func (s *SystemCtlSvcManager) Start(service string) (string, error)
Start executes start command from systemctl
Click to show internal directories.
Click to hide internal directories.