pkg

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Ext2IntTierMap map[string]*String2Int

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

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.

View Source
var SupportedClasses []pb.StorageClass
View Source
var TransitionMap map[int32][]int32

map from a specific tier to an array of tiers, that means transition can happens from the specific tier to those tiers in the array.

Functions

func CheckReqObjMeta added in v0.5.2

func CheckReqObjMeta(req map[string]string, valid map[string]struct{}) (map[string]interface{}, S3Error)

func NewS3Service

func NewS3Service() pb.S3Handler

Types

type Int2String added in v0.5.2

type Int2String map[int32]string

type String2Int added in v0.5.2

type String2Int map[string]int32

Directories

Path Synopsis
db

Jump to

Keyboard shortcuts

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