types

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseContainerLabels added in v0.10.0

func ParseContainerLabels(s string) map[string]string

Types

type Container added in v0.10.0

type Container struct {
	Id     string
	Name   string
	Labels map[string]string

	RootPid          int
	MountNamespace   int64
	NetworkNamespace int64

	Image       string
	ImageDigest string
}

func (Container) FormatLabels added in v0.10.0

func (c Container) FormatLabels() string

func (Container) TidyName added in v0.10.0

func (c Container) TidyName() string

type CountReport

type CountReport struct {
	Captured int
	Received int
	Dropped  int
}

type PacketContext added in v0.10.0

type PacketContext struct {
	Process
	Container
}

type Process added in v0.10.0

type Process struct {
	Pid              int
	MountNamespaceId int64
	NetNamespaceId   int64

	Cmd string

	Args          []string
	ArgsTruncated bool
}

func (Process) FormatArgs added in v0.10.0

func (p Process) FormatArgs() string

func (Process) MatchComm added in v0.10.0

func (p Process) MatchComm(name string) bool

Jump to

Keyboard shortcuts

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