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 { GetPrimaryIPv4InterfaceName string GetPrimaryIPv4IPNet *gonet.IPNet GetPrimaryIPv4Err error }
func (*FakeResolver) GetPrimaryIPv4 ¶
func (r *FakeResolver) GetPrimaryIPv4(interfaceName string) (*gonet.IPNet, error)
Click to show internal directories.
Click to hide internal directories.