import "github.com/juju/juju/api/upgrader"
type State struct {
// contains filtered or unexported fields
}
State provides access to an upgrader worker's view of the state.
NewState returns a version of the state that provides functionality required by the upgrader worker.
SetVersion sets the tools version associated with the entity with the given tag, which must be the tag of the entity that the upgrader is running on behalf of.
Tools returns the agent tools that should run on the given entity, along with a flag whether to disable SSL hostname verification.
Package upgrader imports 7 packages (graph) and is imported by 89 packages. Updated 2019-12-11. Refresh now. Tools for package owners.