github.com/fntlnz/docker@v1.9.0-rc3/runconfig/config_windows.go (about)

     1  package runconfig
     2  
     3  // ContainerConfigWrapper is a Config wrapper that hold the container Config (portable)
     4  // and the corresponding HostConfig (non-portable).
     5  type ContainerConfigWrapper struct {
     6  	*Config
     7  	HostConfig *HostConfig `json:"HostConfig,omitempty"`
     8  }
     9  
    10  // getHostConfig gets the HostConfig of the Config.
    11  func (w *ContainerConfigWrapper) getHostConfig() *HostConfig {
    12  	return w.HostConfig
    13  }