progs

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: MIT Imports: 6 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)
	GetProgs() ([]ProgInfo, error)
	GetProg(id ebpf.ProgramID) (*ProgInfo, error)
}

func NewWatcher

func NewWatcher(logger zerolog.Logger, checkInterval time.Duration) ProgWatcher

Jump to

Keyboard shortcuts

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