package
0.11.3
Repository: https://github.com/google/cloudprober.git
Documentation: pkg.go.dev

# Functions

IPVersion tells if an IP address is IPv4 or IPv6.
ResolveIntfAddr takes the name of a network interface and IP version, and returns the first IP address of the interface that matches the specified IP version.

# Variables

InterfaceByName is a mocking point for net.InterfaceByName, used for tests.

# Interfaces

Addr is used for tests, allowing net.InterfaceByName to be mocked.