lifecycle

package
Version: v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const CLOUD_OPR_TIMEOUT = 86400 // seconds

TODO: do more test to choose the best value

Variables

View Source
var InProgressObjs = make(map[string]struct{})

If transition for an object is in-progress, then the next transition message will be abandoned.

View Source
var Int2ExtTierMap map[string]*Int2String

map from cloud vendor name to it's map relation relationship between internal tier to it's storage class name.

Functions

func HandleMsg

func HandleMsg(msgData []byte) error

func Init

func Init()

func MoveObj added in v0.6.3

func MoveObj(obj *osdss3.Object, targetLoc *LocationInfo) error

func MultipartMoveObj added in v0.6.3

func MultipartMoveObj(obj *osdss3.Object, targetLoc *LocationInfo, partSize int64) error

Types

type Int2String

type Int2String map[int32]string

Jump to

Keyboard shortcuts

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