Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Error ¶
type IPConfig ¶
IPConfig contains values necessary to configure an interface
func (*IPConfig) MarshalJSON ¶
func (*IPConfig) UnmarshalJSON ¶
type IPNet ¶
like net.IPNet but adds JSON marshalling and unmarshalling
func (IPNet) MarshalJSON ¶
func (*IPNet) 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.