MCPcopy
hub / github.com/projectcalico/calico / SyncerInterface

Interface SyncerInterface

felix/routetable/interface.go:23–27  ·  view source on GitHub ↗

SyncerInterface is the interface used to manage data-sync of route table managers. This includes notification of interface state changes, hooks to queue a full resync and apply routing updates.

Source from the content-addressed store, hash-verified

21// SyncerInterface is the interface used to manage data-sync of route table managers. This includes notification of
22// interface state changes, hooks to queue a full resync and apply routing updates.
23type SyncerInterface interface {
24 OnIfaceStateChanged(name string, ifIndex int, state ifacemonitor.State)
25 QueueResync()
26 Apply() error
27}
28
29// Interface is the interface provided by the standard routetable module used to program the RIB.
30type Interface interface {

Callers 14

OnIfaceStateChangedMethod · 0.65
OnIfaceStateChangedMethod · 0.65
TestVXLANFDB_IPv6Function · 0.65
route_rule_test.goFile · 0.65
QueueResyncMethod · 0.65
benchResyncNumRoutesFunction · 0.65
route_rule_test.goFile · 0.65
ApplyMethod · 0.65

Implementers 6

mockRouteTablefelix/dataplane/linux/endpoint_mgr_tes
Wireguardfelix/wireguard/wireguard.go
ClassViewfelix/routetable/interface.go
RouteTablefelix/routetable/route_table.go
DummyTablefelix/routetable/dummy_table.go
VXLANFDBfelix/vxlanfdb/vxlan_fdb.go

Calls

no outgoing calls

Tested by

no test coverage detected