2015-05-15 19:34:26 -04:00
|
|
|
// +build daemon
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2015-07-30 15:39:19 -04:00
|
|
|
"os"
|
|
|
|
|
2015-05-15 19:34:26 -04:00
|
|
|
apiserver "github.com/docker/docker/api/server"
|
|
|
|
"github.com/docker/docker/daemon"
|
|
|
|
)
|
|
|
|
|
2015-07-21 01:15:44 -04:00
|
|
|
func setPlatformServerConfig(serverConfig *apiserver.Config, daemonCfg *daemon.Config) *apiserver.Config {
|
2015-05-15 19:34:26 -04:00
|
|
|
return serverConfig
|
|
|
|
}
|
|
|
|
|
|
|
|
// currentUserIsOwner checks whether the current user is the owner of the given
|
|
|
|
// file.
|
|
|
|
func currentUserIsOwner(f string) bool {
|
|
|
|
return false
|
|
|
|
}
|
2015-06-15 09:36:19 -04:00
|
|
|
|
|
|
|
// setDefaultUmask doesn't do anything on windows
|
|
|
|
func setDefaultUmask() error {
|
|
|
|
return nil
|
|
|
|
}
|
2015-07-30 15:39:19 -04:00
|
|
|
|
|
|
|
func getDaemonConfDir() string {
|
|
|
|
return os.Getenv("PROGRAMDATA") + `\docker\config`
|
|
|
|
}
|
2015-09-23 19:42:08 -04:00
|
|
|
|
|
|
|
// notifySystem sends a message to the host when the server is ready to be used
|
|
|
|
func notifySystem() {
|
|
|
|
}
|