top

The featureflag package gives other parts of Juju the ability to easily check to see if a feature flag has been defined. Feature flags give the Juju developers a way to add new commands or features to Juju but hide them from the general user-base while things are still in development.

Feature flags are defined through environment variables, and the value is comma separated.

# this defines two flags: "special" and "magic"
export JUJU_SOME_ENV_VAR=special,magic

The feature flags should be read and identified at program initialisation time using an init function. This function should call the `SetFlagsFromEnvironment` or the `SetFlagsFromRegistry` function.

Imported by 372 package(s)

  1. github.com/Altoros/juju-cloudsigma/apiserver/common
  2. github.com/Altoros/juju-cloudsigma/cloudconfig
  3. github.com/Altoros/juju-cloudsigma/cmd/juju/backups
  4. github.com/Altoros/juju-cloudsigma/cmd/juju/commands
  5. github.com/Altoros/juju-cloudsigma/cmd/juju/environment
  6. github.com/Altoros/juju-cloudsigma/cmd/juju/space
  7. github.com/Altoros/juju-cloudsigma/cmd/juju/subnet
  8. github.com/Altoros/juju-cloudsigma/cmd/jujud
  9. github.com/Altoros/juju-cloudsigma/cmd/jujud/agent
  10. github.com/Altoros/juju-cloudsigma/environs
  11. github.com/Altoros/juju-cloudsigma/environs/configstore
  12. github.com/Altoros/juju-cloudsigma/feature
  13. github.com/Altoros/juju-cloudsigma/juju/osenv
  14. github.com/Altoros/juju-cloudsigma/service
  15. github.com/Altoros/juju-cloudsigma/testing
  16. github.com/Altoros/juju-cloudsigma/utils
  17. github.com/Altoros/juju-cloudsigma/worker/rsyslog
  18. github.com/Altoros/juju-vmware/apiserver/client
  19. github.com/Altoros/juju-vmware/apiserver/common
  20. github.com/Altoros/juju-vmware/cmd/juju
  21. github.com/Altoros/juju-vmware/cmd/juju/machine
  22. github.com/Altoros/juju-vmware/cmd/jujud
  23. github.com/Altoros/juju-vmware/cmd/jujud/agent
  24. github.com/Altoros/juju-vmware/juju/osenv
  25. github.com/Altoros/juju-vmware/state
  26. github.com/Altoros/juju-vmware/testing
  27. github.com/Altoros/juju-vmware/utils
  28. github.com/Altoros/juju-vmware/worker/uniter/hook
  29. github.com/Altoros/juju-vmware/worker/uniter/runner/jujuc
  30. github.com/alesstimec/juju/apiserver/common
  31. github.com/alesstimec/juju/cloudconfig
  32. github.com/alesstimec/juju/cmd/juju/commands
  33. github.com/alesstimec/juju/cmd/jujud
  34. github.com/alesstimec/juju/cmd/jujud/agent
  35. github.com/alesstimec/juju/juju/osenv
  36. github.com/alesstimec/juju/service
  37. github.com/alesstimec/juju/testing
  38. github.com/alesstimec/juju/worker/provisioner
  39. github.com/axw/juju/cloudconfig
  40. github.com/axw/juju/service
  41. github.com/axw/juju/testing
  42. github.com/aznashwan/juju/apiserver
  43. github.com/aznashwan/juju/apiserver/common
  44. github.com/aznashwan/juju/cmd/juju
  45. github.com/aznashwan/juju/cmd/juju/environment
  46. github.com/aznashwan/juju/cmd/jujud
  47. github.com/aznashwan/juju/cmd/jujud/agent
  48. github.com/aznashwan/juju/environs
  49. github.com/aznashwan/juju/environs/configstore
  50. github.com/aznashwan/juju/juju/osenv
  51. github.com/aznashwan/juju/service
  52. github.com/aznashwan/juju/testing
  53. github.com/aznashwan/juju/utils
  54. github.com/binary132/juju/apiserver
  55. github.com/binary132/juju/apiserver/client
  56. github.com/binary132/juju/apiserver/common
  57. github.com/binary132/juju/cmd/juju
  58. github.com/binary132/juju/cmd/juju/environment
  59. github.com/binary132/juju/cmd/juju/machine
  60. github.com/binary132/juju/cmd/jujud
  61. github.com/binary132/juju/cmd/jujud/agent
  62. github.com/binary132/juju/environs
  63. github.com/binary132/juju/environs/configstore
  64. github.com/binary132/juju/juju/osenv
  65. github.com/binary132/juju/service
  66. github.com/binary132/juju/state
  67. github.com/binary132/juju/testing
  68. github.com/binary132/juju/upgrades
  69. github.com/binary132/juju/utils
  70. github.com/binary132/juju/worker/uniter/hook
  71. github.com/binary132/juju/worker/uniter/runner/jujuc
  72. github.com/bogdanteleaga/juju/apiserver/common
  73. github.com/bogdanteleaga/juju/cloudconfig
  74. github.com/bogdanteleaga/juju/cmd/juju/commands
  75. github.com/bogdanteleaga/juju/cmd/jujud
  76. github.com/bogdanteleaga/juju/cmd/jujud/agent
  77. github.com/bogdanteleaga/juju/environs
  78. github.com/bogdanteleaga/juju/juju/osenv
  79. github.com/bogdanteleaga/juju/provider/maas
  80. github.com/bogdanteleaga/juju/service
  81. github.com/bogdanteleaga/juju/testing
  82. github.com/bogdanteleaga/juju/worker/provisioner
  83. github.com/cloud-green/juju/cloudconfig
  84. github.com/cloud-green/juju/environs
  85. github.com/cloud-green/juju/feature
  86. github.com/cloud-green/juju/service
  87. github.com/cloud-green/juju/testing
  88. github.com/cloud-green/juju/utils
  89. github.com/cmars/juju/apiserver/client
  90. github.com/cmars/juju/apiserver/common
  91. github.com/cmars/juju/cmd/juju
  92. github.com/cmars/juju/cmd/juju/environment
  93. github.com/cmars/juju/cmd/juju/machine
  94. github.com/cmars/juju/cmd/jujud
  95. github.com/cmars/juju/cmd/jujud/agent
  96. github.com/cmars/juju/environs
  97. github.com/cmars/juju/juju/osenv
  98. github.com/cmars/juju/service
  99. github.com/cmars/juju/state
  100. github.com/cmars/juju/testing
  101. github.com/cmars/juju/upgrades
  102. github.com/cmars/juju/utils
  103. github.com/cmars/juju/worker/uniter/hook
  104. github.com/cmars/juju/worker/uniter/runner/jujuc
  105. github.com/dimitern/juju/apiserver/facade
  106. github.com/dimitern/juju/cloudconfig
  107. github.com/dimitern/juju/cloudconfig/cloudinit
  108. github.com/dimitern/juju/cmd/juju/commands
  109. github.com/dimitern/juju/cmd/jujud
  110. github.com/dimitern/juju/cmd/jujud/agent
  111. github.com/dimitern/juju/juju/osenv
  112. github.com/dimitern/juju/provider/manual
  113. github.com/dimitern/juju/service
  114. github.com/dimitern/juju/testing
  115. github.com/dimitern/juju/worker/provisioner
  116. github.com/dooferlad/juju/apiserver/common
  117. github.com/dooferlad/juju/cloudconfig
  118. github.com/dooferlad/juju/cmd/juju/commands
  119. github.com/dooferlad/juju/cmd/jujud
  120. github.com/dooferlad/juju/cmd/jujud/agent
  121. github.com/dooferlad/juju/juju/osenv
  122. github.com/dooferlad/juju/service
  123. github.com/dooferlad/juju/testing
  124. github.com/dooferlad/juju/worker/provisioner
  125. github.com/ericsnowcurrently/juju/cloudconfig
  126. github.com/ericsnowcurrently/juju/service
  127. github.com/ericsnowcurrently/juju/testing
  128. github.com/exekias/juju/apiserver/common
  129. github.com/exekias/juju/cloudconfig
  130. github.com/exekias/juju/cmd/juju/commands
  131. github.com/exekias/juju/cmd/juju/space
  132. github.com/exekias/juju/cmd/juju/subnet
  133. github.com/exekias/juju/cmd/jujud
  134. github.com/exekias/juju/cmd/jujud/agent
  135. github.com/exekias/juju/environs
  136. github.com/exekias/juju/juju/osenv
  137. github.com/exekias/juju/service
  138. github.com/exekias/juju/testing
  139. github.com/exekias/juju/worker/provisioner
  140. github.com/frankban/juju-tmp/cloudconfig
  141. github.com/frankban/juju-tmp/environs
  142. github.com/frankban/juju-tmp/feature
  143. github.com/frankban/juju-tmp/service
  144. github.com/frankban/juju-tmp/testing
  145. github.com/frankban/juju-tmp/utils
  146. github.com/frankban/juju/cloudconfig
  147. github.com/frankban/juju/service
  148. github.com/frankban/juju/testing
  149. github.com/gabriel-samfira/juju/apiserver/common
  150. github.com/gabriel-samfira/juju/apiserver/facade
  151. github.com/gabriel-samfira/juju/cloudconfig
  152. github.com/gabriel-samfira/juju/cmd/juju/backups
  153. github.com/gabriel-samfira/juju/cmd/juju/commands
  154. github.com/gabriel-samfira/juju/cmd/juju/environment
  155. github.com/gabriel-samfira/juju/cmd/juju/space
  156. github.com/gabriel-samfira/juju/cmd/juju/subnet
  157. github.com/gabriel-samfira/juju/cmd/jujud
  158. github.com/gabriel-samfira/juju/cmd/jujud/agent
  159. github.com/gabriel-samfira/juju/environs
  160. github.com/gabriel-samfira/juju/environs/configstore
  161. github.com/gabriel-samfira/juju/feature
  162. github.com/gabriel-samfira/juju/juju/osenv
  163. github.com/gabriel-samfira/juju/service
  164. github.com/gabriel-samfira/juju/testing
  165. github.com/gabriel-samfira/juju/utils
  166. github.com/gabriel-samfira/juju/worker/rsyslog
  167. github.com/hoenirvili/juju/cloudconfig
  168. github.com/hoenirvili/juju/service
  169. github.com/hoenirvili/juju/testing
  170. github.com/howbazaar/juju/apiserver/facade
  171. github.com/howbazaar/juju/cloudconfig
  172. github.com/howbazaar/juju/cmd/juju/commands
  173. github.com/howbazaar/juju/cmd/jujud
  174. github.com/howbazaar/juju/cmd/jujud/agent
  175. github.com/howbazaar/juju/juju/osenv
  176. github.com/howbazaar/juju/service
  177. github.com/howbazaar/juju/testing
  178. github.com/howbazaar/juju/worker/provisioner
  179. github.com/juju/juju/apiserver/facade
  180. github.com/juju/juju/cloudconfig
  181. github.com/juju/juju/cloudconfig/cloudinit
  182. github.com/juju/juju/cmd/juju/commands
  183. github.com/juju/juju/cmd/jujud
  184. github.com/juju/juju/cmd/jujud/agent
  185. github.com/juju/juju/juju/osenv
  186. github.com/juju/juju/provider/manual
  187. github.com/juju/juju/service
  188. github.com/juju/juju/testing
  189. github.com/juju/juju/worker/provisioner
  190. github.com/kat-co/juju/apiserver/common
  191. github.com/kat-co/juju/apiserver/facade
  192. github.com/kat-co/juju/cloudconfig
  193. github.com/kat-co/juju/cloudconfig/cloudinit
  194. github.com/kat-co/juju/cmd/juju/commands
  195. github.com/kat-co/juju/cmd/juju/environment
  196. github.com/kat-co/juju/cmd/jujud
  197. github.com/kat-co/juju/cmd/jujud/agent
  198. github.com/kat-co/juju/environs
  199. github.com/kat-co/juju/environs/configstore
  200. github.com/kat-co/juju/feature
  201. github.com/kat-co/juju/juju/osenv
  202. github.com/kat-co/juju/provider/manual
  203. github.com/kat-co/juju/service
  204. github.com/kat-co/juju/testing
  205. github.com/kat-co/juju/utils
  206. github.com/katco-/juju/upgrades
  207. github.com/lingo-reviews/juju/cloudconfig
  208. github.com/lingo-reviews/juju/environs
  209. github.com/lingo-reviews/juju/feature
  210. github.com/lingo-reviews/juju/service
  211. github.com/lingo-reviews/juju/testing
  212. github.com/lingo-reviews/juju/utils
  213. github.com/makyo/juju/apiserver/common
  214. github.com/makyo/juju/cloudconfig
  215. github.com/makyo/juju/cmd/juju/commands
  216. github.com/makyo/juju/cmd/jujud
  217. github.com/makyo/juju/cmd/jujud/agent
  218. github.com/makyo/juju/environs
  219. github.com/makyo/juju/juju/osenv
  220. github.com/makyo/juju/provider/maas
  221. github.com/makyo/juju/service
  222. github.com/makyo/juju/testing
  223. github.com/makyo/juju/worker/provisioner
  224. github.com/mbruzek/juju/cloudconfig
  225. github.com/mbruzek/juju/service
  226. github.com/mbruzek/juju/testing
  227. github.com/mhilton/juju/cloudconfig
  228. github.com/mhilton/juju/environs
  229. github.com/mhilton/juju/feature
  230. github.com/mhilton/juju/service
  231. github.com/mhilton/juju/testing
  232. github.com/mhilton/juju/utils
  233. github.com/mwhudson/juju/cloudconfig
  234. github.com/mwhudson/juju/environs
  235. github.com/mwhudson/juju/service
  236. github.com/mwhudson/juju/testing
  237. github.com/natefinch/juju/cloudconfig
  238. github.com/natefinch/juju/cloudconfig/cloudinit
  239. github.com/natefinch/juju/cmd/juju/commands
  240. github.com/natefinch/juju/cmd/jujud
  241. github.com/natefinch/juju/cmd/jujud/agent
  242. github.com/natefinch/juju/environs/configstore
  243. github.com/natefinch/juju/juju/osenv
  244. github.com/natefinch/juju/provider/manual
  245. github.com/natefinch/juju/service
  246. github.com/natefinch/juju/testing
  247. github.com/natefinch/juju/utils
  248. github.com/natefinch/juju/worker/provisioner
  249. github.com/natefinch/juju/worker/rsyslog
  250. github.com/niedbalski/juju/apiserver/facade
  251. github.com/niedbalski/juju/cloudconfig
  252. github.com/niedbalski/juju/cmd/juju/commands
  253. github.com/niedbalski/juju/cmd/jujud
  254. github.com/niedbalski/juju/cmd/jujud/agent
  255. github.com/niedbalski/juju/juju/osenv
  256. github.com/niedbalski/juju/service
  257. github.com/niedbalski/juju/testing
  258. github.com/niedbalski/juju/worker/provisioner
  259. github.com/perrito666/juju/cloudconfig
  260. github.com/perrito666/juju/service
  261. github.com/perrito666/juju/testing
  262. github.com/stgraber/juju/apiserver/facade
  263. github.com/stgraber/juju/cloudconfig
  264. github.com/stgraber/juju/cmd/juju/commands
  265. github.com/stgraber/juju/cmd/jujud
  266. github.com/stgraber/juju/cmd/jujud/agent
  267. github.com/stgraber/juju/cmd/plugins/juju-metadata
  268. github.com/stgraber/juju/juju/osenv
  269. github.com/stgraber/juju/service
  270. github.com/stgraber/juju/testing
  271. github.com/stgraber/juju/worker/provisioner
  272. github.com/tasdomas/juju/apiserver/common
  273. github.com/tasdomas/juju/cloudconfig
  274. github.com/tasdomas/juju/cmd/juju/commands
  275. github.com/tasdomas/juju/cmd/juju/environment
  276. github.com/tasdomas/juju/cmd/jujud
  277. github.com/tasdomas/juju/cmd/jujud/agent
  278. github.com/tasdomas/juju/environs
  279. github.com/tasdomas/juju/environs/configstore
  280. github.com/tasdomas/juju/feature
  281. github.com/tasdomas/juju/juju/osenv
  282. github.com/tasdomas/juju/service
  283. github.com/tasdomas/juju/testing
  284. github.com/tasdomas/juju/utils
  285. github.com/tych0/juju/apiserver/common
  286. github.com/tych0/juju/cloudconfig
  287. github.com/tych0/juju/cmd/juju/commands
  288. github.com/tych0/juju/cmd/juju/environment
  289. github.com/tych0/juju/cmd/jujud
  290. github.com/tych0/juju/cmd/jujud/agent
  291. github.com/tych0/juju/environs
  292. github.com/tych0/juju/environs/configstore
  293. github.com/tych0/juju/feature
  294. github.com/tych0/juju/juju/osenv
  295. github.com/tych0/juju/service
  296. github.com/tych0/juju/testing
  297. github.com/tych0/juju/utils
  298. github.com/waigani/juju/cloudconfig
  299. github.com/waigani/juju/environs
  300. github.com/waigani/juju/service
  301. github.com/waigani/juju/testing
  302. github.com/wallyworld/juju-snap/apiserver/facade
  303. github.com/wallyworld/juju-snap/cloudconfig
  304. github.com/wallyworld/juju-snap/juju/osenv
  305. github.com/wallyworld/juju-snap/service
  306. github.com/wallyworld/juju-snap/testing
  307. github.com/wallyworld/juju-snap/worker/provisioner
  308. github.com/wallyworld/juju/apiserver/facade
  309. github.com/wallyworld/juju/cloudconfig
  310. github.com/wallyworld/juju/cloudconfig/cloudinit
  311. github.com/wallyworld/juju/cmd/juju/commands
  312. github.com/wallyworld/juju/cmd/jujud
  313. github.com/wallyworld/juju/cmd/jujud/agent
  314. github.com/wallyworld/juju/juju/osenv
  315. github.com/wallyworld/juju/provider/manual
  316. github.com/wallyworld/juju/service
  317. github.com/wallyworld/juju/testing
  318. github.com/wallyworld/juju/worker/provisioner
  319. gopkg.in/natefinch/juju.v0/apiserver
  320. gopkg.in/natefinch/juju.v0/apiserver/common
  321. gopkg.in/natefinch/juju.v0/cmd/juju
  322. gopkg.in/natefinch/juju.v0/cmd/juju/environment
  323. gopkg.in/natefinch/juju.v0/cmd/jujud
  324. gopkg.in/natefinch/juju.v0/cmd/jujud/agent
  325. gopkg.in/natefinch/juju.v0/environs
  326. gopkg.in/natefinch/juju.v0/environs/configstore
  327. gopkg.in/natefinch/juju.v0/juju/osenv
  328. gopkg.in/natefinch/juju.v0/service
  329. gopkg.in/natefinch/juju.v0/testing
  330. gopkg.in/natefinch/juju.v0/utils
  331. gopkg.in/natefinch/juju.v1/apiserver
  332. gopkg.in/natefinch/juju.v1/apiserver/common
  333. gopkg.in/natefinch/juju.v1/cmd/juju
  334. gopkg.in/natefinch/juju.v1/cmd/juju/environment
  335. gopkg.in/natefinch/juju.v1/cmd/jujud
  336. gopkg.in/natefinch/juju.v1/cmd/jujud/agent
  337. gopkg.in/natefinch/juju.v1/environs
  338. gopkg.in/natefinch/juju.v1/environs/configstore
  339. gopkg.in/natefinch/juju.v1/juju/osenv
  340. gopkg.in/natefinch/juju.v1/service
  341. gopkg.in/natefinch/juju.v1/testing
  342. gopkg.in/natefinch/juju.v1/utils
  343. gopkg.in/natefinch/juju.v2/apiserver
  344. gopkg.in/natefinch/juju.v2/apiserver/common
  345. gopkg.in/natefinch/juju.v2/cmd/juju
  346. gopkg.in/natefinch/juju.v2/cmd/juju/environment
  347. gopkg.in/natefinch/juju.v2/cmd/jujud
  348. gopkg.in/natefinch/juju.v2/cmd/jujud/agent
  349. gopkg.in/natefinch/juju.v2/environs
  350. gopkg.in/natefinch/juju.v2/environs/configstore
  351. gopkg.in/natefinch/juju.v2/juju/osenv
  352. gopkg.in/natefinch/juju.v2/service
  353. gopkg.in/natefinch/juju.v2/testing
  354. gopkg.in/natefinch/juju.v2/utils
  355. gopkg.in/natefinch/juju.v3/apiserver
  356. gopkg.in/natefinch/juju.v3/apiserver/common
  357. gopkg.in/natefinch/juju.v3/cmd/juju
  358. gopkg.in/natefinch/juju.v3/cmd/juju/environment
  359. gopkg.in/natefinch/juju.v3/cmd/jujud
  360. gopkg.in/natefinch/juju.v3/cmd/jujud/agent
  361. gopkg.in/natefinch/juju.v3/environs
  362. gopkg.in/natefinch/juju.v3/environs/configstore
  363. gopkg.in/natefinch/juju.v3/juju/osenv
  364. gopkg.in/natefinch/juju.v3/service
  365. gopkg.in/natefinch/juju.v3/testing
  366. gopkg.in/natefinch/juju.v3/utils
  367. launchpad.net/juju-core/cmd/jujud
  368. launchpad.net/juju-core/environs
  369. launchpad.net/juju-core/juju/osenv
  370. launchpad.net/juju-core/testing
  371. launchpad.net/juju-core/worker/provisioner
  372. launchpad.net/juju-core/worker/rsyslog

Imported only in test by 52 package(s)

  1. github.com/Altoros/juju-cloudsigma/worker/provisioner
  2. github.com/Altoros/juju-vmware/worker/uniter/runner
  3. github.com/alesstimec/juju/cmd/juju/space
  4. github.com/alesstimec/juju/cmd/juju/subnet
  5. github.com/aznashwan/utils/featureflag
  6. github.com/binary132/juju/storage/poolmanager
  7. github.com/binary132/juju/worker/uniter
  8. github.com/binary132/juju/worker/uniter/runner
  9. github.com/bogdanteleaga/juju/cmd/juju/space
  10. github.com/bogdanteleaga/juju/cmd/juju/subnet
  11. github.com/cmars/juju/storage/poolmanager
  12. github.com/cmars/juju/worker/uniter
  13. github.com/cmars/juju/worker/uniter/runner
  14. github.com/dimitern/juju/cmd/juju/space
  15. github.com/dimitern/juju/cmd/juju/subnet
  16. github.com/dimitern/utils/featureflag
  17. github.com/dooferlad/juju-utils/featureflag
  18. github.com/dooferlad/juju/cmd/juju/space
  19. github.com/dooferlad/juju/cmd/juju/subnet
  20. github.com/ericsnowcurrently/juju-utils/featureflag
  21. github.com/frankban/juju-utils/featureflag
  22. github.com/gabriel-samfira/juju/worker/provisioner
  23. github.com/hoenirvili/utils/featureflag
  24. github.com/howbazaar/juju/cmd/juju/space
  25. github.com/howbazaar/juju/cmd/juju/subnet
  26. github.com/juju/juju/cmd/juju/space
  27. github.com/juju/juju/cmd/juju/subnet
  28. github.com/kat-co/juju/cmd/juju/space
  29. github.com/kat-co/juju/cmd/juju/subnet
  30. github.com/kat-co/juju/worker/provisioner
  31. github.com/kat-co/utils/featureflag
  32. github.com/makyo/juju/cmd/juju/space
  33. github.com/makyo/juju/cmd/juju/subnet
  34. github.com/mhilton/juju-utils/featureflag
  35. github.com/mhilton/utils/featureflag
  36. github.com/natefinch/juju/cmd/juju/space
  37. github.com/natefinch/juju/cmd/juju/subnet
  38. github.com/niedbalski/juju/cmd/juju/space
  39. github.com/niedbalski/juju/cmd/juju/subnet
  40. github.com/rogpeppe/juju-utils/featureflag
  41. github.com/stgraber/juju/cmd/juju/space
  42. github.com/stgraber/juju/cmd/juju/subnet
  43. github.com/tasdomas/juju/worker/provisioner
  44. github.com/tasdomas/utils/featureflag
  45. github.com/tych0/juju-utils/featureflag
  46. github.com/tych0/juju/worker/provisioner
  47. github.com/wallyworld/juju/cmd/juju/space
  48. github.com/wallyworld/juju/cmd/juju/subnet
  49. gopkg.in/natefinch/juju.v0/worker/provisioner
  50. gopkg.in/natefinch/juju.v1/worker/provisioner
  51. gopkg.in/natefinch/juju.v2/worker/provisioner
  52. gopkg.in/natefinch/juju.v3/worker/provisioner

Imports 2 package(s)

  1. github.com/juju/loggo
  2. github.com/juju/utils/set

Test imports 4 package(s)

  1. github.com/juju/testing
  2. github.com/juju/testing/checkers
  3. gopkg.in/check.v1
  4. github.com/gabriel-samfira/sys/windows/registry