syncer

package
v0.0.0-...-8221660 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiscoverNetworkDevices

func DiscoverNetworkDevices(status *neighbordiscovererv1.NodeNeighborNetworkStatus) ([]netlink.Link, error)

DiscoverNetworkDevices discovers local device links

Types

type NodeNeighborStatusSyncer

type NodeNeighborStatusSyncer struct {
	Mutex sync.Mutex
	// contains filtered or unexported fields
}

func NewNodeNeighborStatusSyncer

func NewNodeNeighborStatusSyncer(c client.Client, node string, ns string, i, t int) *NodeNeighborStatusSyncer

func (*NodeNeighborStatusSyncer) Run

func (*NodeNeighborStatusSyncer) SyncNodeNeighborStatus

func (s *NodeNeighborStatusSyncer) SyncNodeNeighborStatus(ctx context.Context) error

Jump to

Keyboard shortcuts

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