mirror of
https://github.com/slackhq/nebula.git
synced 2026-03-10 00:31:54 -07:00
Some checks failed
gofmt / Run gofmt (push) Has been cancelled
smoke-extra / Run extra smoke tests (push) Has been cancelled
smoke / Run multi node smoke test (push) Has been cancelled
Build and test / Build all and test on ubuntu-linux (push) Has been cancelled
Build and test / Build and test on linux with boringcrypto (push) Has been cancelled
Build and test / Build and test on linux with pkcs11 (push) Has been cancelled
Build and test / Build and test on macos-latest (push) Has been cancelled
Build and test / Build and test on windows-latest (push) Has been cancelled
25 lines
439 B
Go
25 lines
439 B
Go
//go:build e2e_testing
|
|
|
|
package nebula
|
|
|
|
// This file contains functions used to export information to the e2e testing framework
|
|
|
|
import (
|
|
"net/netip"
|
|
)
|
|
|
|
func (i *HostInfo) GetVpnAddrs() []netip.Addr {
|
|
return i.vpnAddrs
|
|
}
|
|
|
|
func (i *HostInfo) GetLocalIndex() uint32 {
|
|
return i.localIndexId
|
|
}
|
|
|
|
func (i *HostInfo) GetRemoteIndex() uint32 {
|
|
return i.remoteIndexId
|
|
}
|
|
|
|
func (i *HostInfo) GetRelayState() *RelayState {
|
|
return &i.relayState
|
|
}
|