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
Types ¶
type Error ¶ added in v0.5.6
type IPConfig ¶
IPConfig contains values necessary to configure an interface
func (*IPConfig) MarshalJSON ¶
func (*IPConfig) UnmarshalJSON ¶
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.