runners

package
v0.0.0-...-d8950e2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2023 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

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:"-"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL