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, account string, visibility int32) task.TKey
- func GfSpCreateObjectApprovalTaskKey(bucket, object string, account 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 GfSpMigrateBucketApprovalTaskKey(bucket string, migrateBucketHash string) task.TKey
- func GfSpMigrateGVGTaskKey(oldGvgID uint32, bucketID uint64, redundancyIndex int32) task.TKey
- func GfSpMigratePieceTaskKey(object, id string, redundancyIdx uint32, ecIdx int32) task.TKey
- func GfSpReceivePieceTaskKey(bucket, object, id string, rIdx uint32, pIdx int32) task.TKey
- func GfSpRecoverPieceTaskKey(bucket, object, id string, pIdx uint32, replicateIdx int32, time int64) task.TKey
- func GfSpReplicatePieceApprovalTaskKey(bucket, object, id string) task.TKey
- func GfSpReplicatePieceTaskKey(bucket, object, id string) task.TKey
- func GfSpResumableUploadObjectTaskKey(bucket, object, id string, offset uint64) 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" KeyPrefixGfSpMigrateBucketApprovalTask = "MigrateBucketApproval" KeyPrefixGfSpCreateObjectApprovalTask = "CreateObjectApproval" KeyPrefixGfSpReplicatePieceApprovalTask = "ReplicatePieceApproval" KeyPrefixGfSpDownloadObjectTask = "DownloadObject" KeyPrefixGfSpDownloadPieceTask = "DownloadPiece" KeyPrefixGfSpChallengeTask = "ChallengePiece" KeyPrefixGfSpUploadObjectTask = "Uploading" KeyPrefixGfSpReplicatePieceTask = "Uploading" KeyPrefixGfSpSealObjectTask = "Uploading" KeyPrefixGfSpResumableUploadObjectTask = "ResumableUploading" KeyPrefixGfSpRecoverPieceTask = "Recovering" KeyPrefixGfSpReceivePieceTask = "ReceivePiece" KeyPrefixGfSpGCObjectTask = "GCObject" KeyPrefixGfSpGCZombiePieceTask = "GCZombiePiece" KeyPrefixGfSpGfSpGCMetaTask = "GCMeta" KeyPrefixGfSpMigrateGVGTask = "MigrateGVG" KeyPrefixGfSpMigratePieceTask = "MigratePiece" )
Variables ¶
View Source
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewAminoCodec(Amino) )
Functions ¶
func CombineKey ¶
func GfSpGfSpGCMetaTaskKey ¶
func GfSpMigrateBucketApprovalTaskKey ¶ added in v0.2.3
func GfSpMigrateGVGTaskKey ¶ added in v0.2.3
func GfSpMigratePieceTaskKey ¶ added in v0.2.3
func GfSpReceivePieceTaskKey ¶
func GfSpRecoverPieceTaskKey ¶ added in v0.2.3
func GfSpResumableUploadObjectTaskKey ¶ added in v0.2.3
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.