1
// The upgrades package provides infrastructure to upgrade previous Juju
2
// deployments to the current Juju version. The upgrade is performed on
3
// a per node basis, across all of the running Juju machines.
5
// Important exported APIs include:
6
// PerformUpgrade, which is invoked on each node by the machine agent with:
7
// fromVersion - the Juju version from which the upgrade is occurring
8
// target - the type of Juju node being upgraded
9
// context - provides API access to Juju state servers