cmd

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   = "dev"
	Commit    = "unknown"
	BuildDate = "unknown"
)

Version information - set at build time via ldflags

Functions

func Execute

func Execute() error

Execute runs the root command

func SetBPFLoaders

func SetBPFLoaders(l BPFLoaders)

SetBPFLoaders sets the BPF loader functions (called from main)

Types

type BPFLoader

type BPFLoader func() (io.ReadCloser, func(), error)

BPFLoader is a function type for loading BPF and returning a reader

func GetFileLoader

func GetFileLoader() BPFLoader

GetFileLoader returns the file BPF loader

func GetTaskLoader

func GetTaskLoader() BPFLoader

GetTaskLoader returns the task BPF loader

type BPFLoaders

type BPFLoaders struct {
	Task BPFLoader
	File BPFLoader
}

BPFLoaders holds the different BPF loader functions

Jump to

Keyboard shortcuts

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