зеркало из https://github.com/microsoft/docker.git
19 строки
291 B
Go
19 строки
291 B
Go
|
package api
|
||
|
|
||
|
import (
|
||
|
"github.com/dotcloud/docker/nat"
|
||
|
"github.com/dotcloud/docker/runconfig"
|
||
|
)
|
||
|
|
||
|
type Container struct {
|
||
|
Config runconfig.Config
|
||
|
HostConfig runconfig.HostConfig
|
||
|
State struct {
|
||
|
Running bool
|
||
|
ExitCode int
|
||
|
}
|
||
|
NetworkSettings struct {
|
||
|
Ports nat.PortMap
|
||
|
}
|
||
|
}
|