runconfig/config_windows.go
f6ed5905
 package runconfig
 
2bb3fc1b
 import (
 	"github.com/docker/engine-api/types/container"
 	networktypes "github.com/docker/engine-api/types/network"
 )
7ac4232e
 
34b82a69
 // ContainerConfigWrapper is a Config wrapper that holds the container Config (portable)
f6ed5905
 // and the corresponding HostConfig (non-portable).
 type ContainerConfigWrapper struct {
7ac4232e
 	*container.Config
2bb3fc1b
 	HostConfig       *container.HostConfig          `json:"HostConfig,omitempty"`
 	NetworkingConfig *networktypes.NetworkingConfig `json:"NetworkingConfig,omitempty"`
f6ed5905
 }
 
 // getHostConfig gets the HostConfig of the Config.
7ac4232e
 func (w *ContainerConfigWrapper) getHostConfig() *container.HostConfig {
f6ed5905
 	return w.HostConfig
 }