monitor

package module
v0.0.0-...-6bf377e Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AgentNameConfigPath = "/var/lib/lynx/agent/name"
)

Variables

This section is empty.

Functions

func NewAgentMonitor

func NewAgentMonitor(client client.Client, ipMonitor ofportIpMonitor) (*agentMonitor, error)

NewAgentMonitor return a new agentMonitor with kubernetes client and ipMonitor.

Types

type IpMonitor

type IpMonitor struct {
	// contains filtered or unexported fields
}

func (*IpMonitor) HandleUpdatedOfport

func (i *IpMonitor) HandleUpdatedOfport(dataChan <-chan map[uint32][]types.IPAddress, stopChan <-chan struct{})

func (*IpMonitor) Run

func (i *IpMonitor) Run(dataChan <-chan map[uint32][]types.IPAddress, stopChan <-chan struct{})

Jump to

Keyboard shortcuts

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