type IfConfig struct {
IP gonet.IP `json:"ip,omitempty"`
IP6 gonet.IP `json:"ip6,omitempty"`
// these are "extensions" and only meaningful for default net HostIP gonet.IP `json:"hostIP,omitempty"`
HostIP6 gonet.IP `json:"hostIP6,omitempty"`
}
type Net struct {
Name string `json:"name,omitempty"`
Type string `json:"type,omitempty"`
IPAM struct {
Type string `json:"type,omitempty"`
} `json:"ipam,omitempty"`
}