Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WatchForZombies ¶
func WatchForZombies()
WatchForZombies scans the process table for zombie processes and cleans them up.
Types ¶
type ConmanConfig ¶
type ConmanConfig struct {
BaseConfFilePath string `desc:"Path to the base conman configuration template file."`
ConfFilePath string `desc:"Path to the generated conman configuration file."`
LogsPath string `desc:"Deprecated alias for console-logs-base-path."`
PidFilePath string `desc:"Path to the conman PID file."`
}
func DefaultConmanConfig ¶
func DefaultConmanConfig() ConmanConfig
type ConmanService ¶
type ConmanService struct {
// contains filtered or unexported fields
}
func NewConmanService ¶
func NewConmanService(config ConmanConfig) *ConmanService
func (*ConmanService) ConfigureConman ¶
func (cs *ConmanService) ConfigureConman(nodeMap map[string]*nodes.NodeConsoleInfo, passwords map[string]compcredentials.CompCredentials) (bool, error)
func (*ConmanService) ExecuteConman ¶
func (cs *ConmanService) ExecuteConman() error
ExecuteConman starts conmand and waits for it to exit
func (*ConmanService) SignalConmanHUP ¶
func (cs *ConmanService) SignalConmanHUP() error
SignalConmanHUP sends SIGHUP to running conmand process
func (*ConmanService) SignalConmanTERM ¶
func (cs *ConmanService) SignalConmanTERM() error
SignalConmanTERM sends SIGTERM to running conmand process