github.com/altoros/juju-vmware@v0.0.0-20150312064031-f19ae857ccca/feature/flags.go (about) 1 // Copyright 2015 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 // The feature package defines the names of the current feature flags. 5 package feature 6 7 // Actions is the name of the feature to enable action commands. 8 const Actions string = "action" 9 10 // MESS stands for Multi-Environment State Server and controls access 11 // to the apiserver endpoints, api client and CLI commands. 12 const MESS = "mess" 13 14 // Storage is the name of the feature to enable storage commands. 15 const Storage string = "storage" 16 17 // LogErrorStack is a developer feature flag to have the LoggedErrorStack 18 // function in the utils package write out the error stack as defined by the 19 // errors package to the logger. The ability to log the error stack is very 20 // useful in those error cases where you really don't expect there to be a 21 // failure. This means that the developers with this flag set will see the 22 // stack trace in the log output, but normal deployments never will. 23 const LogErrorStack = "log-error-stack"