lifecycle

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

View Source
const (
	MICRO_ENVIRONMENT = "MICRO_ENVIRONMENT"
	K8S               = "k8s"
)
View Source
const SECONDS_30_DAYS = 2592000
View Source
const SECONDS_ONE_HOUR = 3600
View Source
const SECONDS_ONE_MINUTE = 60

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, tmout time.Duration) error

func MultipartMoveObj added in v0.6.3

func MultipartMoveObj(obj *osdss3.Object, targetLoc *LocationInfo, partSize int64, tmout time.Duration) 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