Versions in this module Expand all Collapse all v0 v0.4.0 Nov 14, 2019 Changes in this version + const DefaultKeepaliveInterval + const DefaultKeepaliveTimeout + func NewHandler(intfs *Interfaces) infra.Handler + type Collector struct + func NewCollector(intfs *Interfaces) *Collector + func (c *Collector) Collect(mc chan<- prometheus.Metric) + func (c *Collector) Describe(dc chan<- *prometheus.Desc) + type Config struct + KeepaliveTimeout time.Duration + func (c *Config) InitDefaults() + type Interface struct + func (intf *Interface) Activate(remote common.IFIDType) State + func (intf *Interface) Expire() bool + func (intf *Interface) LastOriginate() time.Time + func (intf *Interface) LastPropagate() time.Time + func (intf *Interface) Originate(now time.Time) + func (intf *Interface) Propagate(now time.Time) + func (intf *Interface) Revocation() *path_mgmt.SignedRevInfo + func (intf *Interface) Revoke(rev *path_mgmt.SignedRevInfo) error + func (intf *Interface) State() State + func (intf *Interface) TopoInfo() topology.IFInfo + type Interfaces struct + func NewInterfaces(ifInfomap topology.IfInfoMap, cfg Config) *Interfaces + func (intfs *Interfaces) All() map[common.IFIDType]*Interface + func (intfs *Interfaces) Get(ifid common.IFIDType) *Interface + func (intfs *Interfaces) Reset() + func (intfs *Interfaces) Update(ifInfomap topology.IfInfoMap) + type Pusher struct + func (p *Pusher) Push(ctx context.Context, ifid common.IFIDType) + type PusherConf struct + Intfs *Interfaces + Msgr infra.Messenger + TopoProvider itopo.ProviderI + func (cfg PusherConf) New() *Pusher + type RevConfig struct + RevOverlap time.Duration + RevTTL time.Duration + type RevInserter interface + InsertRevocations func(ctx context.Context, revocations ...*path_mgmt.SignedRevInfo) error + type Revoker struct + func (r *Revoker) Name() string + func (r *Revoker) Run(ctx context.Context) + type RevokerConf struct + Intfs *Interfaces + Msgr infra.Messenger + RevConfig RevConfig + RevInserter RevInserter + Signer infra.Signer + TopoProvider itopo.ProviderI + func (cfg RevokerConf) New() *Revoker + type State string + const Active + const Expired + const Inactive + const Revoked