process

package
v0.0.0-...-c16cc43 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AMBIENT_MESH_MODE_FLAG = (1 << 0) // nolint: stylecheck
	ZTUNNEL_FLAG           = (1 << 2) // nolint: stylecheck
	ZTUNNEL_IP_KEY         = 0x1      // nolint: stylecheck
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Op       int32
	HostPid  int32
	Level    int32
	LevelPid int32
	ExitCode int32
}

type ProcessManager

type ProcessManager interface {
	Run(stop chan struct{}) error
	OnPodDeleted(ip string) error
	OnPodStatusChanged(ip string, bool, isAmbient bool, isZtunnel bool) error
}

func NewProcessManager

func NewProcessManager(cgroupMountPath string) (ProcessManager, error)

Jump to

Keyboard shortcuts

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