9ed4400baf
Signed-off-by: John Howard <jhoward@microsoft.com>
29 lines
596 B
Go
29 lines
596 B
Go
// +build daemon
|
|
|
|
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
apiserver "github.com/docker/docker/api/server"
|
|
"github.com/docker/docker/daemon"
|
|
)
|
|
|
|
func setPlatformServerConfig(serverConfig *apiserver.Config, daemonCfg *daemon.Config) *apiserver.Config {
|
|
return serverConfig
|
|
}
|
|
|
|
// currentUserIsOwner checks whether the current user is the owner of the given
|
|
// file.
|
|
func currentUserIsOwner(f string) bool {
|
|
return false
|
|
}
|
|
|
|
// setDefaultUmask doesn't do anything on windows
|
|
func setDefaultUmask() error {
|
|
return nil
|
|
}
|
|
|
|
func getDaemonConfDir() string {
|
|
return os.Getenv("PROGRAMDATA") + `\docker\config`
|
|
}
|