events

package
v0.73.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: BSD-3-Clause Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Stream

func Stream(ctx context.Context, opts Options) error

Stream subscribes to the selected runtime and netlink sources and forwards aggregated events to the configured writer.

Types

type Options

type Options struct {
	Format                string
	Runtime               string
	IncludeInitialState   bool
	IncludeInterfaceStats bool
	StatsInterval         time.Duration
	ClabOptions           []clabcore.ClabOption
	Writer                io.Writer
}

Options configure how runtime and interface events are sourced and rendered.

Jump to

Keyboard shortcuts

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