top

The dummy provider implements an environment provider for testing purposes, registered with environs under the name "dummy".

The configuration YAML for the testing environment must specify a "controller" property with a boolean value. If this is true, a controller will be started when the environment is bootstrapped.

The configuration data also accepts a "broken" property of type boolean. If this is non-empty, any operation after the environment has been opened will return the error "broken environment", and will also log that.

The DNS name of instances is the same as the Id, with ".dns" appended.

To avoid enumerating all possible series and architectures, any series or architecture with the prefix "unknown" is treated as bad when starting a new instance.

Imports 29 package(s)

  1. github.com/juju/juju/cloud
  2. github.com/juju/juju/mongo
  3. github.com/juju/juju/agent
  4. github.com/juju/testing
  5. github.com/juju/juju/storage
  6. github.com/juju/testing/checkers
  7. github.com/juju/loggo
  8. github.com/juju/juju/cloudconfig/instancecfg
  9. github.com/juju/juju/network
  10. github.com/juju/juju/environs
  11. github.com/juju/juju/instance
  12. github.com/juju/names
  13. github.com/juju/juju/constraints
  14. github.com/juju/juju/tools
  15. github.com/juju/juju/storage/provider/registry
  16. github.com/juju/utils/arch
  17. github.com/juju/juju/api
  18. github.com/juju/schema
  19. github.com/juju/juju/state
  20. github.com/juju/juju/storage/provider/dummy
  21. github.com/juju/juju/status
  22. github.com/juju/juju/apiserver
  23. github.com/juju/juju/provider/common
  24. gopkg.in/juju/environschema.v1
  25. gopkg.in/check.v1
  26. github.com/juju/juju/state/multiwatcher
  27. github.com/juju/errors
  28. github.com/juju/juju/environs/config
  29. github.com/juju/juju/testing

Test imports 10 package(s)

  1. github.com/juju/juju/environs/jujutest
  2. github.com/juju/juju/feature
  3. github.com/juju/juju/provider/dummy
  4. github.com/juju/juju/environs/bootstrap
  5. github.com/juju/juju/juju/testing
  6. github.com/juju/juju/jujuclient/jujuclienttesting
  7. github.com/juju/juju/version
  8. github.com/juju/juju/environs/simplestreams/testing
  9. github.com/juju/juju/juju
  10. github.com/juju/juju/environs/testing