Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InterfaceMonitor ¶
type InterfaceMonitor struct { Logger log.Logger Client client.Client Recorder record.EventRecorder AuthNsName *types.NamespacedName IfName string PfInfo *trafficcontrol.PFInfo IfEventHandler hostapif.LinkEventHandler LinkMgr utils.NetlinkManager // contains filtered or unexported fields }
func NewInterfaceMonitor ¶
func NewInterfaceMonitor(logger log.Logger, ifName string, opts ...Opts) *InterfaceMonitor
func (*InterfaceMonitor) StartMonitor ¶
func (m *InterfaceMonitor) StartMonitor() error
func (*InterfaceMonitor) StopMonitor ¶
func (m *InterfaceMonitor) StopMonitor()
type Opts ¶
type Opts func(intfMonitor *InterfaceMonitor)
Click to show internal directories.
Click to hide internal directories.