migration

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2019 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

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) error

func MultipartMoveObj added in v0.5.3

func MultipartMoveObj(obj *osdss3.Object, srcLoca *LocationInfo, destLoca *LocationInfo) 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