github.com/lazyboychen7/engine@v17.12.1-ce-rc2+incompatible/daemon/config/config_windows.go (about) 1 package config 2 3 import ( 4 "github.com/docker/docker/api/types" 5 ) 6 7 // BridgeConfig stores all the bridge driver specific 8 // configuration. 9 type BridgeConfig struct { 10 commonBridgeConfig 11 } 12 13 // Config defines the configuration of a docker daemon. 14 // These are the configuration settings that you pass 15 // to the docker daemon when you launch it with say: `dockerd -e windows` 16 type Config struct { 17 CommonConfig 18 19 // Fields below here are platform specific. (There are none presently 20 // for the Windows daemon.) 21 } 22 23 // GetRuntime returns the runtime path and arguments for a given 24 // runtime name 25 func (conf *Config) GetRuntime(name string) *types.Runtime { 26 return nil 27 } 28 29 // GetInitPath returns the configure docker-init path 30 func (conf *Config) GetInitPath() string { 31 return "" 32 } 33 34 // GetDefaultRuntimeName returns the current default runtime 35 func (conf *Config) GetDefaultRuntimeName() string { 36 return StockRuntimeName 37 } 38 39 // GetAllRuntimes returns a copy of the runtimes map 40 func (conf *Config) GetAllRuntimes() map[string]types.Runtime { 41 return map[string]types.Runtime{} 42 } 43 44 // GetExecRoot returns the user configured Exec-root 45 func (conf *Config) GetExecRoot() string { 46 return "" 47 } 48 49 // IsSwarmCompatible defines if swarm mode can be enabled in this config 50 func (conf *Config) IsSwarmCompatible() error { 51 return nil 52 } 53 54 // ValidatePlatformConfig checks if any platform-specific configuration settings are invalid. 55 func (conf *Config) ValidatePlatformConfig() error { 56 return nil 57 }