migration

package
v0.6.2-Daito-RC1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2019 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const WT_DELETE = 4
View Source
const WT_DOWLOAD = 48
View Source
const WT_UPLOAD = 48

Variables

View Source
var JOB_RUN_TIME_MAX = 86400 //seconds, equals 1 day
View Source
var PART_SIZE int64 = 16 * 1024 * 1024 //The max object size that can be moved directly, default is 16M.

Functions

func HandleMsg

func HandleMsg(msgData []byte) error

func Init

func Init()

func MoveObj added in v0.5.3

func MoveObj(obj *osdss3.Object, srcLoca *LocationInfo, destLoca *LocationInfo, job *flowtype.Job) error

func MultipartMoveObj added in v0.5.3

func MultipartMoveObj(obj *osdss3.Object, srcLoca *LocationInfo, destLoca *LocationInfo, job *flowtype.Job) error

Types

type Migration

type Migration interface {
	Init()
	HandleMsg(msg string)
}

Jump to

Keyboard shortcuts

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