Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine interface { CreateBridge(bridgeName string, mtu int) (*netlink.Bridge, error) CreateVethPair(netnsName string, mtu int, interfaceName string) (*current.Interface, string, error) AttachHostVethInterfaceToBridge(hostVethName string, bridge *netlink.Bridge) (*current.Interface, error) RunIPAMPluginAdd(plugin string, netConf []byte) (*current.Result, error) ConfigureContainerVethInterface(netnsName string, result *current.Result, interfaceName string) error ConfigureBridge(result *current.Result, bridge *netlink.Bridge) error GetInterfaceIPV4Address(netnsName string, interfaceName string) (string, error) RunIPAMPluginDel(plugin string, netconf []byte) error DeleteVeth(netnsName string, interfaceName string) error }
Engine represents the execution engine for the ECS Bridge plugin. It defines all the operations performed during the execution of the plugin
Source Files ¶
Click to show internal directories.
Click to hide internal directories.