processtreecreator

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProcessTreeCreator

type ProcessTreeCreator interface {
	// Feed a new event into the process tree
	FeedEvent(event conversion.ProcessEvent)
	// Get the full process tree (returns the root or all processes)
	GetRootTree() ([]apitypes.Process, error)
	// Get the process map
	GetProcessMap() *maps.SafeMap[uint32, *apitypes.Process]
	// Optionally: Query for a process node by PID
	GetProcessNode(pid int) (*apitypes.Process, error)
	// Start the process tree creator and begin background tasks
	Start()
	// Stop the process tree creator and cleanup resources
	Stop()
}

func NewProcessTreeCreator

func NewProcessTreeCreator(containerTree containerprocesstree.ContainerProcessTree, config config.Config) ProcessTreeCreator

Jump to

Keyboard shortcuts

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