top

The upgrades package provides infrastructure to upgrade previous Juju deployments to the current Juju version. The upgrade is performed on a per node basis, across all of the running Juju machines.

Important exported APIs include:

PerformUpgrade, which is invoked on each node by the machine agent with:
  fromVersion - the Juju version from which the upgrade is occurring
  target      - the type of Juju node being upgraded
  context     - provides API access to Juju state servers

Imports 31 package(s)

  1. github.com/juju/juju/api/block
  2. github.com/juju/juju/environs/simplestreams
  3. github.com/juju/juju/environs/storage
  4. github.com/juju/juju/feature
  5. github.com/juju/juju/state/storage
  6. github.com/juju/utils/symlink
  7. gopkg.in/juju/charm.v4
  8. github.com/juju/juju/api
  9. github.com/juju/juju/environs
  10. github.com/juju/juju/tools
  11. github.com/juju/utils/apt
  12. github.com/juju/juju/state
  13. github.com/juju/utils
  14. github.com/juju/juju/state/multiwatcher
  15. github.com/juju/juju/state/utils
  16. github.com/juju/juju/utils/ssh
  17. github.com/juju/juju/api/keymanager
  18. github.com/juju/juju/environs/filestorage
  19. github.com/juju/juju/environs/tools
  20. github.com/juju/juju/mongo
  21. github.com/juju/juju/state/toolstorage
  22. github.com/juju/juju/storage/poolmanager
  23. github.com/juju/juju/version
  24. github.com/juju/utils/exec
  25. gopkg.in/mgo.v2/txn
  26. github.com/juju/loggo
  27. github.com/juju/utils/featureflag
  28. github.com/juju/errors
  29. github.com/juju/juju/agent
  30. github.com/juju/juju/environs/config
  31. github.com/juju/juju/provider

Test imports 16 package(s)

  1. github.com/juju/juju/juju/osenv
  2. github.com/juju/juju/provider/ec2
  3. github.com/juju/testing/checkers
  4. gopkg.in/check.v1
  5. github.com/juju/juju/testing
  6. github.com/juju/juju/juju
  7. github.com/juju/juju/testing/factory
  8. github.com/juju/names
  9. github.com/juju/juju/environs/testing
  10. github.com/juju/juju/instance
  11. gopkg.in/yaml.v1
  12. github.com/juju/juju/upgrades
  13. github.com/juju/juju/apiserver/params
  14. github.com/juju/juju/state/testing
  15. gopkg.in/mgo.v2
  16. github.com/juju/juju/juju/testing