package
1.12.0-alpha.0
Repository: https://github.com/klihub/kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

GetNodeAddresses return all matched node IP addresses based on given cidr slice.
IPPart returns just the IP part of an IP or IP:port or endpoint string.
No description provided by the author
No description provided by the author
LogAndEmitIncorrectIPVersionEvent logs and emits incorrect IP version event.
PortPart returns just the port part of an endpoint string.
RevertPorts is closing ports in replacementPortsMap but not in originalPortsMap.
No description provided by the author
ToCIDR returns a host address of the form <ip-address>/32 for IPv4 and <ip-address>/128 for IPv6.

# Constants

No description provided by the author
No description provided by the author

# Structs

LocalPort describes a port on specific IP address and protocol.
RealNetwork implements the NetworkInterfacer interface for production code, just wrapping the underlying net library function calls.

# Interfaces

Closeable is an interface around closing an port.
NetworkInterfacer defines an interface for several net library functions.
PortOpener is an interface around port opening/closing.