Documentation
¶
Overview ¶
This package defines the API facade for use by the migration master worker when interacting with the target controller during a migration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API implements the API required for the model migration master worker when communicating with the target controller.
func NewAPI ¶
func NewAPI( st *state.State, resources *common.Resources, authorizer common.Authorizer, ) (*API, error)
NewAPI returns a new API.
func (*API) Abort ¶
Abort removes the specified model from the database. It is an error to attempt to Abort a model that has a migration mode other than importing.
Click to show internal directories.
Click to hide internal directories.