Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeInterfaceAddressesProvider ¶
type FakeInterfaceAddressesProvider struct {
GetInterfaceAddresses []boship.InterfaceAddress
GetErr error
}
func (*FakeInterfaceAddressesProvider) Get ¶
func (f *FakeInterfaceAddressesProvider) Get() ([]boship.InterfaceAddress, error)
type FakeResolver ¶
type FakeResolver struct {
GetPrimaryIPInterfaceName string
GetPrimaryIPNet *gonet.IPNet
GetPrimaryIPErr error
GetPrimaryIPCalledWith FakeReturn
}
func (*FakeResolver) GetPrimaryIP ¶ added in v2.758.0
func (r *FakeResolver) GetPrimaryIP(interfaceName string, ipProtocol boship.IPProtocol) (*gonet.IPNet, error)
type FakeReturn ¶ added in v2.758.0
type FakeReturn struct {
IFaceName string
IpProtocol boship.IPProtocol
}
Click to show internal directories.
Click to hide internal directories.