Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNoopWatcher ¶ added in v0.0.11
func NewNoopWatcher() *noopWatcher
Types ¶
type LoadOptions ¶
type LoadOptions struct {
ParsedELF *ParsedELF
Watcher MapWatcher
PinMaps string
PinProgs string
}
type Loader ¶
type Loader interface {
Parse(ctx context.Context, reader io.ReaderAt) (*ParsedELF, error)
Load(ctx context.Context, opts *LoadOptions) error
WatchMaps(ctx context.Context, watchedMaps map[string]WatchedMap, watchedMapOptions map[string]WatchedMapOptions, coll map[string]*ebpf.Map, watcher MapWatcher) error
}
func NewLoader ¶
func NewLoader( decoderFactory decoder.DecoderFactory, metricsProvider stats.MetricsProvider, ) Loader
type MapWatcher ¶
type ParsedELF ¶
type ParsedELF struct {
Spec *ebpf.CollectionSpec
WatchedMaps map[string]WatchedMap
WatchedMapOptions map[string]WatchedMapOptions
}
type WatchedMap ¶
type WatchedMapOptions ¶ added in v0.0.15
Click to show internal directories.
Click to hide internal directories.