Documentation ¶
Index ¶
- type Manager
- func (m *Manager) CheckIfIPInfoPathAdded(ipAddr net.IP) (bool, error)
- func (m *Manager) CheckIfStart() bool
- func (m *Manager) CheckRemotePeersEstablished() (bool, error)
- func (m *Manager) RecordIP(ip net.IP, needToBeExported bool)
- func (m *Manager) RecordPeer(address, password string, asn int, gracefulRestartTime int32, ...)
- func (m *Manager) RecordSubnet(cidr *net.IPNet)
- func (m *Manager) ResetIPInfos()
- func (m *Manager) ResetPeerAndSubnetInfos()
- func (m *Manager) ResetPeerInfos()
- func (m *Manager) ResetSubnetInfos()
- func (m *Manager) SyncIPInfos() error
- func (m *Manager) SyncPeerAndSubnetInfos() error
- func (m *Manager) SyncPeerInfos() error
- func (m *Manager) SyncSubnetInfos() error
- func (m *Manager) TryStart(asn uint32) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) CheckIfIPInfoPathAdded ¶
func (*Manager) CheckIfStart ¶
func (*Manager) CheckRemotePeersEstablished ¶ added in v0.8.0
func (*Manager) RecordPeer ¶
func (*Manager) RecordSubnet ¶
func (*Manager) ResetIPInfos ¶
func (m *Manager) ResetIPInfos()
func (*Manager) ResetPeerAndSubnetInfos ¶
func (m *Manager) ResetPeerAndSubnetInfos()
func (*Manager) ResetPeerInfos ¶
func (m *Manager) ResetPeerInfos()
func (*Manager) ResetSubnetInfos ¶
func (m *Manager) ResetSubnetInfos()
func (*Manager) SyncIPInfos ¶
func (*Manager) SyncPeerAndSubnetInfos ¶
func (*Manager) SyncPeerInfos ¶
func (*Manager) SyncSubnetInfos ¶
Click to show internal directories.
Click to hide internal directories.