github.com/wallyworld/juju@v0.0.0-20161013125918-6cf1bc9d917a/provider/interfaces.go (about) 1 // Copyright 2015 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package provider 5 6 import "github.com/juju/version" 7 8 // Upgradeable represents a provider that supports upgrade steps 9 // if present, these steps will get called upon upgrading. 10 type Upgradeable interface { 11 RunUpgradeStepsFor(version.Number) error 12 }