Update dockerclient to support network create `--internal` flag.

Signed-off-by: Dong Chen <dongluo.chen@docker.com>
This commit is contained in:
Dong Chen 2016-02-02 17:55:15 -08:00
parent 8aff2084b7
commit 77b4f98b3b
2 changed files with 8 additions and 7 deletions

2
Godeps/Godeps.json generated
View File

@ -167,7 +167,7 @@
},
{
"ImportPath": "github.com/samalba/dockerclient",
"Rev": "154a327e7f551978278530db4771e2f05376b541"
"Rev": "b5aaea9adc8168fe8ce00731d3025ffbfb389c87"
},
{
"ImportPath": "github.com/samuel/go-zookeeper/zk",

View File

@ -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
}