package model import "time" type NetWorkJson struct { Name string `json:"Name"` Id string `json:"Id"` Created time.Time `json:"Created"` Scope string `json:"Scope"` Driver string `json:"Driver"` EnableIPv6 bool `json:"EnableIPv6"` IPAM IPAM `json:"IPAM"` Internal bool `json:"Internal"` Attachable bool `json:"Attachable"` Ingress bool `json:"Ingress"` ConfigFrom struct { Network string `json:"Network"` } `json:"ConfigFrom"` ConfigOnly bool `json:"ConfigOnly"` Containers struct { } `json:"Containers"` Options struct { } `json:"Options"` Labels struct { } `json:"Labels"` } type NetWork struct { Name string `json:"name"` Id string `json:"id"` Created string `json:"created"` Driver string `json:"driver"` IPAM []Config `json:"ipam"` } type Config struct { Subnet string `json:"subnet"` Gateway string `json:"gateway"` } type IPAM struct { Driver string `json:"Driver"` Options struct { Driver string `json:"driver"` } `json:"Options"` Config []struct { Subnet string `json:"Subnet"` Gateway string `json:"Gateway"` } `json:"Config"` } type NetworkInspect struct { Name string `json:"name"` Id string `json:"id"` Created string `json:"created"` Driver string `json:"driver"` Ipam Config `json:"ipam"` Containers []NetConnect `json:"containers"` } type NetConnect struct { Alias []string `json:"alias"` Name string `json:"name"` Id string `json:"id"` Gateway string `json:"gateway"` Ip string `json:"ip"` Mac string `json:"mac"` }