Documentation ¶
Index ¶
- Constants
- Variables
- func CopyObj(ctx context.Context, obj *osdss3.Object, destLoca *LocationInfo, ...) error
- func GetCtxTimeout(key string, min, max, def int64) time.Duration
- func GetMultipartSize() int64
- func HandleMsg(msgData []byte) error
- func Init()
- func MultipartCopyObj(ctx context.Context, obj *osdss3.Object, destLoca *LocationInfo, ...) error
- type Migration
Constants ¶
View Source
const JobType = "migration"
View Source
const WT_DELETE = 4
View Source
const WT_MOVE = 96
Variables ¶
View Source
var JOB_RUN_TIME_MAX = 86400 //seconds, equals 1 day
View Source
var MiniSpeed int64 = 5 // 5KByte/Sec
View Source
var PART_SIZE int64 = 5 * 1024 * 1024 //The max object size that can be moved directly, default is 16M.
Functions ¶
func GetCtxTimeout ¶ added in v0.7.0
func GetMultipartSize ¶ added in v0.6.3
func GetMultipartSize() int64
Types ¶
Click to show internal directories.
Click to hide internal directories.