package
0.0.0-20250130204033-e82d90384e5b
Repository: https://github.com/laurentgoderre/moby.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
GenerateKey generates a sandbox key based on the passed container id.
GetSandboxForExternalKey returns sandbox object for the supplied path.
NewSandbox provides a new Namespace instance created in an os specific way provided a key which uniquely identifies the sandbox.
SetBasePath sets the base url prefix for the ns path.
WithAdvertiseAddrInterval sets the interval between unsolicited ARP/NA messages sent to advertise a network interface's addresses.
WithAdvertiseAddrNMsgs sets the number of unsolicited ARP/NA messages that will be sent to advertise a network interface's addresses.
WithCreatedInContainer can be used to say the network driver created the interface in the container's network namespace (and, therefore, it doesn't need to be moved into that namespace.).
WithFamily sets the address-family for the neighbor entry.
WithIPv4Address sets the IPv4 address of the interface.
WithIPv6Address sets the IPv6 address of the interface.
WithIsBridge sets whether the interface is a bridge.
WithLinkLocalAddresses set the link-local IP addresses of the interface.
WithLinkName sets the srcName of the link to use in the neighbor entry.
WithMACAddress sets the interface MAC-address.
WithMaster sets the master interface (if any) for this interface.
WithRoutes sets the interface routes.
WithSysctls sets the interface sysctls.
# Constants
AdvertiseAddrIntervalMax defines the maximum interval between ARP/NA messages sent when an interface is configured.
AdvertiseAddrIntervalMin defines the minimum interval between ARP/NA messages sent when an interface is configured.
AdvertiseAddrNMsgsMax defines the maximum number of ARP/NA messages sent when an interface is configured.
AdvertiseAddrNMsgsMin defines the minimum number of ARP/NA messages sent when an interface is configured.
SandboxTypeIngress indicates that the sandbox is for the ingress.
SandboxTypeLoadBalancer indicates that the sandbox is a load balancer.
# Structs
No description provided by the author
Interface represents the settings and identity of a network device.
Namespace represents a network sandbox.
NeighborSearchError indicates that the neighbor is already present.
# Type aliases
IfaceOption is a function option type to set interface options.
NeighOption is a function option type to set neighbor options.
SandboxType specify the time of the sandbox, this can be used to apply special configs.