conman

package
v0.0.0-...-b8e8469 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2026 License: MIT Imports: 17 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL