Documentation ¶ Index ¶ func NewEgressGwAgent(l net.Listener, mgr manager.Manager, egressPort int, logger *zap.Logger) manager.Runnable type GWNets type PluginConf Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewEgressGwAgent ¶ func NewEgressGwAgent(l net.Listener, mgr manager.Manager, egressPort int, logger *zap.Logger) manager.Runnable NewEgressGwAgent returns an implementation of cnirpc.CNIServer for egress-gw. Types ¶ type GWNets ¶ type GWNets struct { Gateway net.IP Networks []*net.IPNet } type PluginConf ¶ type PluginConf struct { types.NetConf // These are fields parsed out of the config or the environment; // included here for convenience ContainerID string `json:"-"` ContIPv4 net.IPNet `json:"-"` ContIPv6 net.IPNet `json:"-"` } Source Files ¶ View all Source files agent.go Click to show internal directories. Click to hide internal directories.