launchpad.net/~rogpeppe/juju-core/500-errgo-fix@v0.0.0-20140213181702-000000002356/upgrades/doc.go (about)

     1  // Copyright 2014 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  // The upgrades package provides infrastructure to upgrade previous Juju
     5  // deployments to the current Juju version. The upgrade is performed on
     6  // a per node basis, across all of the running Juju machines.
     7  //
     8  // Important exported APIs include:
     9  //   PerformUpgrade, which is invoked on each node by the machine agent with:
    10  //     fromVersion - the Juju version from which the upgrade is occurring
    11  //     target      - the type of Juju node being upgraded
    12  //     context     - provides API access to Juju state servers
    13  //
    14  package upgrades