Documentation ¶
Index ¶
- Constants
- Variables
- func CombineKey(field ...string) string
- func GfSpChallengePieceTaskKey(bucket, object, id string, sIdx uint32, rIdx int32, user string) task.TKey
- func GfSpCreateBucketApprovalTaskKey(bucket string, visibility int32) task.TKey
- func GfSpCreateObjectApprovalTaskKey(bucket, object string, visibility int32) task.TKey
- func GfSpDownloadObjectTaskKey(bucket, object, id string, low, high int64) task.TKey
- func GfSpDownloadPieceTaskKey(bucket, object, pieceKey string, pieceOffset, pieceLength uint64) task.TKey
- func GfSpGCObjectTaskKey(start, end uint64, time int64) task.TKey
- func GfSpGCZombiePieceTaskKey(time int64) task.TKey
- func GfSpGfSpGCMetaTaskKey(time int64) task.TKey
- func GfSpReceivePieceTaskKey(bucket, object, id string, rIdx uint32, pIdx int32) task.TKey
- func GfSpReplicatePieceApprovalTaskKey(bucket, object, id string) task.TKey
- func GfSpReplicatePieceTaskKey(bucket, object, id string) task.TKey
- func GfSpSealObjectTaskKey(bucket, object, id string) task.TKey
- func GfSpUploadObjectTaskKey(bucket, object, id string) task.TKey
- func LimitEstimateByPriority(priority coretask.TPriority) rcmgr.Limit
- func RegisterCodec(cdc *codec.LegacyAmino)
Constants ¶
View Source
const ( Delimiter = "-" KeyPrefixGfSpCreateBucketApprovalTask = "CreateBucketApproval" KeyPrefixGfSpCreateObjectApprovalTask = "CreateObjectApproval" KeyPrefixGfSpReplicatePieceApprovalTask = "ReplicatePieceApproval" KeyPrefixGfSpDownloadObjectTask = "DownloadObject" KeyPrefixGfSpDownloadPieceTask = "DownloadPiece" KeyPrefixGfSpChallengeTask = "ChallengePiece" KeyPrefixGfSpUploadObjectTask = "Uploading" KeyPrefixGfSpReplicatePieceTask = "Replicating" KeyPrefixGfSpSealObjectTask = "Sealing" KeyPrefixGfSpReceivePieceTask = "ReceivePiece" )
Variables ¶
View Source
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewAminoCodec(Amino) )
Functions ¶
func CombineKey ¶
func GfSpGfSpGCMetaTaskKey ¶
func GfSpReceivePieceTaskKey ¶
func GfSpSealObjectTaskKey ¶
func GfSpUploadObjectTaskKey ¶
func LimitEstimateByPriority ¶
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.