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 34 package(s)

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

Test imports 14 package(s)

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