github.com/cloudbase/juju-core@v0.0.0-20140504232958-a7271ac7912f/juju/osenv/vars.go (about) 1 // Copyright 2013 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package osenv 5 6 import ( 7 "path" 8 ) 9 10 const ( 11 JujuEnvEnvKey = "JUJU_ENV" 12 JujuHomeEnvKey = "JUJU_HOME" 13 JujuRepositoryEnvKey = "JUJU_REPOSITORY" 14 JujuLoggingConfigEnvKey = "JUJU_LOGGING_CONFIG" 15 // TODO(thumper): 2013-09-02 bug 1219630 16 // As much as I'd like to remove JujuContainerType now, it is still 17 // needed as MAAS still needs it at this stage, and we can't fix 18 // everything at once. 19 JujuContainerTypeEnvKey = "JUJU_CONTAINER_TYPE" 20 ) 21 22 var ( 23 WinBaseDir = "C:/Juju" 24 WinTempDir = path.Join(WinBaseDir, "tmp") 25 WinLibDir = path.Join(WinBaseDir, "lib") 26 WinLogDir = path.Join(WinBaseDir, "log") 27 WinDataDir = path.Join(WinLibDir, "juju") 28 WinBinDir = path.Join(WinBaseDir, "bin") 29 )