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

     1  // +build daemon
     2  
     3  package main
     4  
     5  import (
     6  	"os"
     7  
     8  	apiserver "github.com/docker/docker/api/server"
     9  	"github.com/docker/docker/daemon"
    10  )
    11  
    12  func setPlatformServerConfig(serverConfig *apiserver.Config, daemonCfg *daemon.Config) *apiserver.Config {
    13  	return serverConfig
    14  }
    15  
    16  // currentUserIsOwner checks whether the current user is the owner of the given
    17  // file.
    18  func currentUserIsOwner(f string) bool {
    19  	return false
    20  }
    21  
    22  // setDefaultUmask doesn't do anything on windows
    23  func setDefaultUmask() error {
    24  	return nil
    25  }
    26  
    27  func getDaemonConfDir() string {
    28  	return os.Getenv("PROGRAMDATA") + `\docker\config`
    29  }
    30  
    31  // notifySystem sends a message to the host when the server is ready to be used
    32  func notifySystem() {
    33  }