Documentation
¶
Overview ¶
The feature package defines the names of the current feature flags.
Index ¶
Constants ¶
const AddressAllocation = "address-allocation"
AddressAllocation is used to indicate that LXC and KVM containers on providers that support that (currently only MAAS and EC2) will use statically allocated IP addresses.
const CloudSigma = "cloudsigma"
CloudSigma enables the CloudSigma provider.
const DbLog = "db-log"
DbLog is the the feature which has Juju's logs go to MongoDB instead of to all-machines.log using rsyslog.
const EnvironmentsCacheFile = "env-cache"
EnvironmentsCacheFile is the feature flag that guards the writing of the new $JUJU_HOME/environments/cache.yaml file. If this flag is set, new environments will be written to the cache file rather than a JENV file. As JENV files are updated, they are migrated to the cache file and the JENV file removed.
const JES = "jes"
JES stands for Juju Environment Server and controls access to the apiserver endpoints, api client and CLI commands.
const LegacyUpstart = "legacy-upstart"
LegacyUpstart is used to indicate that the version-based init system discovery code (service.VersionInitSystem) should return upstart instead of systemd for vivid and newer.
const LogErrorStack = "log-error-stack"
LogErrorStack is a developer feature flag to have the LoggedErrorStack function in the utils package write out the error stack as defined by the errors package to the logger. The ability to log the error stack is very useful in those error cases where you really don't expect there to be a failure. This means that the developers with this flag set will see the stack trace in the log output, but normal deployments never will.
const VSphereProvider = "vsphere-provider"
VSphereProvider enables the generic vmware provider.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.