replication

package
v1.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Task

type Task struct {
	PolicyID int64
}

Task is the task for triggering one replication

func NewTask

func NewTask(policyID int64) *Task

NewTask is constructor of creating ReplicationTask

func (*Task) Name

func (t *Task) Name() string

Name returns the name of this task

func (*Task) Run

func (t *Task) Run() error

Run the actions here

Jump to

Keyboard shortcuts

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