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.

Imports 35 package(s)

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

Test imports 9 package(s)

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