Documentation ¶
Overview ¶
Package migrationtarget defines the client side API facade for use by the migration master worker when communicating with the target controller.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // Import takes a serialized model and imports it into the target // controller. Import([]byte) error // Abort removes all data relating to a previously imported // model. Abort(string) error // Activate marks a migrated model as being ready to use. Activate(string) error }
Client describes the client side API for the MigrationTarget facade. It is called by the migration master worker to talk to the target controller during a migration.
Click to show internal directories.
Click to hide internal directories.