Documentation ¶
Index ¶
- func InterceptorLogger(l *zap.Logger) logging.Logger
- func NewCoildServer(l net.Listener, mgr manager.Manager, nodeIPAM ipam.NodeIPAM, ...) manager.Runnable
- func NewGarbageCollector(mgr manager.Manager, log logr.Logger, interval time.Duration) manager.Runnable
- func NewRouter(mgr manager.Manager, log logr.Logger, nodeName string, ...) manager.Runnable
- type GWNets
- type NATSetup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InterceptorLogger ¶ added in v2.5.0
func NewCoildServer ¶
func NewCoildServer(l net.Listener, mgr manager.Manager, nodeIPAM ipam.NodeIPAM, podNet nodenet.PodNetwork, setup NATSetup, logger *zap.Logger) manager.Runnable
NewCoildServer returns an implementation of cnirpc.CNIServer for coild.
Types ¶
type NATSetup ¶
NATSetup represents a NAT setup function for Pods.
func NewNATSetup ¶
NewNATSetup creates a NATSetup using founat package. `port` is the UDP port number to accept Foo-over-UDP packets.
Click to show internal directories.
Click to hide internal directories.