github.com/cloudbase/juju-core@v0.0.0-20140504232958-a7271ac7912f/upgrades/operations.go (about)

     1  // Copyright 2014 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package upgrades
     5  
     6  import "launchpad.net/juju-core/version"
     7  
     8  // upgradeOperations returns an ordered slice of sets of operations needed
     9  // to upgrade Juju to particular version. The slice is ordered by target
    10  // version, so that the sets of operations are executed in order from oldest
    11  // version to most recent.
    12  var upgradeOperations = func() []Operation {
    13  	steps := []Operation{
    14  		upgradeToVersion{
    15  			version.MustParse("1.18.0"),
    16  			stepsFor118(),
    17  		},
    18  	}
    19  	return steps
    20  }