github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/apiserver/facades/agent/migrationminion/backend.go (about) 1 // Copyright 2016 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package migrationminion 5 6 import "github.com/juju/juju/state" 7 8 // Backend defines the state functionality required by the 9 // MigrationMinion facade. 10 type Backend interface { 11 WatchMigrationStatus() state.NotifyWatcher 12 Migration(string) (state.ModelMigration, error) 13 }