mirror of https://github.com/docker/docs.git
Update dockerclient to support network create `--internal` flag.
Signed-off-by: Dong Chen <dongluo.chen@docker.com>
This commit is contained in:
parent
8aff2084b7
commit
77b4f98b3b
|
@ -167,7 +167,7 @@
|
|||
},
|
||||
{
|
||||
"ImportPath": "github.com/samalba/dockerclient",
|
||||
"Rev": "154a327e7f551978278530db4771e2f05376b541"
|
||||
"Rev": "b5aaea9adc8168fe8ce00731d3025ffbfb389c87"
|
||||
},
|
||||
{
|
||||
"ImportPath": "github.com/samuel/go-zookeeper/zk",
|
||||
|
|
|
@ -237,7 +237,6 @@ type ContainerInfo struct {
|
|||
Bridge string
|
||||
Ports map[string][]PortBinding
|
||||
Networks map[string]*EndpointSettings
|
||||
|
||||
}
|
||||
SysInitPath string
|
||||
ResolvConfPath string
|
||||
|
@ -546,11 +545,12 @@ type EndpointIPAMConfig struct {
|
|||
|
||||
// NetworkResource is the body of the "get network" http response message
|
||||
type NetworkResource struct {
|
||||
Name string
|
||||
ID string `json:"Id"`
|
||||
Scope string
|
||||
Driver string
|
||||
IPAM IPAM
|
||||
Name string
|
||||
ID string `json:"Id"`
|
||||
Scope string
|
||||
Driver string
|
||||
IPAM IPAM
|
||||
//Internal bool
|
||||
Containers map[string]EndpointResource
|
||||
Options map[string]string
|
||||
}
|
||||
|
@ -570,6 +570,7 @@ type NetworkCreate struct {
|
|||
CheckDuplicate bool
|
||||
Driver string
|
||||
IPAM IPAM
|
||||
Internal bool
|
||||
Options map[string]string
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue