Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BridgeConf ¶
type NetConf ¶
type NetConf struct { types.NetConf Name string `json:"name"` If0name string `json:"if0name,omitempty"` // Interface name HostConf UserSpaceConf `json:"host,omitempty"` ContainerConf UserSpaceConf `json:"container,omitempty"` }
type UserSpaceConf ¶
type UserSpaceConf struct { // The Container Instance will default to the Host Instance value if a given attribute // is not provided. However, they are not required to be the same and a Container // attribute can be provided to override. All values are listed as 'omitempty' to // allow the Container struct to be empty where desired. Engine string `json:"engine,omitempty"` // CNI Implementation {vpp|ovs|ovs-dpdk|linux} IfType string `json:"iftype,omitempty"` // Type of interface {memif|vhostuser|veth|tap} NetType string `json:"netType,omitempty"` // Interface network type {none|bridge|interface} MemifConf MemifConf `json:"memif,omitempty"` VhostConf VhostConf `json:"vhost,omitempty"` BridgeConf BridgeConf `json:"bridge,omitempty"` }
type UsrSpCni ¶
type UsrSpCni interface { AddOnHost(conf *NetConf, containerID string, ipResult *current.Result) error AddOnContainer(conf *NetConf, containerID string, ipResult *current.Result) error DelFromHost(conf *NetConf, containerID string) error DelFromContainer(conf *NetConf, containerID string) error }
Exported Types
Click to show internal directories.
Click to hide internal directories.