Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ChunkSize int = 2048
View Source
var Ext2IntTierMap map[string]*String2Int
map from cloud vendor name to a map, which is used to map from storage class name to internal tier.
View Source
var Int2ExtTierMap map[string]*Int2String
map from cloud vendor name to a map, which is used to map from 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 CheckRights ¶
func GetErrCode ¶
func NewS3Service ¶
Types ¶
type Int2String ¶
type StreamReader ¶
type StreamReader struct {
// contains filtered or unexported fields
}
func (*StreamReader) Read ¶
func (dr *StreamReader) Read(p []byte) (n int, err error)
type String2Int ¶
Click to show internal directories.
Click to hide internal directories.