maps

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 MapInfo

type MapInfo struct {
	ID         ebpf.MapID
	Error      error
	Name       string
	Type       ebpf.MapType
	Flags      uint32
	IsPinned   bool
	KeySize    uint32
	ValueSize  uint32
	MaxEntries uint32
}

type MapsWatcher

type MapsWatcher interface {
	Run(ctx context.Context)
	GetMaps() ([]*MapInfo, error)
	GetMap(id ebpf.MapID) (*MapInfo, error)
}

func NewWatcher

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

Jump to

Keyboard shortcuts

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