Versions in this module Expand all Collapse all v0 v0.5.5 Nov 9, 2024 Changes in this version + type Handler struct + DelLink func(key string, update *netlink.LinkUpdate) error + NewLink func(key string, update *netlink.LinkUpdate) error + type Monitor struct + func NewMonitor(h *Handler) *Monitor + func (m *Monitor) AddPattern(key string, pattern *Pattern) + func (m *Monitor) DeletePattern(key string) + func (m *Monitor) GetPattern(key string) *Pattern + func (m *Monitor) ScanLinks(pattern *Pattern) ([]netlink.Link, error) + func (m *Monitor) Start(ctx context.Context) + type Pattern struct + Name string + Type string + func NewPattern(typeRegexp, nameRegexp string) *Pattern v0.3.2-rc1 Nov 10, 2024