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
Click to show internal directories.
Click to hide internal directories.