hostap

package
v0.0.0-...-02ba5bb Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

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)

Jump to

Keyboard shortcuts

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