mirror of
https://github.com/slackhq/nebula.git
synced 2024-11-10 17:24:37 +08:00
2801fb2286
Co-authored-by: Nate Brown <nbrown.us@gmail.com>
24 lines
473 B
Go
24 lines
473 B
Go
//go:build e2e_testing
|
|
// +build e2e_testing
|
|
|
|
package nebula
|
|
|
|
// This file contains functions used to export information to the e2e testing framework
|
|
|
|
import "github.com/slackhq/nebula/iputil"
|
|
|
|
func (i *HostInfo) GetVpnIp() iputil.VpnIp {
|
|
return i.vpnIp
|
|
}
|
|
|
|
func (i *HostInfo) GetLocalIndex() uint32 {
|
|
return i.localIndexId
|
|
}
|
|
|
|
func (i *HostInfo) GetRemoteIndex() uint32 {
|
|
return i.remoteIndexId
|
|
}
|
|
|
|
func (i *HostInfo) GetRelayState() *RelayState {
|
|
return &i.relayState
|
|
}
|