Debian Codegraph @

hostmap_tester.go

raw
1 //go:build e2e_testing
2
3 package nebula
4
5 // This file contains functions used to export information to the e2e testing framework
6
7 import (
8 "net/netip"
9 )
10
11 func (i *HostInfo) GetVpnAddrs() []netip.Addr {
12 return i.vpnAddrs
13 }
14
15 func (i *HostInfo) GetLocalIndex() uint32 {
16 return i.localIndexId
17 }
18
19 func (i *HostInfo) GetRemoteIndex() uint32 {
20 return i.remoteIndexId
21 }
22
23 func (i *HostInfo) GetRelayState() *RelayState {
24 return &i.relayState
25 }