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
GC triggers garbage collection of namespace path right away and waits for it.
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.
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.
# Constants
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.