task

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UpdateDMMeta

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

UpdateDMMeta is used to maintain the DM meta information

func NewUpdateDMMeta

func NewUpdateDMMeta(cluster string, metadata *dmspec.Metadata, deletedNodesID []string) *UpdateDMMeta

NewUpdateDMMeta create i update dm meta task.

func (*UpdateDMMeta) Execute

func (u *UpdateDMMeta) Execute(ctx *task.Context) error

Execute implements the Task interface

func (*UpdateDMMeta) Rollback

func (u *UpdateDMMeta) Rollback(ctx *task.Context) error

Rollback implements the Task interface

func (*UpdateDMMeta) String

func (u *UpdateDMMeta) String() string

String implements the fmt.Stringer interface

Jump to

Keyboard shortcuts

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