migrationminion

package
v0.0.0-...-1592773 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2025 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WithTracer = base.WithTracer

WithTracer returns an Option that configures the Client to use the supplied tracer.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(caller base.APICaller, options ...Option) *Client

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

func (*Client) Report

func (c *Client) Report(ctx context.Context, 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.

type Option

type Option = base.Option

Option is a function that can be used to configure a Client.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL