Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(caller base.APICaller) *Client

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

func (*Client) Report

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

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

Source Files