Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureIface ¶
ConfigureIface takes the result of IPAM plugin and applies to the ifName interface
func ExecDel ¶
ExecDel executes IPAM plugin, assuming CNI_COMMAND == DEL.
func Find ¶
Find returns the full path of the plugin by searching in CNI_PATH
Types ¶
type Error ¶ added in v0.5.6
type IPConfig ¶
IPConfig contains values necessary to configure an interface
type NetConf ¶
type NetConf struct { Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` IPAM struct { Type string `json:"type,omitempty"` } `json:"ipam,omitempty"` }
NetConf describes a network.
Click to show internal directories.
Click to hide internal directories.