# Functions
BadRequestErrorf creates an instance of BadRequestError.
CompareIPNet returns equal if the two IP Networks are equal.
ForbiddenErrorf creates an instance of ForbiddenError.
GetBroadcastIP returns the broadcast ip address for the passed network (ip and mask).
GetHostPartIP returns the host portion of the ip address identified by the mask.
GetIPCopy returns a copy of the passed IP address.
GetIPNetCanonical returns the canonical form for the passed network.
GetIPNetCopy returns a copy of the passed IP Network.
GetMacCopy returns a copy of the passed MAC address.
GetMinimalIP returns the address in its shortest form.
GetMinimalIPNet returns a copy of the passed IP Network with congruent ip and mask notation.
InternalErrorf creates an instance of InternalError.
InternalMaskableErrorf creates an instance of InternalError and MaskableError.
NoServiceErrorf creates an instance of NoServiceError.
NotFoundErrorf creates an instance of NotFoundError.
NotImplementedErrorf creates an instance of NotImplementedError.
ParseCIDR returns the *net.IPNet represented by the passed CIDR notation.
ParseProtocol returns the respective Protocol type for the passed string.
RetryErrorf creates an instance of RetryError.
TimeoutErrorf creates an instance of TimeoutError.
# Structs
InterfaceStatistics represents the interface's statistics.
PortBinding represent a port binding between the container and the host.
StaticRoute is a statically-provisioned IP route.
TransportPort represent a local Layer 4 endpoint.
# Interfaces
BadRequestError is an interface for errors originated by a bad request.
ForbiddenError is an interface for errors which denote an valid request that cannot be honored.
InternalError is an interface for errors raised because of an internal error.
MaskableError is an interface for errors which can be ignored by caller.
NoServiceError is an interface for errors returned when the required service is not available.
NotFoundError is an interface for errors raised because a needed resource is not available.
NotImplementedError is an interface for errors raised because of requested functionality is not yet implemented.
RetryError is an interface for errors which might get resolved through retry.
TimeoutError is an interface for errors raised because of timeout.
# Type aliases
ErrInvalidProtocolBinding is returned when the port binding protocol is not valid.
Protocol represents a IP protocol number.
UUID represents a globally unique ID of various resources like network and endpoint.