package
0.0.0-20240818021530-f5e744f7964a
Repository: https://github.com/kaisenlinux/docker.io.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
Register registers a new instance of bridge driver.
ValidateFixedCIDRV6 checks that val is an IPv6 address and prefix length that does not overlap with the link local subnet prefix 'fe80::/64'.
# Constants
BridgeName label for bridge driver.
DefaultBindingIP label.
DefaultBridge label.
DefaultBridgeName is the default name for the bridge interface managed by the driver when unspecified by the caller.
DefaultGatewayV4AuxKey represents the default-gateway configured by the user.
DefaultGatewayV6AuxKey represents the ipv6 default-gateway configured by the user.
DockerChain: DOCKER iptable chain name.
EnableICC label.
EnableIPMasquerade label for bridge driver.
InhibitIPv4 label.
DockerChain: DOCKER iptable chain name.
DockerChain: DOCKER iptable chain name.
No description provided by the author
# Structs
ErrConfigExists error is returned when driver already has a config applied.
ErrIfaceName error is returned when a new name could not be generated.
ErrInvalidDriverConfig error is returned when Bridge Driver is passed an invalid config.
ErrInvalidEndpointConfig error is returned when an endpoint create is attempted with an invalid endpoint configuration.
ErrInvalidGateway is returned when the user provided default gateway (v4/v6) is not valid.
ErrInvalidNetworkConfig error is returned when a network is created on a driver without valid config.
ErrNetworkExists error is returned when a network already exists and another network is created.
ErrNoIPAddr error is returned when bridge has no IPv4 address configured.
IPv4AddrAddError is returned when IPv4 address could not be added to the bridge.
IPv4AddrNoMatchError is returned when the bridge's IPv4 address does not match configured.
# Type aliases
EndpointNotFoundError is returned when the no endpoint with the passed endpoint id is found.
ErrInvalidMtu is returned when the user provided MTU is not valid.
ErrUnsupportedAddressType is returned when the specified address type is not supported.
InvalidEndpointIDError is returned when the passed endpoint id is not valid.
InvalidNetworkIDError is returned when the passed network id for an existing network is not a known id.
IPv6AddrNoMatchError is returned when the bridge's IPv6 address does not match configured.
NonDefaultBridgeExistError is returned when a non-default bridge config is passed but it does not already exist.
NonDefaultBridgeNeedsIPError is returned when a non-default bridge config is passed but it has no ip configured.