processtree

package
v0.2.375 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProcessTreeManager

type ProcessTreeManager interface {
	Start()
	Stop()
	GetContainerProcessTree(containerID string, pid uint32, useCache bool) (apitypes.Process, error)
	ReportEvent(eventType utils.EventType, event utils.K8sEvent) error
}

func NewProcessTreeManager

NewProcessTreeManager creates a new process tree manager

type ProcessTreeManagerImpl

type ProcessTreeManagerImpl struct {
	// contains filtered or unexported fields
}

ProcessTreeManagerImpl implements the ProcessTreeManager interface

func (*ProcessTreeManagerImpl) GetContainerProcessTree

func (ptm *ProcessTreeManagerImpl) GetContainerProcessTree(containerID string, pid uint32, useCache bool) (apitypes.Process, error)

func (*ProcessTreeManagerImpl) ReportEvent

func (ptm *ProcessTreeManagerImpl) ReportEvent(eventType utils.EventType, event utils.K8sEvent) error

func (*ProcessTreeManagerImpl) Start

func (ptm *ProcessTreeManagerImpl) Start()

Start initializes the process tree manager and starts background tasks

func (*ProcessTreeManagerImpl) Stop

func (ptm *ProcessTreeManagerImpl) Stop()

Stop shuts down the process tree manager and stops background tasks

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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