Documentation ¶
Index ¶
- type ServiceMonitor
- func (sm *ServiceMonitor) Add(netpath *common.SdnNetworkPath, ip netip.Prefix) error
- func (sm *ServiceMonitor) Apply() ([]*routestatus.Connection, []*peeradata.Entry)
- func (sm *ServiceMonitor) Close() error
- func (sm *ServiceMonitor) Count() int
- func (sm *ServiceMonitor) Del(netpath *common.SdnNetworkPath, ip netip.Prefix) error
- func (sm *ServiceMonitor) Flush()
- func (sm *ServiceMonitor) Has(ip netip.Prefix) bool
- func (sm *ServiceMonitor) Reroute(selroute *peermon.SelectedRoute) (rv *peeradata.Entry)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceMonitor ¶
func New ¶
func New(ps peermon.PathSelector, gid int) *ServiceMonitor
func (*ServiceMonitor) Add ¶
func (sm *ServiceMonitor) Add(netpath *common.SdnNetworkPath, ip netip.Prefix) error
func (*ServiceMonitor) Apply ¶
func (sm *ServiceMonitor) Apply() ([]*routestatus.Connection, []*peeradata.Entry)
func (*ServiceMonitor) Close ¶
func (sm *ServiceMonitor) Close() error
func (*ServiceMonitor) Count ¶
func (sm *ServiceMonitor) Count() int
func (*ServiceMonitor) Del ¶
func (sm *ServiceMonitor) Del(netpath *common.SdnNetworkPath, ip netip.Prefix) error
func (*ServiceMonitor) Flush ¶
func (sm *ServiceMonitor) Flush()
func (*ServiceMonitor) Reroute ¶
func (sm *ServiceMonitor) Reroute(selroute *peermon.SelectedRoute) (rv *peeradata.Entry)
Click to show internal directories.
Click to hide internal directories.