Documentation ¶
Rendered for windows/amd64
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { // CreateService creates a Windows service with the given configuration parameters CreateService(string, string, mgr.Config, ...string) (winsvc.Service, error) // GetServices returns a map of all the Windows services that exist on an instance. // The keys are service names and values are empty structs, used as 0 byte placeholders. GetServices() (map[string]struct{}, error) // OpenService gets the Windows service of the given name if it exists, by which it can be queried or controlled OpenService(string) (winsvc.Service, error) // DeleteService marks a Windows service of the given name for deletion. No-op if the service already doesn't exist DeleteService(string) error // EnsureServiceState ensures the service is in the given state EnsureServiceState(winsvc.Service, svc.State) error // Disconnect closes connection to the service manager Disconnect() error }
Click to show internal directories.
Click to hide internal directories.