progs

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProgInfo

type ProgInfo struct {
	ID          ebpf.ProgramID
	Info        *ebpf.ProgramInfo
	Error       error
	VerifierLog string
	Type        ebpf.ProgramType
	IsPinned    bool
}

type ProgWatcher

type ProgWatcher interface {
	Run(ctx context.Context, refreshInterval time.Duration)
	GetProgs() ([]ProgInfo, error)
	GetProg(id ebpf.ProgramID) (*ProgInfo, error)
	RegisterMetrics(registry *prometheus.Registry)
}

func NewWatcher

func NewWatcher(logger zerolog.Logger) ProgWatcher

Jump to

Keyboard shortcuts

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