Documentation
¶
Overview ¶
Package feature package defines the names of the current feature flags.
Index ¶
Constants ¶
const ActionsV2 = "actions-v2"
ActionsV2 enables the next generation actions UX.
const AsynchronousCharmDownloads = "async-charm-downloads"
AsynchronousCharmDownloads enables support for asynchronous charm downloads.
const Branches = "branches"
Branches will allow for model branches functionality to be used.
const CharmAssumes = "charm-assumes"
CharmAssumes instructs Juju to process assumes expressions from charm metadata when attempting to deploy charms. In addition, it enables reporting of supported features as part of the 'juju show-model' output.
const DeveloperMode = "developer-mode"
DeveloperMode allows access to developer specific commands and behaviour.
const Generations = "generations"
Generations will allow for model generation functionality to be used. This is a deprecated flag name and is synonymous with "branches" above.
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 RaftAPILeases = "raft-api-leases"
RaftAPILeases will switch all lease store management transport, currently handled by Pubsub to facade API interaction.
const RaftBatchFSM = "raft-batch-fsm"
RaftBatchFSM will use the batching FSM instead of the singular FSM to attempt to commit logs.
const RawK8sSpec = "raw-k8s-spec"
RawK8sSpec indicates that it's allowed to set k8s spec using raw yaml format.
const Secrets = "secrets"
Secrets enables the secrets feature.
const StrictMigration = "strict-migration"
StrictMigration will cause migration to error if there are unexported values for annotations, status, status history, or settings.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.