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)
RegisterMetrics(registry *prometheus.Registry)
}
func NewWatcher ¶
func NewWatcher(logger zerolog.Logger, refreshInterval time.Duration) ProgWatcher
Click to show internal directories.
Click to hide internal directories.