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.
| 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. |
| 23 | type 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. |
| 30 | type Interface interface { |
no outgoing calls
no test coverage detected