Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteState ¶
DeleteState removes the state info for a given interface.
func Process ¶
func Process(ifStates *path_mgmt.IFStateInfos)
Process processes Interface State updates from the beacon service.
func UpdateIfNew ¶
UpdateIfNew atomically updates the state info for a given ifid, if the state has not been changed in the meantime. If there is no state info, a new one will be created and the new state will be inserted.
Types ¶
type Info ¶
type Info struct { IfID common.IFIDType Active bool SRevInfo *path_mgmt.SignedRevInfo RawSRev common.RawBytes }
Info stores state information, as well as the raw revocation info for a given interface.
Click to show internal directories.
Click to hide internal directories.