Documentation ¶
Overview ¶
Package 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 ImageMetadata = "image-metadata"
ImageMetadata allows custom image metadata to be recorded in state.
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 MAAS2 = "maas2"
maas2 enables experimental support for MAAS 2.0.
const Migration = "migration"
Migration enables the 'juju migrate' command.
const PostNetCLIMVP = "post-net-cli-mvp"
PostNetCLIMVP is used to indicate that additional networking commands will be available in addition to the networking MVP ones (space list|create, subnet list|add).
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.