gadgets

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

View Source
const (
	PinPath = "/sys/fs/bpf/gadget"

	// The Trace custom resource is preferably in the "gadget" namespace
	TraceDefaultNamespace = "gadget"

	PerfBufferPages = 64
)

Variables

This section is empty.

Functions

func CloseLink(l link.Link) link.Link

CloseLink closes l if it's not nil and returns nil

Types

type DataEnricher

type DataEnricher interface {
	Enrich(event *types.CommonData, mountnsid uint64)
}

DataEnricher is used to enrich events with Kubernetes information, like node, namespace, pod name and container name.

Jump to

Keyboard shortcuts

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