Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunService ¶
Run Service runs the Rancher Desktop Privileged Service in Windows services
Types ¶
type Supervisor ¶
type Supervisor struct {
// contains filtered or unexported fields
}
Supervisor implements service handler interface for Rancher Desktop Privileged Service
func NewSupervisor ¶
func NewSupervisor(portServer *port.Server, logger debug.Log) *Supervisor
func (*Supervisor) Execute ¶
func (s *Supervisor) Execute(args []string, r <-chan svc.ChangeRequest, changes chan<- svc.Status) (bool, uint32)
Execute is the core of the supervisor service to handle all the service related event requests. Any outside function calls MUST be called in a goroutine. The signature must NOT change since it is part of the standard service handler interface This implements the golang.org/x/sys/windows/svc.Handler interface
Click to show internal directories.
Click to hide internal directories.