pkg/

directory
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0

Directories

Path Synopsis
apis
gadget/v1alpha1
Package v1alpha1 contains API Schema definitions for the gadget v1alpha1 API group +kubebuilder:object:generate=true +groupName=gadget.kinvolk.io
Package v1alpha1 contains API Schema definitions for the gadget v1alpha1 API group +kubebuilder:object:generate=true +groupName=gadget.kinvolk.io
Package btfgen provides a way to load BTF information generated with btfgen.
Package btfgen provides a way to load BTF information generated with btfgen.
Package btfhelpers provides a couple of helper functions to bridge Go's reflection system with types from BTF
Package btfhelpers provides a couple of helper functions to bridge Go's reflection system with types from BTF
Package cachedmap provides a CachedMap which functions as a map with a TTL for old entries.
Package cachedmap provides a CachedMap which functions as a map with a TTL for old entries.
client
clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
clientset/versioned/typed/gadget/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
clientset/versioned/typed/gadget/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
Package columns is a library that helps to carry data structs in a more generic way using a combination of reflection and generics.
Package columns is a library that helps to carry data structs in a more generic way using a combination of reflection and generics.
ellipsis
Package ellipsis helps to truncate text at a specific width and adding an optional ellipsis ("…") to indicate that the text has been truncated.
Package ellipsis helps to truncate text at a specific width and adding an optional ellipsis ("…") to indicate that the text has been truncated.
filter
Package filter helps filtering an array of structs that were analyzed by the columns library.
Package filter helps filtering an array of structs that were analyzed by the columns library.
formatter/textcolumns
Package textcolumns helps to output structs (and events of structs) using metadata from a `Columns` instance in a tabular way suitable for consoles or other frontends using fixed-width characters / fonts.
Package textcolumns helps to output structs (and events of structs) using metadata from a `Columns` instance in a tabular way suitable for consoles or other frontends using fixed-width characters / fonts.
group
Package group can group the entries of an array by one or more columns.
Package group can group the entries of an array by one or more columns.
sort
Package sort can be used to sort an array by their columns in either ascending or descending order.
Package sort can be used to sort an array by their columns in either ascending or descending order.
Package containercollection provides the ContainerCollection struct to keep track of the set of running containers and primitives to query that set with various criteria.
Package containercollection provides the ContainerCollection struct to keep track of the set of running containers and primitives to query that set with various criteria.
Package containerhook detects when a container is created or terminated.
Package containerhook detects when a container is created or terminated.
cri
Package environment is a temporary workaround to have a simple means of knowing what environment we're running in.
Package environment is a temporary workaround to have a simple means of knowing what environment we're running in.
k8s
Package k8s sets the environnment to Kubernetes.
Package k8s sets the environnment to Kubernetes.
local
Package local sets the environnment to Local.
Package local sets the environnment to Local.
Package gadgetcontext handles initializing gadgets and installed operators before handing them over to a specified runtime.
Package gadgetcontext handles initializing gadgets and installed operators before handing them over to a specified runtime.
api
api-helpers
Package apihelpers provides some helper functions for the API package; these were extracted into this package to avoid having additional dependencies on the API package itself
Package apihelpers provides some helper functions for the API package; these were extracted into this package to avoid having additional dependencies on the API package itself
top
api
Package histogram provides a Histogram struct that represents a histogram of the number of events that occurred in each interval.
Package histogram provides a Histogram struct that represents a histogram of the number of events that occurred in each interval.
Package kallsyms provides functions to resolve kernel symbols.
Package kallsyms provides functions to resolve kernel symbols.
Package kfilefields provides functions to read kernel "struct file" fields against a file descriptor.
Package kfilefields provides functions to read kernel "struct file" fields against a file descriptor.
Package logger provides a logger interface that is available to gadgets and runtimes.
Package logger provides a logger interface that is available to gadgets and runtimes.
metadata
v1
Package networktracer installs the dispatcher ebpf program in each network namespace of interest.
Package networktracer installs the dispatcher ebpf program in each network namespace of interest.
cli
ebpf
Package ebpfoperator provides an operator that is capable of analyzing and running an eBFP based gadget.
Package ebpfoperator provides an operator that is capable of analyzing and running an eBFP based gadget.
kubeipresolver
Package kubeipresolver provides an operator that enriches events by looking up IP addresses in Kubernetes resources such as pods and services.
Package kubeipresolver provides an operator that enriches events by looking up IP addresses in Kubernetes resources such as pods and services.
kubenameresolver
Package kubenameresolver provides an operator that enriches events by looking up the pod name and namespace and enriches it with its ip information.
Package kubenameresolver provides an operator that enriches events by looking up the pod name and namespace and enriches it with its ip information.
socketenricher
Package socketenricher creates an eBPF map exposing processes owning each socket.
Package socketenricher creates an eBPF map exposing processes owning each socket.
uidgidresolver
Package uidgidresolver provides an operator that enriches events by looking up uid and gid resolving them to the corresponding username and groupname.
Package uidgidresolver provides an operator that enriches events by looking up uid and gid resolving them to the corresponding username and groupname.
Package params provides a generic way to describe parameters used by gadgets, operators and runtimes including validation.
Package params provides a generic way to describe parameters used by gadgets, operators and runtimes including validation.
Package parser wraps a couple of helper libraries with the intention of hiding type information and simplifying data handling outside the gadgets.
Package parser wraps a couple of helper libraries with the intention of hiding type information and simplifying data handling outside the gadgets.
Package tchandler handles how SchedCLS programs are attached to containers and network interfaces.
Package tchandler handles how SchedCLS programs are attached to containers and network interfaces.
command
Package command provides a generic way for running testing commands.
Package command provides a generic way for running testing commands.
ig
Package ig provides executable wrapper for ig binary.
Package ig provides executable wrapper for ig binary.
match
Package match provides various helper functions for matching actual output to expected output.
Package match provides various helper functions for matching actual output to expected output.
Package uprobetracer handles how uprobe/uretprobe/USDT programs are attached to containers.
Package uprobetracer handles how uprobe/uretprobe/USDT programs are attached to containers.
utils
bpf-iter-ns
Package bpfiterns reads a ebpf iterator in a different namespace.
Package bpfiterns reads a ebpf iterator in a different namespace.
host
Package host provides ways to access the host filesystem.
Package host provides ways to access the host filesystem.
netns
Package netns is a small wrapper around github.com/vishvananda/netns that provides GetFromPidWithAltProcfs() and GetFromThreadWithAltProcfs().
Package netns is a small wrapper around github.com/vishvananda/netns that provides GetFromPidWithAltProcfs() and GetFromThreadWithAltProcfs().

Jump to

Keyboard shortcuts

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