github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/upgrades/doc.go (about)

     1  // Copyright 2014 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  // Package upgrades 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  //
    10  //	PerformUpgrade, which is invoked on each node by the machine agent with:
    11  //	  fromVersion - the Juju version from which the upgrade is occurring
    12  //	  target      - the type of Juju node being upgraded
    13  //	  context     - provides API access to Juju controllers
    14  package upgrades