juju: github.com/juju/juju/api/migrationminion Index | Files

package migrationminion

import "github.com/juju/juju/api/migrationminion"


Package Files


type Client Uses

type Client struct {
    // contains filtered or unexported fields

func NewClient Uses

func NewClient(caller base.APICaller) *Client

NewClient returns a new Client based on an existing API connection.

func (*Client) Report Uses

func (c *Client) Report(migrationId string, phase migration.Phase, success bool) error

Report allows a migration minion to report if it successfully completed its activities for a given migration phase.

func (*Client) Watch Uses

func (c *Client) Watch() (watcher.MigrationStatusWatcher, error)

Watch returns a watcher which reports when the status changes for the migration for the model associated with the API connection.

Package migrationminion imports 6 packages (graph) and is imported by 24 packages. Updated 2020-06-30. Refresh now. Tools for package owners.