task

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

README

Task

Task is an abstract interface to describe the smallest unit of SP background service how to interact.

Task Type

There are three main types of task: ApprovalTask, ObjectTask and GCTask.

ApprovalTask is used to record approval information for users creating buckets and objects. Primary SP approval is required before serving the bucket and object. If SP approves the message, it will sign the approval message. The greenfield will verify the signature of the approval message to determine whether the SP accepts the bucket and object. When primary replicating pieces to secondary SPs, the approval message is broadcast to other SPs. If they approve the message, the primary SP will select some of them to replicate the pieces to. Before receiving the pieces, the selected SPs will verify the signature of the approval message. ApprovalTask includes ApprovalCreateBucketTask, ApprovalCreateBucketTask and ApprovalReplicatePieceTask.

ObjectTask is associated with an object and records information about its different stages. This includes UploadObjectTask, which uploads the object payload data to the primary SP, ReplicatePieceTask, which replicates the object pieces to the secondary SPs, and the ReceivePieceTask, which is exclusive to the secondary SP and records information about receiving the piece. The secondary SP uses this information to confirm whether the object was successfully sealed on the greenfield, ensuring a return of the secondary SP. SealObjectTask seals the object on Greenfield, while the DownloadObjectTask allows the user to download part or all of the object payload data. ChallengePieceTask provides the validator with challenge piece information, which they can use to challenge the SP if they suspect that the user's payload data was not stored correctly.

GCTask is an abstract interface that records information about garbage collection. This includes GCObjectTask, which collects piece store space by deleting payload data that has been deleted on the greenfield, GCZombiePieceTask, which collects piece store space by deleting zombie piece data that resulted from any exception where the piece data meta is not on Greenfield chain, and GCMetaTask, which collects the SP meta store space by deleting expired data.

Approval Task

ApprovalTask is an abstract interface to record the ask approval information, the approval task timeliness uses the block height, if reached expired height, the approval invalid.

ApprovalCreateBucketTask

ApprovalCreateBucketTask is an abstract interface to record the ask create bucket approval information. The user account will create MsgCreateBucket, the SP should decide whether approved the request based on the MsgCreateBucket. If so, the sp will SetExpiredHeight and signs the MsgCreateBucket.

ApprovalCreateObjectTask

ApprovalCreateObjectTask is an abstract interface to record the ask create object approval information. The user account will create MsgCreateObject, the SP should decide whether approved the request based on the MsgCreateObject. If so, the sp will SetExpiredHeight and signs the MsgCreateObject.

ApprovalReplicatePieceTask

ApprovalReplicatePieceTask is an abstract interface to record the ask replicate pieces to other SPs(as secondary SP for the object). It is initiated by the primary SP in the replicate pieces phase. Before the primary SP sends it to other SPs, the primary SP will sign the task, other SPs will verify it is sent by a legitimate SP. If other SPs approved the approval, they will SetExpiredHeight and signs the ApprovalReplicatePieceTask.

Object Task

The ObjectTask associated with an object and storage params, and records the information of different stages of the object. Considering the change of storage params on the greenfield, the storage params of each object should be determined when it is created, and it should not be queried during the task flow, which is inefficient and error-prone.

UploadObjectTask

The UploadObjectTask is an abstract interface to record the information for uploading object payload data to the primary SP.

ReplicatePieceTask

The ReplicatePieceTask is an abstract interface to record the information for replicating pieces of object payload data to secondary SPs.

ReceivePieceTask

The ReceivePieceTask is an abstract interface to record the information for receiving pieces of object payload data from primary SP, it exists only in secondary SP.

SealObjectTask

The SealObjectTask is an abstract interface to record the information for sealing object to the Greenfield chain.

DownloadObjectTask

The DownloadObjectTask is an abstract interface to record the information for downloading pieces of object payload data.

ChallengePieceTask

ChallengePieceTask is an abstract interface to record the information for get challenge piece info, the validator get challenge info to confirm whether the sp stores the user's data correctly.

GC Task
GCObjectTask

The GCObjectTask is an abstract interface to record the information for collecting the piece store space by deleting object payload data that the object has been deleted on Greenfield chain.

GCZombiePieceTask

The GCZombiePieceTask is an abstract interface to record the information for collecting the piece store space by deleting zombie pieces data that dues to any exception, the piece data meta is not on chain but the pieces has been store in piece store.

GCMetaTask

The GCMetaTask is an abstract interface to record the information for collecting the SP meta store space by deleting the expired data.

Task Priority

Each type of task has a priority, the range of priority is [0, 255], the higher the priority, the higher the urgency to be executed, the greater the probability of being executed by priority scheduling.

Task Priority Level

Task priority is divided into three levels, TLowPriorityLevel, TMediumPriorityLevel, THighPriorityLevel. The TLowPriorityLevel default priority range is [0, 85), The TMediumPriorityLevel default priority range is [85, 170), The THighPriorityLevel default priority range is [170, 256). When allocating for task execution resources from ResourceManager, the resources are allocated according to task priority level, but not task priority, because task priority up to 256 levels, the task priority level make resource management easier.

Example:
    the resource limit configuration of task execution node :
        [TasksHighPriority: 30, TasksMediumPriority: 20, TasksLowPriority: 2]
    the executor of the task can run 30 high level tasks at the same time that the
        task priority between [170, 255]
    the executor of the task can run 20 medium level tasks at the same time that the
        task priority between [85, 170)
    the executor of the task can run 2 medium level tasks at the same time that the
        task priority < 85

Task Init

Each task needs to call its InitXXXTask method before use. This method requires passing in the necessary parameters of each type of task. These parameters will not be changed in most cases and are necessary, such as task priority, timeout, max retries, and necessary information for resource estimation.

Any changes to initialization parameters during task execution may cause unpredictable consequences. For example, changes in parameters that affect resource estimation may cause OOM, etc.

Documentation

Overview

Package task is a generated GoMock package.

Index

Constants

This section is empty.

Variables

View Source
var TypeTaskMap = map[TType]string{
	TypeTaskUnknown:                "UnknownTask",
	TypeTaskCreateBucketApproval:   "CreateBucketApprovalTask",
	TypeTaskMigrateBucketApproval:  "MigrateBucketApprovalTask",
	TypeTaskCreateObjectApproval:   "CreateObjectApprovalTask",
	TypeTaskReplicatePieceApproval: "ReplicatePieceApprovalTask",
	TypeTaskUpload:                 "UploadObjectTask",
	TypeTaskReplicatePiece:         "ReplicatePieceTask",
	TypeTaskSealObject:             "SealObjectTask",
	TypeTaskReceivePiece:           "ReceivePieceTask",
	TypeTaskDownloadObject:         "DownloadObjectTask",
	TypeTaskChallengePiece:         "ChallengePieceTask",
	TypeTaskGCObject:               "GCObjectTask",
	TypeTaskGCZombiePiece:          "GCZombiePieceTask",
	TypeTaskGCMeta:                 "GCMetaTask",
	TypeTaskGCBucketMigration:      "GCBucketMigrationTask",
	TypeTaskRecoverPiece:           "RecoverPieceTask",
	TypeTaskMigrateGVG:             "MigrateGVGTask",
}

Functions

func TaskTypeName

func TaskTypeName(taskType TType) string

Types

type ApprovalCreateBucketTask

type ApprovalCreateBucketTask interface {
	ApprovalTask
	// InitApprovalCreateBucketTask inits the ApprovalCreateBucketTask by
	// MsgCreateBucket and task priority. SP only fill the MsgCreateBucket's
	// PrimarySpApproval field, can not change other fields.
	InitApprovalCreateBucketTask(string, *storagetypes.MsgCreateBucket, []byte, TPriority)
	// GetCreateBucketInfo returns the user's MsgCreateBucket.
	GetCreateBucketInfo() *storagetypes.MsgCreateBucket
	// SetCreateBucketInfo sets the MsgCreateBucket. Should try to avoid calling
	// this method, it will change the approval information.
	SetCreateBucketInfo(*storagetypes.MsgCreateBucket)
}

ApprovalCreateBucketTask is an abstract interface to record the ask create bucket approval information. The user account will create MsgCreateBucket, SP should decide whether approved the request based on the MsgCreateBucket. If so, SP will SetExpiredHeight and signs the MsgCreateBucket.

type ApprovalCreateObjectTask

type ApprovalCreateObjectTask interface {
	ApprovalTask
	// InitApprovalCreateObjectTask inits the ApprovalCreateObjectTask by
	// MsgCreateObject and task priority. SP only fill the MsgCreateObject's
	// PrimarySpApproval field, can not change other fields.
	InitApprovalCreateObjectTask(string, *storagetypes.MsgCreateObject, []byte, TPriority)
	// GetCreateObjectInfo returns the user's MsgCreateObject.
	GetCreateObjectInfo() *storagetypes.MsgCreateObject
	// SetCreateObjectInfo sets the MsgCreateObject. Should try to avoid calling
	// this method, it will change the approval information.
	SetCreateObjectInfo(*storagetypes.MsgCreateObject)
}

ApprovalCreateObjectTask is an abstract interface to record the ask create object approval information. The user account will create MsgCreateObject, SP should decide whether approved the request based on the MsgCreateObject. If so, SP will SetExpiredHeight and signs the MsgCreateObject.

type ApprovalMigrateBucketTask added in v0.2.3

type ApprovalMigrateBucketTask interface {
	ApprovalTask
	// InitApprovalMigrateBucketTask inits the ApprovalMigrateBucketTask by
	// MsgCreateBucket and task priority. SP only fill the MsgCreateBucket's
	// PrimarySpApproval field, can not change other fields.
	InitApprovalMigrateBucketTask(*storagetypes.MsgMigrateBucket, TPriority)
	// GetMigrateBucketInfo returns the user's MsgCreateBucket.
	GetMigrateBucketInfo() *storagetypes.MsgMigrateBucket
	// SetMigrateBucketInfo sets the MsgCreateBucket. Should try to avoid calling
	// this method, it will change the approval information.
	SetMigrateBucketInfo(*storagetypes.MsgMigrateBucket)
}

ApprovalMigrateBucketTask is an abstract interface to record the ask migrate bucket approval information. The user account will migrate MsgMigrateBucket, SP should decide whether approved the request based on the MsgMigrateBucket. If so, SP will SetExpiredHeight and signs the MsgMigrateBucket.

type ApprovalReplicatePieceTask

type ApprovalReplicatePieceTask interface {
	ObjectTask
	ApprovalTask
	// InitApprovalReplicatePieceTask inits the ApprovalReplicatePieceTask by ObjectInfo,
	// storage params, task priority and primary operator address. the storage params
	// can affect the size of the data accepted by secondary SP, so this is a necessary
	// and cannot be changed parameter.
	InitApprovalReplicatePieceTask(object *storagetypes.ObjectInfo, params *storagetypes.Params, priority TPriority, askOpAddress string)
	// GetAskSpOperatorAddress returns the operator address of SP that initiated the ask
	// replicate piece approval request.
	GetAskSpOperatorAddress() string
	// SetAskSpOperatorAddress sets the operator address of SP that initiated the ask
	// replicate piece approval request. Should try to avoid calling this method,
	// it will change the approval information.
	SetAskSpOperatorAddress(string)
	// GetAskSignature returns the initiated signature of SP signature by its operator private key.
	GetAskSignature() []byte
	// SetAskSignature sets the initiated signature of SP by its operator private key.
	SetAskSignature([]byte)
	// GetApprovedSpOperatorAddress returns the approved operator address of SP.
	GetApprovedSpOperatorAddress() string
	// SetApprovedSpOperatorAddress sets the approved operator address of SP.
	SetApprovedSpOperatorAddress(string)
	// GetApprovedSignature returns the approved signature of SP.
	GetApprovedSignature() []byte
	// SetApprovedSignature sets the approved signature of SP.
	SetApprovedSignature([]byte)
	// GetApprovedSpEndpoint returns the approved endpoint of SP. It is used to replicate
	// pieces to secondary SP.
	GetApprovedSpEndpoint() string
	// SetApprovedSpEndpoint sets the approved endpoint of SP.
	SetApprovedSpEndpoint(string)
	// GetApprovedSpApprovalAddress returns the approved approval address of SP. It is
	// used to seal object on greenfield.
	GetApprovedSpApprovalAddress() string
	// SetApprovedSpApprovalAddress sets the approved approval address of SP.
	SetApprovedSpApprovalAddress(string)
	// GetSignBytes returns the bytes from the task for initiated and approved SPs
	// to sign.
	GetSignBytes() []byte
}

ApprovalReplicatePieceTask is an abstract interface to record the ask replicate pieces to other SPs(as secondary SP for the object). It is initiated by the primary SP in the replicate pieces phase. Before the primary SP sends it to other SPs, the primary SP will sign the task, other SPs will verify it is sent by a legitimate SP. If other SPs approved the approval, they will SetExpiredHeight and signs the ApprovalReplicatePieceTask.

type ApprovalTask

type ApprovalTask interface {
	Task
	// GetExpiredHeight returns the expired height of the approval.
	GetExpiredHeight() uint64
	// SetExpiredHeight sets the expired height of the approval, when SP
	// approved the approval, it should set the expired height to stands
	// the approval timeliness. This is one of the ways SP prevents being
	// attacked.
	SetExpiredHeight(uint64)
}

ApprovalTask is an abstract interface to record the ask approval information. ApprovalTask uses block height to verify whether the approval is expired. If reached expired height, the approval invalid.

type ChallengePieceTask

type ChallengePieceTask interface {
	ObjectTask
	// InitChallengePieceTask inits InitChallengePieceTask.
	InitChallengePieceTask(object *storagetypes.ObjectInfo, bucket *storagetypes.BucketInfo, params *storagetypes.Params,
		priority TPriority, userAddress string, replicateIdx int32, segmentIdx uint32, timeout int64, retry int64)
	// GetBucketInfo returns the BucketInfo of challenging piece
	GetBucketInfo() *storagetypes.BucketInfo
	// SetBucketInfo sets the BucketInfo of challenging piece
	SetBucketInfo(*storagetypes.BucketInfo)
	// GetUserAddress returns the user account of challenging object.
	// It is used to record the read bucket information.
	GetUserAddress() string
	// SetUserAddress sets the user account of challenging object.
	SetUserAddress(string)
	// GetSegmentIdx returns the segment index of challenge piece.
	GetSegmentIdx() uint32
	// SetSegmentIdx sets the segment index of challenge piece.
	SetSegmentIdx(uint32)
	// GetRedundancyIdx returns the replicate index of challenge piece.
	GetRedundancyIdx() int32
	// SetRedundancyIdx sets the replicate index of challenge piece.
	SetRedundancyIdx(idx int32)
	// GetIntegrityHash returns the integrity hash of the object.
	GetIntegrityHash() []byte
	// SetIntegrityHash sets the integrity hash of the object.
	SetIntegrityHash([]byte)
	// GetPieceHash returns the hash of  challenge piece.
	GetPieceHash() [][]byte
	// SetPieceHash sets the hash of  challenge piece.
	SetPieceHash([][]byte)
	// GetPieceDataSize returns the data of challenge piece.
	GetPieceDataSize() int64
	// SetPieceDataSize sets the data of challenge piece.
	SetPieceDataSize(int64)
}

ChallengePieceTask is an abstract interface to record the information for get challenge piece info, the validator get challenge info to confirm whether the sp stores the user's data correctly.

type DownloadObjectTask

type DownloadObjectTask interface {
	ObjectTask
	// InitDownloadObjectTask inits DownloadObjectTask.
	InitDownloadObjectTask(object *storagetypes.ObjectInfo, bucket *storagetypes.BucketInfo, params *storagetypes.Params,
		priority TPriority, userAddress string, low int64, high int64, timeout int64, retry int64)
	// GetBucketInfo returns the BucketInfo of the download object.
	// It is used to Query and calculate bucket read quota.
	GetBucketInfo() *storagetypes.BucketInfo
	// SetBucketInfo sets the BucketInfo of the download object.
	SetBucketInfo(*storagetypes.BucketInfo)
	// GetSize returns the download payload data size, high - low + 1.
	GetSize() int64
	// GetLow returns the start offset of download payload data.
	GetLow() int64
	// GetHigh returns the end offset of download payload data.
	GetHigh() int64
}

DownloadObjectTask is an abstract interface to record the information for downloading pieces of object payload data.

type DownloadPieceTask

type DownloadPieceTask interface {
	ObjectTask
	// InitDownloadPieceTask inits DownloadPieceTask.
	InitDownloadPieceTask(object *storagetypes.ObjectInfo, bucket *storagetypes.BucketInfo, params *storagetypes.Params,
		priority TPriority, enableCheck bool, userAddress string, totalSize uint64, pieceKey string, pieceOffset uint64,
		pieceLength uint64, timeout int64, maxRetry int64)
	// GetBucketInfo returns the BucketInfo of the download object.
	// It is used to Query and calculate bucket read quota.
	GetBucketInfo() *storagetypes.BucketInfo
	// SetBucketInfo sets the BucketInfo of the download object.
	SetBucketInfo(*storagetypes.BucketInfo)
	// GetUserAddress returns the user account of downloading object.
	// It is used to record the read bucket information.
	GetUserAddress() string
	// SetUserAddress sets the user account of downloading object.
	SetUserAddress(string)
	// GetSize returns the download payload data size.
	GetSize() int64
	// GetEnableCheck returns enable_check flag.
	GetEnableCheck() bool
	// GetTotalSize returns total size.
	GetTotalSize() uint64
	// GetPieceKey returns piece key.
	GetPieceKey() string
	// GetPieceOffset returns piece offset.
	GetPieceOffset() uint64
	// GetPieceLength returns piece length.
	GetPieceLength() uint64
}

DownloadPieceTask is an abstract interface to record the information for downloading piece data.

type GCBucketMigrationTask added in v1.2.0

type GCBucketMigrationTask interface {
	Task
	// InitGCBucketMigrationTask inits gc bucket migration task by bucket id.
	InitGCBucketMigrationTask(priority TPriority, bucketID uint64, timeout, retry int64)
	// GetBucketID returns the bucketID
	GetBucketID() uint64
	// SetBucketID sets the bucketID
	SetBucketID(uint64)
}

GCBucketMigrationTask is an abstract interface to gc useless object after bucket migration

type GCMetaTask

type GCMetaTask interface {
	GCTask
	// GetGCMetaStatus returns the status of collecting metadata, returns the last
	// deleted object id and the number that has been deleted.
	GetGCMetaStatus() (uint64, uint64)
	// SetGCMetaStatus sets the status of collecting metadata, parma stands the last
	// deleted object id and the number that has been deleted.
	SetGCMetaStatus(uint64, uint64)
}

GCMetaTask is an abstract interface to record the information for collecting the SP meta store space by deleting the expired data.

type GCObjectTask

type GCObjectTask interface {
	GCTask
	// InitGCObjectTask inits InitGCObjectTask.
	InitGCObjectTask(priority TPriority, start, end uint64, timeout int64)
	// SetStartBlockNumber sets start block number for collecting object.
	SetStartBlockNumber(uint64)
	// GetStartBlockNumber returns start block number for collecting object.
	GetStartBlockNumber() uint64
	// SetEndBlockNumber sets end block number for collecting object.
	SetEndBlockNumber(uint64)
	// GetEndBlockNumber returns end block number for collecting object.
	GetEndBlockNumber() uint64
	// SetCurrentBlockNumber sets the collecting block number.
	SetCurrentBlockNumber(uint64)
	// GetCurrentBlockNumber returns the collecting block number.
	GetCurrentBlockNumber() uint64
	// GetLastDeletedObjectId returns the last deleted ObjectID.
	GetLastDeletedObjectId() uint64
	// SetLastDeletedObjectId sets the last deleted ObjectID.
	SetLastDeletedObjectId(uint64)
	// GetGCObjectProgress returns the progress of collecting object, returns the
	// deleting block number and the last deleted object id.
	GetGCObjectProgress() (uint64, uint64)
	// SetGCObjectProgress sets the progress of collecting object, params stand
	// the deleting block number and the last deleted object id.
	SetGCObjectProgress(uint64, uint64)
}

GCObjectTask is an abstract interface to record the information for collecting the piece store space by deleting object payload data that the object has been deleted on Greenfield chain.

type GCTask

type GCTask interface {
	Task
}

GCTask is an abstract interface to record the information of garbage collection.

type GCZombiePieceTask

type GCZombiePieceTask interface {
	GCTask
	// InitGCZombiePieceTask inits InitGCObjectTask.
	InitGCZombiePieceTask(priority TPriority, start, end uint64, timeout int64)
	// SetStartObjectID sets start block number for collecting zombie piece.
	SetStartObjectID(uint64)
	// GetStartObjectId returns start block number for collecting zombie piece.
	GetStartObjectId() uint64
	// SetEndObjectID sets start block number for collecting zombie piece.
	SetEndObjectID(uint64)
	// GetEndObjectId returns start block number for collecting zombie piece.
	GetEndObjectId() uint64
}

GCZombiePieceTask is an abstract interface to record the information for collecting the piece store space by deleting zombie pieces data that dues to any exception, the piece data meta is not on chain but the pieces has been store in piece store.

type MigrateGVGTask added in v0.2.3

type MigrateGVGTask interface {
	Task
	// InitMigrateGVGTask inits migrate gvg task by bucket id, gvg.
	InitMigrateGVGTask(priority TPriority, bucketID uint64, srcGvg *virtualgrouptypes.GlobalVirtualGroup,
		redundancyIndex int32, srcSP *sptypes.StorageProvider, timeout int64, retry int64)
	// GetSrcGvg returns the src global virtual group
	GetSrcGvg() *virtualgrouptypes.GlobalVirtualGroup
	// SetSrcGvg sets the src global virtual group
	SetSrcGvg(*virtualgrouptypes.GlobalVirtualGroup)
	// GetDestGvg returns the dest global virtual group
	GetDestGvg() *virtualgrouptypes.GlobalVirtualGroup
	// SetDestGvg sets the dest global virtual group
	SetDestGvg(*virtualgrouptypes.GlobalVirtualGroup)
	// GetSrcSp returns the src storage provider
	GetSrcSp() *sptypes.StorageProvider
	// SetSrcSp sets the src storage provider
	SetSrcSp(*sptypes.StorageProvider)
	// GetBucketID returns the bucketID
	GetBucketID() uint64
	// SetBucketID sets the bucketID
	SetBucketID(uint64)
	// GetRedundancyIdx returns the redundancy index
	GetRedundancyIdx() int32
	// SetRedundancyIdx sets the redundancy index
	SetRedundancyIdx(int32)
	// GetLastMigratedObjectID returns the last modified objectID
	GetLastMigratedObjectID() uint64
	// SetLastMigratedObjectID sets the last migrated objectID
	SetLastMigratedObjectID(uint64)
	// GetMigratedBytesSize returns the total migrate object bytes size
	GetMigratedBytesSize() uint64
	// SetMigratedBytesSize sets the total migrate object bytes size
	SetMigratedBytesSize(uint64)
	// GetFinished returns the task whether finished
	GetFinished() bool
	// SetFinished sets the migrated gvg task status when finished
	SetFinished(bool)
	// GetSignBytes returns the bytes from the task to sign.
	GetSignBytes() []byte
	// SetSignature sets the task signature.
	SetSignature([]byte)
}

MigrateGVGTask is an abstract interface to record migrate gvg information.

type MockApprovalCreateBucketTask added in v0.2.4

type MockApprovalCreateBucketTask struct {
	// contains filtered or unexported fields
}

MockApprovalCreateBucketTask is a mock of ApprovalCreateBucketTask interface.

func NewMockApprovalCreateBucketTask added in v0.2.4

func NewMockApprovalCreateBucketTask(ctrl *gomock.Controller) *MockApprovalCreateBucketTask

NewMockApprovalCreateBucketTask creates a new mock instance.

func (*MockApprovalCreateBucketTask) AppendLog added in v0.2.4

func (m *MockApprovalCreateBucketTask) AppendLog(log string)

AppendLog mocks base method.

func (*MockApprovalCreateBucketTask) EXPECT added in v0.2.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockApprovalCreateBucketTask) Error added in v0.2.4

Error mocks base method.

func (*MockApprovalCreateBucketTask) EstimateLimit added in v0.2.4

func (m *MockApprovalCreateBucketTask) EstimateLimit() rcmgr.Limit

EstimateLimit mocks base method.

func (*MockApprovalCreateBucketTask) ExceedRetry added in v0.2.4

func (m *MockApprovalCreateBucketTask) ExceedRetry() bool

ExceedRetry mocks base method.

func (*MockApprovalCreateBucketTask) ExceedTimeout added in v0.2.4

func (m *MockApprovalCreateBucketTask) ExceedTimeout() bool

ExceedTimeout mocks base method.

func (*MockApprovalCreateBucketTask) Expired added in v0.2.4

func (m *MockApprovalCreateBucketTask) Expired() bool

Expired mocks base method.

func (*MockApprovalCreateBucketTask) GetAddress added in v0.2.4

func (m *MockApprovalCreateBucketTask) GetAddress() string

GetAddress mocks base method.

func (*MockApprovalCreateBucketTask) GetCreateBucketInfo added in v0.2.4

func (m *MockApprovalCreateBucketTask) GetCreateBucketInfo() *types0.MsgCreateBucket

GetCreateBucketInfo mocks base method.

func (*MockApprovalCreateBucketTask) GetCreateTime added in v0.2.4

func (m *MockApprovalCreateBucketTask) GetCreateTime() int64

GetCreateTime mocks base method.

func (*MockApprovalCreateBucketTask) GetExpiredHeight added in v0.2.4

func (m *MockApprovalCreateBucketTask) GetExpiredHeight() uint64

GetExpiredHeight mocks base method.

func (*MockApprovalCreateBucketTask) GetLogs added in v0.2.4

func (m *MockApprovalCreateBucketTask) GetLogs() string

GetLogs mocks base method.

func (*MockApprovalCreateBucketTask) GetMaxRetry added in v0.2.4

func (m *MockApprovalCreateBucketTask) GetMaxRetry() int64

GetMaxRetry mocks base method.

func (*MockApprovalCreateBucketTask) GetPriority added in v0.2.4

func (m *MockApprovalCreateBucketTask) GetPriority() TPriority

GetPriority mocks base method.

func (*MockApprovalCreateBucketTask) GetRetry added in v0.2.4

func (m *MockApprovalCreateBucketTask) GetRetry() int64

GetRetry mocks base method.

func (*MockApprovalCreateBucketTask) GetTimeout added in v0.2.4

func (m *MockApprovalCreateBucketTask) GetTimeout() int64

GetTimeout mocks base method.

func (*MockApprovalCreateBucketTask) GetUpdateTime added in v0.2.4

func (m *MockApprovalCreateBucketTask) GetUpdateTime() int64

GetUpdateTime mocks base method.

func (*MockApprovalCreateBucketTask) GetUserAddress added in v0.2.4

func (m *MockApprovalCreateBucketTask) GetUserAddress() string

GetUserAddress mocks base method.

func (*MockApprovalCreateBucketTask) IncRetry added in v0.2.4

func (m *MockApprovalCreateBucketTask) IncRetry()

IncRetry mocks base method.

func (*MockApprovalCreateBucketTask) Info added in v0.2.4

Info mocks base method.

func (*MockApprovalCreateBucketTask) InitApprovalCreateBucketTask added in v0.2.4

func (m *MockApprovalCreateBucketTask) InitApprovalCreateBucketTask(arg0 string, arg1 *types0.MsgCreateBucket, arg2 []byte, arg3 TPriority)

InitApprovalCreateBucketTask mocks base method.

func (*MockApprovalCreateBucketTask) Key added in v0.2.4

Key mocks base method.

func (*MockApprovalCreateBucketTask) SetAddress added in v0.2.4

func (m *MockApprovalCreateBucketTask) SetAddress(arg0 string)

SetAddress mocks base method.

func (*MockApprovalCreateBucketTask) SetCreateBucketInfo added in v0.2.4

func (m *MockApprovalCreateBucketTask) SetCreateBucketInfo(arg0 *types0.MsgCreateBucket)

SetCreateBucketInfo mocks base method.

func (*MockApprovalCreateBucketTask) SetCreateTime added in v0.2.4

func (m *MockApprovalCreateBucketTask) SetCreateTime(arg0 int64)

SetCreateTime mocks base method.

func (*MockApprovalCreateBucketTask) SetError added in v0.2.4

func (m *MockApprovalCreateBucketTask) SetError(arg0 error)

SetError mocks base method.

func (*MockApprovalCreateBucketTask) SetExpiredHeight added in v0.2.4

func (m *MockApprovalCreateBucketTask) SetExpiredHeight(arg0 uint64)

SetExpiredHeight mocks base method.

func (*MockApprovalCreateBucketTask) SetLogs added in v0.2.4

func (m *MockApprovalCreateBucketTask) SetLogs(logs string)

SetLogs mocks base method.

func (*MockApprovalCreateBucketTask) SetMaxRetry added in v0.2.4

func (m *MockApprovalCreateBucketTask) SetMaxRetry(arg0 int64)

SetMaxRetry mocks base method.

func (*MockApprovalCreateBucketTask) SetPriority added in v0.2.4

func (m *MockApprovalCreateBucketTask) SetPriority(arg0 TPriority)

SetPriority mocks base method.

func (*MockApprovalCreateBucketTask) SetRetry added in v0.2.4

func (m *MockApprovalCreateBucketTask) SetRetry(arg0 int64)

SetRetry mocks base method.

func (*MockApprovalCreateBucketTask) SetTimeout added in v0.2.4

func (m *MockApprovalCreateBucketTask) SetTimeout(arg0 int64)

SetTimeout mocks base method.

func (*MockApprovalCreateBucketTask) SetUpdateTime added in v0.2.4

func (m *MockApprovalCreateBucketTask) SetUpdateTime(arg0 int64)

SetUpdateTime mocks base method.

func (*MockApprovalCreateBucketTask) SetUserAddress added in v0.2.4

func (m *MockApprovalCreateBucketTask) SetUserAddress(arg0 string)

SetUserAddress mocks base method.

func (*MockApprovalCreateBucketTask) Type added in v0.2.4

Type mocks base method.

type MockApprovalCreateBucketTaskMockRecorder added in v0.2.4

type MockApprovalCreateBucketTaskMockRecorder struct {
	// contains filtered or unexported fields
}

MockApprovalCreateBucketTaskMockRecorder is the mock recorder for MockApprovalCreateBucketTask.

func (*MockApprovalCreateBucketTaskMockRecorder) AppendLog added in v0.2.4

func (mr *MockApprovalCreateBucketTaskMockRecorder) AppendLog(log interface{}) *gomock.Call

AppendLog indicates an expected call of AppendLog.

func (*MockApprovalCreateBucketTaskMockRecorder) Error added in v0.2.4

Error indicates an expected call of Error.

func (*MockApprovalCreateBucketTaskMockRecorder) EstimateLimit added in v0.2.4

EstimateLimit indicates an expected call of EstimateLimit.

func (*MockApprovalCreateBucketTaskMockRecorder) ExceedRetry added in v0.2.4

ExceedRetry indicates an expected call of ExceedRetry.

func (*MockApprovalCreateBucketTaskMockRecorder) ExceedTimeout added in v0.2.4

ExceedTimeout indicates an expected call of ExceedTimeout.

func (*MockApprovalCreateBucketTaskMockRecorder) Expired added in v0.2.4

Expired indicates an expected call of Expired.

func (*MockApprovalCreateBucketTaskMockRecorder) GetAddress added in v0.2.4

GetAddress indicates an expected call of GetAddress.

func (*MockApprovalCreateBucketTaskMockRecorder) GetCreateBucketInfo added in v0.2.4

func (mr *MockApprovalCreateBucketTaskMockRecorder) GetCreateBucketInfo() *gomock.Call

GetCreateBucketInfo indicates an expected call of GetCreateBucketInfo.

func (*MockApprovalCreateBucketTaskMockRecorder) GetCreateTime added in v0.2.4

GetCreateTime indicates an expected call of GetCreateTime.

func (*MockApprovalCreateBucketTaskMockRecorder) GetExpiredHeight added in v0.2.4

func (mr *MockApprovalCreateBucketTaskMockRecorder) GetExpiredHeight() *gomock.Call

GetExpiredHeight indicates an expected call of GetExpiredHeight.

func (*MockApprovalCreateBucketTaskMockRecorder) GetLogs added in v0.2.4

GetLogs indicates an expected call of GetLogs.

func (*MockApprovalCreateBucketTaskMockRecorder) GetMaxRetry added in v0.2.4

GetMaxRetry indicates an expected call of GetMaxRetry.

func (*MockApprovalCreateBucketTaskMockRecorder) GetPriority added in v0.2.4

GetPriority indicates an expected call of GetPriority.

func (*MockApprovalCreateBucketTaskMockRecorder) GetRetry added in v0.2.4

GetRetry indicates an expected call of GetRetry.

func (*MockApprovalCreateBucketTaskMockRecorder) GetTimeout added in v0.2.4

GetTimeout indicates an expected call of GetTimeout.

func (*MockApprovalCreateBucketTaskMockRecorder) GetUpdateTime added in v0.2.4

GetUpdateTime indicates an expected call of GetUpdateTime.

func (*MockApprovalCreateBucketTaskMockRecorder) GetUserAddress added in v0.2.4

GetUserAddress indicates an expected call of GetUserAddress.

func (*MockApprovalCreateBucketTaskMockRecorder) IncRetry added in v0.2.4

IncRetry indicates an expected call of IncRetry.

func (*MockApprovalCreateBucketTaskMockRecorder) Info added in v0.2.4

Info indicates an expected call of Info.

func (*MockApprovalCreateBucketTaskMockRecorder) InitApprovalCreateBucketTask added in v0.2.4

func (mr *MockApprovalCreateBucketTaskMockRecorder) InitApprovalCreateBucketTask(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

InitApprovalCreateBucketTask indicates an expected call of InitApprovalCreateBucketTask.

func (*MockApprovalCreateBucketTaskMockRecorder) Key added in v0.2.4

Key indicates an expected call of Key.

func (*MockApprovalCreateBucketTaskMockRecorder) SetAddress added in v0.2.4

func (mr *MockApprovalCreateBucketTaskMockRecorder) SetAddress(arg0 interface{}) *gomock.Call

SetAddress indicates an expected call of SetAddress.

func (*MockApprovalCreateBucketTaskMockRecorder) SetCreateBucketInfo added in v0.2.4

func (mr *MockApprovalCreateBucketTaskMockRecorder) SetCreateBucketInfo(arg0 interface{}) *gomock.Call

SetCreateBucketInfo indicates an expected call of SetCreateBucketInfo.

func (*MockApprovalCreateBucketTaskMockRecorder) SetCreateTime added in v0.2.4

func (mr *MockApprovalCreateBucketTaskMockRecorder) SetCreateTime(arg0 interface{}) *gomock.Call

SetCreateTime indicates an expected call of SetCreateTime.

func (*MockApprovalCreateBucketTaskMockRecorder) SetError added in v0.2.4

func (mr *MockApprovalCreateBucketTaskMockRecorder) SetError(arg0 interface{}) *gomock.Call

SetError indicates an expected call of SetError.

func (*MockApprovalCreateBucketTaskMockRecorder) SetExpiredHeight added in v0.2.4

func (mr *MockApprovalCreateBucketTaskMockRecorder) SetExpiredHeight(arg0 interface{}) *gomock.Call

SetExpiredHeight indicates an expected call of SetExpiredHeight.

func (*MockApprovalCreateBucketTaskMockRecorder) SetLogs added in v0.2.4

func (mr *MockApprovalCreateBucketTaskMockRecorder) SetLogs(logs interface{}) *gomock.Call

SetLogs indicates an expected call of SetLogs.

func (*MockApprovalCreateBucketTaskMockRecorder) SetMaxRetry added in v0.2.4

func (mr *MockApprovalCreateBucketTaskMockRecorder) SetMaxRetry(arg0 interface{}) *gomock.Call

SetMaxRetry indicates an expected call of SetMaxRetry.

func (*MockApprovalCreateBucketTaskMockRecorder) SetPriority added in v0.2.4

func (mr *MockApprovalCreateBucketTaskMockRecorder) SetPriority(arg0 interface{}) *gomock.Call

SetPriority indicates an expected call of SetPriority.

func (*MockApprovalCreateBucketTaskMockRecorder) SetRetry added in v0.2.4

func (mr *MockApprovalCreateBucketTaskMockRecorder) SetRetry(arg0 interface{}) *gomock.Call

SetRetry indicates an expected call of SetRetry.

func (*MockApprovalCreateBucketTaskMockRecorder) SetTimeout added in v0.2.4

func (mr *MockApprovalCreateBucketTaskMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call

SetTimeout indicates an expected call of SetTimeout.

func (*MockApprovalCreateBucketTaskMockRecorder) SetUpdateTime added in v0.2.4

func (mr *MockApprovalCreateBucketTaskMockRecorder) SetUpdateTime(arg0 interface{}) *gomock.Call

SetUpdateTime indicates an expected call of SetUpdateTime.

func (*MockApprovalCreateBucketTaskMockRecorder) SetUserAddress added in v0.2.4

func (mr *MockApprovalCreateBucketTaskMockRecorder) SetUserAddress(arg0 interface{}) *gomock.Call

SetUserAddress indicates an expected call of SetUserAddress.

func (*MockApprovalCreateBucketTaskMockRecorder) Type added in v0.2.4

Type indicates an expected call of Type.

type MockApprovalCreateObjectTask added in v0.2.4

type MockApprovalCreateObjectTask struct {
	// contains filtered or unexported fields
}

MockApprovalCreateObjectTask is a mock of ApprovalCreateObjectTask interface.

func NewMockApprovalCreateObjectTask added in v0.2.4

func NewMockApprovalCreateObjectTask(ctrl *gomock.Controller) *MockApprovalCreateObjectTask

NewMockApprovalCreateObjectTask creates a new mock instance.

func (*MockApprovalCreateObjectTask) AppendLog added in v0.2.4

func (m *MockApprovalCreateObjectTask) AppendLog(log string)

AppendLog mocks base method.

func (*MockApprovalCreateObjectTask) EXPECT added in v0.2.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockApprovalCreateObjectTask) Error added in v0.2.4

Error mocks base method.

func (*MockApprovalCreateObjectTask) EstimateLimit added in v0.2.4

func (m *MockApprovalCreateObjectTask) EstimateLimit() rcmgr.Limit

EstimateLimit mocks base method.

func (*MockApprovalCreateObjectTask) ExceedRetry added in v0.2.4

func (m *MockApprovalCreateObjectTask) ExceedRetry() bool

ExceedRetry mocks base method.

func (*MockApprovalCreateObjectTask) ExceedTimeout added in v0.2.4

func (m *MockApprovalCreateObjectTask) ExceedTimeout() bool

ExceedTimeout mocks base method.

func (*MockApprovalCreateObjectTask) Expired added in v0.2.4

func (m *MockApprovalCreateObjectTask) Expired() bool

Expired mocks base method.

func (*MockApprovalCreateObjectTask) GetAddress added in v0.2.4

func (m *MockApprovalCreateObjectTask) GetAddress() string

GetAddress mocks base method.

func (*MockApprovalCreateObjectTask) GetCreateObjectInfo added in v0.2.4

func (m *MockApprovalCreateObjectTask) GetCreateObjectInfo() *types0.MsgCreateObject

GetCreateObjectInfo mocks base method.

func (*MockApprovalCreateObjectTask) GetCreateTime added in v0.2.4

func (m *MockApprovalCreateObjectTask) GetCreateTime() int64

GetCreateTime mocks base method.

func (*MockApprovalCreateObjectTask) GetExpiredHeight added in v0.2.4

func (m *MockApprovalCreateObjectTask) GetExpiredHeight() uint64

GetExpiredHeight mocks base method.

func (*MockApprovalCreateObjectTask) GetLogs added in v0.2.4

func (m *MockApprovalCreateObjectTask) GetLogs() string

GetLogs mocks base method.

func (*MockApprovalCreateObjectTask) GetMaxRetry added in v0.2.4

func (m *MockApprovalCreateObjectTask) GetMaxRetry() int64

GetMaxRetry mocks base method.

func (*MockApprovalCreateObjectTask) GetPriority added in v0.2.4

func (m *MockApprovalCreateObjectTask) GetPriority() TPriority

GetPriority mocks base method.

func (*MockApprovalCreateObjectTask) GetRetry added in v0.2.4

func (m *MockApprovalCreateObjectTask) GetRetry() int64

GetRetry mocks base method.

func (*MockApprovalCreateObjectTask) GetTimeout added in v0.2.4

func (m *MockApprovalCreateObjectTask) GetTimeout() int64

GetTimeout mocks base method.

func (*MockApprovalCreateObjectTask) GetUpdateTime added in v0.2.4

func (m *MockApprovalCreateObjectTask) GetUpdateTime() int64

GetUpdateTime mocks base method.

func (*MockApprovalCreateObjectTask) GetUserAddress added in v0.2.4

func (m *MockApprovalCreateObjectTask) GetUserAddress() string

GetUserAddress mocks base method.

func (*MockApprovalCreateObjectTask) IncRetry added in v0.2.4

func (m *MockApprovalCreateObjectTask) IncRetry()

IncRetry mocks base method.

func (*MockApprovalCreateObjectTask) Info added in v0.2.4

Info mocks base method.

func (*MockApprovalCreateObjectTask) InitApprovalCreateObjectTask added in v0.2.4

func (m *MockApprovalCreateObjectTask) InitApprovalCreateObjectTask(arg0 string, arg1 *types0.MsgCreateObject, arg2 []byte, arg3 TPriority)

InitApprovalCreateObjectTask mocks base method.

func (*MockApprovalCreateObjectTask) Key added in v0.2.4

Key mocks base method.

func (*MockApprovalCreateObjectTask) SetAddress added in v0.2.4

func (m *MockApprovalCreateObjectTask) SetAddress(arg0 string)

SetAddress mocks base method.

func (*MockApprovalCreateObjectTask) SetCreateObjectInfo added in v0.2.4

func (m *MockApprovalCreateObjectTask) SetCreateObjectInfo(arg0 *types0.MsgCreateObject)

SetCreateObjectInfo mocks base method.

func (*MockApprovalCreateObjectTask) SetCreateTime added in v0.2.4

func (m *MockApprovalCreateObjectTask) SetCreateTime(arg0 int64)

SetCreateTime mocks base method.

func (*MockApprovalCreateObjectTask) SetError added in v0.2.4

func (m *MockApprovalCreateObjectTask) SetError(arg0 error)

SetError mocks base method.

func (*MockApprovalCreateObjectTask) SetExpiredHeight added in v0.2.4

func (m *MockApprovalCreateObjectTask) SetExpiredHeight(arg0 uint64)

SetExpiredHeight mocks base method.

func (*MockApprovalCreateObjectTask) SetLogs added in v0.2.4

func (m *MockApprovalCreateObjectTask) SetLogs(logs string)

SetLogs mocks base method.

func (*MockApprovalCreateObjectTask) SetMaxRetry added in v0.2.4

func (m *MockApprovalCreateObjectTask) SetMaxRetry(arg0 int64)

SetMaxRetry mocks base method.

func (*MockApprovalCreateObjectTask) SetPriority added in v0.2.4

func (m *MockApprovalCreateObjectTask) SetPriority(arg0 TPriority)

SetPriority mocks base method.

func (*MockApprovalCreateObjectTask) SetRetry added in v0.2.4

func (m *MockApprovalCreateObjectTask) SetRetry(arg0 int64)

SetRetry mocks base method.

func (*MockApprovalCreateObjectTask) SetTimeout added in v0.2.4

func (m *MockApprovalCreateObjectTask) SetTimeout(arg0 int64)

SetTimeout mocks base method.

func (*MockApprovalCreateObjectTask) SetUpdateTime added in v0.2.4

func (m *MockApprovalCreateObjectTask) SetUpdateTime(arg0 int64)

SetUpdateTime mocks base method.

func (*MockApprovalCreateObjectTask) SetUserAddress added in v0.2.4

func (m *MockApprovalCreateObjectTask) SetUserAddress(arg0 string)

SetUserAddress mocks base method.

func (*MockApprovalCreateObjectTask) Type added in v0.2.4

Type mocks base method.

type MockApprovalCreateObjectTaskMockRecorder added in v0.2.4

type MockApprovalCreateObjectTaskMockRecorder struct {
	// contains filtered or unexported fields
}

MockApprovalCreateObjectTaskMockRecorder is the mock recorder for MockApprovalCreateObjectTask.

func (*MockApprovalCreateObjectTaskMockRecorder) AppendLog added in v0.2.4

func (mr *MockApprovalCreateObjectTaskMockRecorder) AppendLog(log interface{}) *gomock.Call

AppendLog indicates an expected call of AppendLog.

func (*MockApprovalCreateObjectTaskMockRecorder) Error added in v0.2.4

Error indicates an expected call of Error.

func (*MockApprovalCreateObjectTaskMockRecorder) EstimateLimit added in v0.2.4

EstimateLimit indicates an expected call of EstimateLimit.

func (*MockApprovalCreateObjectTaskMockRecorder) ExceedRetry added in v0.2.4

ExceedRetry indicates an expected call of ExceedRetry.

func (*MockApprovalCreateObjectTaskMockRecorder) ExceedTimeout added in v0.2.4

ExceedTimeout indicates an expected call of ExceedTimeout.

func (*MockApprovalCreateObjectTaskMockRecorder) Expired added in v0.2.4

Expired indicates an expected call of Expired.

func (*MockApprovalCreateObjectTaskMockRecorder) GetAddress added in v0.2.4

GetAddress indicates an expected call of GetAddress.

func (*MockApprovalCreateObjectTaskMockRecorder) GetCreateObjectInfo added in v0.2.4

func (mr *MockApprovalCreateObjectTaskMockRecorder) GetCreateObjectInfo() *gomock.Call

GetCreateObjectInfo indicates an expected call of GetCreateObjectInfo.

func (*MockApprovalCreateObjectTaskMockRecorder) GetCreateTime added in v0.2.4

GetCreateTime indicates an expected call of GetCreateTime.

func (*MockApprovalCreateObjectTaskMockRecorder) GetExpiredHeight added in v0.2.4

func (mr *MockApprovalCreateObjectTaskMockRecorder) GetExpiredHeight() *gomock.Call

GetExpiredHeight indicates an expected call of GetExpiredHeight.

func (*MockApprovalCreateObjectTaskMockRecorder) GetLogs added in v0.2.4

GetLogs indicates an expected call of GetLogs.

func (*MockApprovalCreateObjectTaskMockRecorder) GetMaxRetry added in v0.2.4

GetMaxRetry indicates an expected call of GetMaxRetry.

func (*MockApprovalCreateObjectTaskMockRecorder) GetPriority added in v0.2.4

GetPriority indicates an expected call of GetPriority.

func (*MockApprovalCreateObjectTaskMockRecorder) GetRetry added in v0.2.4

GetRetry indicates an expected call of GetRetry.

func (*MockApprovalCreateObjectTaskMockRecorder) GetTimeout added in v0.2.4

GetTimeout indicates an expected call of GetTimeout.

func (*MockApprovalCreateObjectTaskMockRecorder) GetUpdateTime added in v0.2.4

GetUpdateTime indicates an expected call of GetUpdateTime.

func (*MockApprovalCreateObjectTaskMockRecorder) GetUserAddress added in v0.2.4

GetUserAddress indicates an expected call of GetUserAddress.

func (*MockApprovalCreateObjectTaskMockRecorder) IncRetry added in v0.2.4

IncRetry indicates an expected call of IncRetry.

func (*MockApprovalCreateObjectTaskMockRecorder) Info added in v0.2.4

Info indicates an expected call of Info.

func (*MockApprovalCreateObjectTaskMockRecorder) InitApprovalCreateObjectTask added in v0.2.4

func (mr *MockApprovalCreateObjectTaskMockRecorder) InitApprovalCreateObjectTask(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

InitApprovalCreateObjectTask indicates an expected call of InitApprovalCreateObjectTask.

func (*MockApprovalCreateObjectTaskMockRecorder) Key added in v0.2.4

Key indicates an expected call of Key.

func (*MockApprovalCreateObjectTaskMockRecorder) SetAddress added in v0.2.4

func (mr *MockApprovalCreateObjectTaskMockRecorder) SetAddress(arg0 interface{}) *gomock.Call

SetAddress indicates an expected call of SetAddress.

func (*MockApprovalCreateObjectTaskMockRecorder) SetCreateObjectInfo added in v0.2.4

func (mr *MockApprovalCreateObjectTaskMockRecorder) SetCreateObjectInfo(arg0 interface{}) *gomock.Call

SetCreateObjectInfo indicates an expected call of SetCreateObjectInfo.

func (*MockApprovalCreateObjectTaskMockRecorder) SetCreateTime added in v0.2.4

func (mr *MockApprovalCreateObjectTaskMockRecorder) SetCreateTime(arg0 interface{}) *gomock.Call

SetCreateTime indicates an expected call of SetCreateTime.

func (*MockApprovalCreateObjectTaskMockRecorder) SetError added in v0.2.4

func (mr *MockApprovalCreateObjectTaskMockRecorder) SetError(arg0 interface{}) *gomock.Call

SetError indicates an expected call of SetError.

func (*MockApprovalCreateObjectTaskMockRecorder) SetExpiredHeight added in v0.2.4

func (mr *MockApprovalCreateObjectTaskMockRecorder) SetExpiredHeight(arg0 interface{}) *gomock.Call

SetExpiredHeight indicates an expected call of SetExpiredHeight.

func (*MockApprovalCreateObjectTaskMockRecorder) SetLogs added in v0.2.4

func (mr *MockApprovalCreateObjectTaskMockRecorder) SetLogs(logs interface{}) *gomock.Call

SetLogs indicates an expected call of SetLogs.

func (*MockApprovalCreateObjectTaskMockRecorder) SetMaxRetry added in v0.2.4

func (mr *MockApprovalCreateObjectTaskMockRecorder) SetMaxRetry(arg0 interface{}) *gomock.Call

SetMaxRetry indicates an expected call of SetMaxRetry.

func (*MockApprovalCreateObjectTaskMockRecorder) SetPriority added in v0.2.4

func (mr *MockApprovalCreateObjectTaskMockRecorder) SetPriority(arg0 interface{}) *gomock.Call

SetPriority indicates an expected call of SetPriority.

func (*MockApprovalCreateObjectTaskMockRecorder) SetRetry added in v0.2.4

func (mr *MockApprovalCreateObjectTaskMockRecorder) SetRetry(arg0 interface{}) *gomock.Call

SetRetry indicates an expected call of SetRetry.

func (*MockApprovalCreateObjectTaskMockRecorder) SetTimeout added in v0.2.4

func (mr *MockApprovalCreateObjectTaskMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call

SetTimeout indicates an expected call of SetTimeout.

func (*MockApprovalCreateObjectTaskMockRecorder) SetUpdateTime added in v0.2.4

func (mr *MockApprovalCreateObjectTaskMockRecorder) SetUpdateTime(arg0 interface{}) *gomock.Call

SetUpdateTime indicates an expected call of SetUpdateTime.

func (*MockApprovalCreateObjectTaskMockRecorder) SetUserAddress added in v0.2.4

func (mr *MockApprovalCreateObjectTaskMockRecorder) SetUserAddress(arg0 interface{}) *gomock.Call

SetUserAddress indicates an expected call of SetUserAddress.

func (*MockApprovalCreateObjectTaskMockRecorder) Type added in v0.2.4

Type indicates an expected call of Type.

type MockApprovalMigrateBucketTask added in v0.2.4

type MockApprovalMigrateBucketTask struct {
	// contains filtered or unexported fields
}

MockApprovalMigrateBucketTask is a mock of ApprovalMigrateBucketTask interface.

func NewMockApprovalMigrateBucketTask added in v0.2.4

func NewMockApprovalMigrateBucketTask(ctrl *gomock.Controller) *MockApprovalMigrateBucketTask

NewMockApprovalMigrateBucketTask creates a new mock instance.

func (*MockApprovalMigrateBucketTask) AppendLog added in v0.2.4

func (m *MockApprovalMigrateBucketTask) AppendLog(log string)

AppendLog mocks base method.

func (*MockApprovalMigrateBucketTask) EXPECT added in v0.2.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockApprovalMigrateBucketTask) Error added in v0.2.4

Error mocks base method.

func (*MockApprovalMigrateBucketTask) EstimateLimit added in v0.2.4

func (m *MockApprovalMigrateBucketTask) EstimateLimit() rcmgr.Limit

EstimateLimit mocks base method.

func (*MockApprovalMigrateBucketTask) ExceedRetry added in v0.2.4

func (m *MockApprovalMigrateBucketTask) ExceedRetry() bool

ExceedRetry mocks base method.

func (*MockApprovalMigrateBucketTask) ExceedTimeout added in v0.2.4

func (m *MockApprovalMigrateBucketTask) ExceedTimeout() bool

ExceedTimeout mocks base method.

func (*MockApprovalMigrateBucketTask) Expired added in v0.2.4

func (m *MockApprovalMigrateBucketTask) Expired() bool

Expired mocks base method.

func (*MockApprovalMigrateBucketTask) GetAddress added in v0.2.4

func (m *MockApprovalMigrateBucketTask) GetAddress() string

GetAddress mocks base method.

func (*MockApprovalMigrateBucketTask) GetCreateTime added in v0.2.4

func (m *MockApprovalMigrateBucketTask) GetCreateTime() int64

GetCreateTime mocks base method.

func (*MockApprovalMigrateBucketTask) GetExpiredHeight added in v0.2.4

func (m *MockApprovalMigrateBucketTask) GetExpiredHeight() uint64

GetExpiredHeight mocks base method.

func (*MockApprovalMigrateBucketTask) GetLogs added in v0.2.4

GetLogs mocks base method.

func (*MockApprovalMigrateBucketTask) GetMaxRetry added in v0.2.4

func (m *MockApprovalMigrateBucketTask) GetMaxRetry() int64

GetMaxRetry mocks base method.

func (*MockApprovalMigrateBucketTask) GetMigrateBucketInfo added in v0.2.4

func (m *MockApprovalMigrateBucketTask) GetMigrateBucketInfo() *types0.MsgMigrateBucket

GetMigrateBucketInfo mocks base method.

func (*MockApprovalMigrateBucketTask) GetPriority added in v0.2.4

func (m *MockApprovalMigrateBucketTask) GetPriority() TPriority

GetPriority mocks base method.

func (*MockApprovalMigrateBucketTask) GetRetry added in v0.2.4

func (m *MockApprovalMigrateBucketTask) GetRetry() int64

GetRetry mocks base method.

func (*MockApprovalMigrateBucketTask) GetTimeout added in v0.2.4

func (m *MockApprovalMigrateBucketTask) GetTimeout() int64

GetTimeout mocks base method.

func (*MockApprovalMigrateBucketTask) GetUpdateTime added in v0.2.4

func (m *MockApprovalMigrateBucketTask) GetUpdateTime() int64

GetUpdateTime mocks base method.

func (*MockApprovalMigrateBucketTask) GetUserAddress added in v0.2.4

func (m *MockApprovalMigrateBucketTask) GetUserAddress() string

GetUserAddress mocks base method.

func (*MockApprovalMigrateBucketTask) IncRetry added in v0.2.4

func (m *MockApprovalMigrateBucketTask) IncRetry()

IncRetry mocks base method.

func (*MockApprovalMigrateBucketTask) Info added in v0.2.4

Info mocks base method.

func (*MockApprovalMigrateBucketTask) InitApprovalMigrateBucketTask added in v0.2.4

func (m *MockApprovalMigrateBucketTask) InitApprovalMigrateBucketTask(arg0 *types0.MsgMigrateBucket, arg1 TPriority)

InitApprovalMigrateBucketTask mocks base method.

func (*MockApprovalMigrateBucketTask) Key added in v0.2.4

Key mocks base method.

func (*MockApprovalMigrateBucketTask) SetAddress added in v0.2.4

func (m *MockApprovalMigrateBucketTask) SetAddress(arg0 string)

SetAddress mocks base method.

func (*MockApprovalMigrateBucketTask) SetCreateTime added in v0.2.4

func (m *MockApprovalMigrateBucketTask) SetCreateTime(arg0 int64)

SetCreateTime mocks base method.

func (*MockApprovalMigrateBucketTask) SetError added in v0.2.4

func (m *MockApprovalMigrateBucketTask) SetError(arg0 error)

SetError mocks base method.

func (*MockApprovalMigrateBucketTask) SetExpiredHeight added in v0.2.4

func (m *MockApprovalMigrateBucketTask) SetExpiredHeight(arg0 uint64)

SetExpiredHeight mocks base method.

func (*MockApprovalMigrateBucketTask) SetLogs added in v0.2.4

func (m *MockApprovalMigrateBucketTask) SetLogs(logs string)

SetLogs mocks base method.

func (*MockApprovalMigrateBucketTask) SetMaxRetry added in v0.2.4

func (m *MockApprovalMigrateBucketTask) SetMaxRetry(arg0 int64)

SetMaxRetry mocks base method.

func (*MockApprovalMigrateBucketTask) SetMigrateBucketInfo added in v0.2.4

func (m *MockApprovalMigrateBucketTask) SetMigrateBucketInfo(arg0 *types0.MsgMigrateBucket)

SetMigrateBucketInfo mocks base method.

func (*MockApprovalMigrateBucketTask) SetPriority added in v0.2.4

func (m *MockApprovalMigrateBucketTask) SetPriority(arg0 TPriority)

SetPriority mocks base method.

func (*MockApprovalMigrateBucketTask) SetRetry added in v0.2.4

func (m *MockApprovalMigrateBucketTask) SetRetry(arg0 int64)

SetRetry mocks base method.

func (*MockApprovalMigrateBucketTask) SetTimeout added in v0.2.4

func (m *MockApprovalMigrateBucketTask) SetTimeout(arg0 int64)

SetTimeout mocks base method.

func (*MockApprovalMigrateBucketTask) SetUpdateTime added in v0.2.4

func (m *MockApprovalMigrateBucketTask) SetUpdateTime(arg0 int64)

SetUpdateTime mocks base method.

func (*MockApprovalMigrateBucketTask) SetUserAddress added in v0.2.4

func (m *MockApprovalMigrateBucketTask) SetUserAddress(arg0 string)

SetUserAddress mocks base method.

func (*MockApprovalMigrateBucketTask) Type added in v0.2.4

Type mocks base method.

type MockApprovalMigrateBucketTaskMockRecorder added in v0.2.4

type MockApprovalMigrateBucketTaskMockRecorder struct {
	// contains filtered or unexported fields
}

MockApprovalMigrateBucketTaskMockRecorder is the mock recorder for MockApprovalMigrateBucketTask.

func (*MockApprovalMigrateBucketTaskMockRecorder) AppendLog added in v0.2.4

func (mr *MockApprovalMigrateBucketTaskMockRecorder) AppendLog(log interface{}) *gomock.Call

AppendLog indicates an expected call of AppendLog.

func (*MockApprovalMigrateBucketTaskMockRecorder) Error added in v0.2.4

Error indicates an expected call of Error.

func (*MockApprovalMigrateBucketTaskMockRecorder) EstimateLimit added in v0.2.4

EstimateLimit indicates an expected call of EstimateLimit.

func (*MockApprovalMigrateBucketTaskMockRecorder) ExceedRetry added in v0.2.4

ExceedRetry indicates an expected call of ExceedRetry.

func (*MockApprovalMigrateBucketTaskMockRecorder) ExceedTimeout added in v0.2.4

ExceedTimeout indicates an expected call of ExceedTimeout.

func (*MockApprovalMigrateBucketTaskMockRecorder) Expired added in v0.2.4

Expired indicates an expected call of Expired.

func (*MockApprovalMigrateBucketTaskMockRecorder) GetAddress added in v0.2.4

GetAddress indicates an expected call of GetAddress.

func (*MockApprovalMigrateBucketTaskMockRecorder) GetCreateTime added in v0.2.4

GetCreateTime indicates an expected call of GetCreateTime.

func (*MockApprovalMigrateBucketTaskMockRecorder) GetExpiredHeight added in v0.2.4

func (mr *MockApprovalMigrateBucketTaskMockRecorder) GetExpiredHeight() *gomock.Call

GetExpiredHeight indicates an expected call of GetExpiredHeight.

func (*MockApprovalMigrateBucketTaskMockRecorder) GetLogs added in v0.2.4

GetLogs indicates an expected call of GetLogs.

func (*MockApprovalMigrateBucketTaskMockRecorder) GetMaxRetry added in v0.2.4

GetMaxRetry indicates an expected call of GetMaxRetry.

func (*MockApprovalMigrateBucketTaskMockRecorder) GetMigrateBucketInfo added in v0.2.4

func (mr *MockApprovalMigrateBucketTaskMockRecorder) GetMigrateBucketInfo() *gomock.Call

GetMigrateBucketInfo indicates an expected call of GetMigrateBucketInfo.

func (*MockApprovalMigrateBucketTaskMockRecorder) GetPriority added in v0.2.4

GetPriority indicates an expected call of GetPriority.

func (*MockApprovalMigrateBucketTaskMockRecorder) GetRetry added in v0.2.4

GetRetry indicates an expected call of GetRetry.

func (*MockApprovalMigrateBucketTaskMockRecorder) GetTimeout added in v0.2.4

GetTimeout indicates an expected call of GetTimeout.

func (*MockApprovalMigrateBucketTaskMockRecorder) GetUpdateTime added in v0.2.4

GetUpdateTime indicates an expected call of GetUpdateTime.

func (*MockApprovalMigrateBucketTaskMockRecorder) GetUserAddress added in v0.2.4

GetUserAddress indicates an expected call of GetUserAddress.

func (*MockApprovalMigrateBucketTaskMockRecorder) IncRetry added in v0.2.4

IncRetry indicates an expected call of IncRetry.

func (*MockApprovalMigrateBucketTaskMockRecorder) Info added in v0.2.4

Info indicates an expected call of Info.

func (*MockApprovalMigrateBucketTaskMockRecorder) InitApprovalMigrateBucketTask added in v0.2.4

func (mr *MockApprovalMigrateBucketTaskMockRecorder) InitApprovalMigrateBucketTask(arg0, arg1 interface{}) *gomock.Call

InitApprovalMigrateBucketTask indicates an expected call of InitApprovalMigrateBucketTask.

func (*MockApprovalMigrateBucketTaskMockRecorder) Key added in v0.2.4

Key indicates an expected call of Key.

func (*MockApprovalMigrateBucketTaskMockRecorder) SetAddress added in v0.2.4

func (mr *MockApprovalMigrateBucketTaskMockRecorder) SetAddress(arg0 interface{}) *gomock.Call

SetAddress indicates an expected call of SetAddress.

func (*MockApprovalMigrateBucketTaskMockRecorder) SetCreateTime added in v0.2.4

func (mr *MockApprovalMigrateBucketTaskMockRecorder) SetCreateTime(arg0 interface{}) *gomock.Call

SetCreateTime indicates an expected call of SetCreateTime.

func (*MockApprovalMigrateBucketTaskMockRecorder) SetError added in v0.2.4

func (mr *MockApprovalMigrateBucketTaskMockRecorder) SetError(arg0 interface{}) *gomock.Call

SetError indicates an expected call of SetError.

func (*MockApprovalMigrateBucketTaskMockRecorder) SetExpiredHeight added in v0.2.4

func (mr *MockApprovalMigrateBucketTaskMockRecorder) SetExpiredHeight(arg0 interface{}) *gomock.Call

SetExpiredHeight indicates an expected call of SetExpiredHeight.

func (*MockApprovalMigrateBucketTaskMockRecorder) SetLogs added in v0.2.4

func (mr *MockApprovalMigrateBucketTaskMockRecorder) SetLogs(logs interface{}) *gomock.Call

SetLogs indicates an expected call of SetLogs.

func (*MockApprovalMigrateBucketTaskMockRecorder) SetMaxRetry added in v0.2.4

func (mr *MockApprovalMigrateBucketTaskMockRecorder) SetMaxRetry(arg0 interface{}) *gomock.Call

SetMaxRetry indicates an expected call of SetMaxRetry.

func (*MockApprovalMigrateBucketTaskMockRecorder) SetMigrateBucketInfo added in v0.2.4

func (mr *MockApprovalMigrateBucketTaskMockRecorder) SetMigrateBucketInfo(arg0 interface{}) *gomock.Call

SetMigrateBucketInfo indicates an expected call of SetMigrateBucketInfo.

func (*MockApprovalMigrateBucketTaskMockRecorder) SetPriority added in v0.2.4

func (mr *MockApprovalMigrateBucketTaskMockRecorder) SetPriority(arg0 interface{}) *gomock.Call

SetPriority indicates an expected call of SetPriority.

func (*MockApprovalMigrateBucketTaskMockRecorder) SetRetry added in v0.2.4

func (mr *MockApprovalMigrateBucketTaskMockRecorder) SetRetry(arg0 interface{}) *gomock.Call

SetRetry indicates an expected call of SetRetry.

func (*MockApprovalMigrateBucketTaskMockRecorder) SetTimeout added in v0.2.4

func (mr *MockApprovalMigrateBucketTaskMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call

SetTimeout indicates an expected call of SetTimeout.

func (*MockApprovalMigrateBucketTaskMockRecorder) SetUpdateTime added in v0.2.4

func (mr *MockApprovalMigrateBucketTaskMockRecorder) SetUpdateTime(arg0 interface{}) *gomock.Call

SetUpdateTime indicates an expected call of SetUpdateTime.

func (*MockApprovalMigrateBucketTaskMockRecorder) SetUserAddress added in v0.2.4

func (mr *MockApprovalMigrateBucketTaskMockRecorder) SetUserAddress(arg0 interface{}) *gomock.Call

SetUserAddress indicates an expected call of SetUserAddress.

func (*MockApprovalMigrateBucketTaskMockRecorder) Type added in v0.2.4

Type indicates an expected call of Type.

type MockApprovalReplicatePieceTask added in v0.2.4

type MockApprovalReplicatePieceTask struct {
	// contains filtered or unexported fields
}

MockApprovalReplicatePieceTask is a mock of ApprovalReplicatePieceTask interface.

func NewMockApprovalReplicatePieceTask added in v0.2.4

func NewMockApprovalReplicatePieceTask(ctrl *gomock.Controller) *MockApprovalReplicatePieceTask

NewMockApprovalReplicatePieceTask creates a new mock instance.

func (*MockApprovalReplicatePieceTask) AppendLog added in v0.2.4

func (m *MockApprovalReplicatePieceTask) AppendLog(log string)

AppendLog mocks base method.

func (*MockApprovalReplicatePieceTask) EXPECT added in v0.2.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockApprovalReplicatePieceTask) Error added in v0.2.4

Error mocks base method.

func (*MockApprovalReplicatePieceTask) EstimateLimit added in v0.2.4

func (m *MockApprovalReplicatePieceTask) EstimateLimit() rcmgr.Limit

EstimateLimit mocks base method.

func (*MockApprovalReplicatePieceTask) ExceedRetry added in v0.2.4

func (m *MockApprovalReplicatePieceTask) ExceedRetry() bool

ExceedRetry mocks base method.

func (*MockApprovalReplicatePieceTask) ExceedTimeout added in v0.2.4

func (m *MockApprovalReplicatePieceTask) ExceedTimeout() bool

ExceedTimeout mocks base method.

func (*MockApprovalReplicatePieceTask) Expired added in v0.2.4

func (m *MockApprovalReplicatePieceTask) Expired() bool

Expired mocks base method.

func (*MockApprovalReplicatePieceTask) GetAddress added in v0.2.4

func (m *MockApprovalReplicatePieceTask) GetAddress() string

GetAddress mocks base method.

func (*MockApprovalReplicatePieceTask) GetApprovedSignature added in v0.2.4

func (m *MockApprovalReplicatePieceTask) GetApprovedSignature() []byte

GetApprovedSignature mocks base method.

func (*MockApprovalReplicatePieceTask) GetApprovedSpApprovalAddress added in v0.2.4

func (m *MockApprovalReplicatePieceTask) GetApprovedSpApprovalAddress() string

GetApprovedSpApprovalAddress mocks base method.

func (*MockApprovalReplicatePieceTask) GetApprovedSpEndpoint added in v0.2.4

func (m *MockApprovalReplicatePieceTask) GetApprovedSpEndpoint() string

GetApprovedSpEndpoint mocks base method.

func (*MockApprovalReplicatePieceTask) GetApprovedSpOperatorAddress added in v0.2.4

func (m *MockApprovalReplicatePieceTask) GetApprovedSpOperatorAddress() string

GetApprovedSpOperatorAddress mocks base method.

func (*MockApprovalReplicatePieceTask) GetAskSignature added in v0.2.4

func (m *MockApprovalReplicatePieceTask) GetAskSignature() []byte

GetAskSignature mocks base method.

func (*MockApprovalReplicatePieceTask) GetAskSpOperatorAddress added in v0.2.4

func (m *MockApprovalReplicatePieceTask) GetAskSpOperatorAddress() string

GetAskSpOperatorAddress mocks base method.

func (*MockApprovalReplicatePieceTask) GetCreateTime added in v0.2.4

func (m *MockApprovalReplicatePieceTask) GetCreateTime() int64

GetCreateTime mocks base method.

func (*MockApprovalReplicatePieceTask) GetExpiredHeight added in v0.2.4

func (m *MockApprovalReplicatePieceTask) GetExpiredHeight() uint64

GetExpiredHeight mocks base method.

func (*MockApprovalReplicatePieceTask) GetLogs added in v0.2.4

GetLogs mocks base method.

func (*MockApprovalReplicatePieceTask) GetMaxRetry added in v0.2.4

func (m *MockApprovalReplicatePieceTask) GetMaxRetry() int64

GetMaxRetry mocks base method.

func (*MockApprovalReplicatePieceTask) GetObjectInfo added in v0.2.4

func (m *MockApprovalReplicatePieceTask) GetObjectInfo() *types0.ObjectInfo

GetObjectInfo mocks base method.

func (*MockApprovalReplicatePieceTask) GetPriority added in v0.2.4

func (m *MockApprovalReplicatePieceTask) GetPriority() TPriority

GetPriority mocks base method.

func (*MockApprovalReplicatePieceTask) GetRetry added in v0.2.4

func (m *MockApprovalReplicatePieceTask) GetRetry() int64

GetRetry mocks base method.

func (*MockApprovalReplicatePieceTask) GetSignBytes added in v0.2.4

func (m *MockApprovalReplicatePieceTask) GetSignBytes() []byte

GetSignBytes mocks base method.

func (*MockApprovalReplicatePieceTask) GetStorageParams added in v0.2.4

func (m *MockApprovalReplicatePieceTask) GetStorageParams() *types0.Params

GetStorageParams mocks base method.

func (*MockApprovalReplicatePieceTask) GetTimeout added in v0.2.4

func (m *MockApprovalReplicatePieceTask) GetTimeout() int64

GetTimeout mocks base method.

func (*MockApprovalReplicatePieceTask) GetUpdateTime added in v0.2.4

func (m *MockApprovalReplicatePieceTask) GetUpdateTime() int64

GetUpdateTime mocks base method.

func (*MockApprovalReplicatePieceTask) GetUserAddress added in v0.2.4

func (m *MockApprovalReplicatePieceTask) GetUserAddress() string

GetUserAddress mocks base method.

func (*MockApprovalReplicatePieceTask) IncRetry added in v0.2.4

func (m *MockApprovalReplicatePieceTask) IncRetry()

IncRetry mocks base method.

func (*MockApprovalReplicatePieceTask) Info added in v0.2.4

Info mocks base method.

func (*MockApprovalReplicatePieceTask) InitApprovalReplicatePieceTask added in v0.2.4

func (m *MockApprovalReplicatePieceTask) InitApprovalReplicatePieceTask(object *types0.ObjectInfo, params *types0.Params, priority TPriority, askOpAddress string)

InitApprovalReplicatePieceTask mocks base method.

func (*MockApprovalReplicatePieceTask) Key added in v0.2.4

Key mocks base method.

func (*MockApprovalReplicatePieceTask) SetAddress added in v0.2.4

func (m *MockApprovalReplicatePieceTask) SetAddress(arg0 string)

SetAddress mocks base method.

func (*MockApprovalReplicatePieceTask) SetApprovedSignature added in v0.2.4

func (m *MockApprovalReplicatePieceTask) SetApprovedSignature(arg0 []byte)

SetApprovedSignature mocks base method.

func (*MockApprovalReplicatePieceTask) SetApprovedSpApprovalAddress added in v0.2.4

func (m *MockApprovalReplicatePieceTask) SetApprovedSpApprovalAddress(arg0 string)

SetApprovedSpApprovalAddress mocks base method.

func (*MockApprovalReplicatePieceTask) SetApprovedSpEndpoint added in v0.2.4

func (m *MockApprovalReplicatePieceTask) SetApprovedSpEndpoint(arg0 string)

SetApprovedSpEndpoint mocks base method.

func (*MockApprovalReplicatePieceTask) SetApprovedSpOperatorAddress added in v0.2.4

func (m *MockApprovalReplicatePieceTask) SetApprovedSpOperatorAddress(arg0 string)

SetApprovedSpOperatorAddress mocks base method.

func (*MockApprovalReplicatePieceTask) SetAskSignature added in v0.2.4

func (m *MockApprovalReplicatePieceTask) SetAskSignature(arg0 []byte)

SetAskSignature mocks base method.

func (*MockApprovalReplicatePieceTask) SetAskSpOperatorAddress added in v0.2.4

func (m *MockApprovalReplicatePieceTask) SetAskSpOperatorAddress(arg0 string)

SetAskSpOperatorAddress mocks base method.

func (*MockApprovalReplicatePieceTask) SetCreateTime added in v0.2.4

func (m *MockApprovalReplicatePieceTask) SetCreateTime(arg0 int64)

SetCreateTime mocks base method.

func (*MockApprovalReplicatePieceTask) SetError added in v0.2.4

func (m *MockApprovalReplicatePieceTask) SetError(arg0 error)

SetError mocks base method.

func (*MockApprovalReplicatePieceTask) SetExpiredHeight added in v0.2.4

func (m *MockApprovalReplicatePieceTask) SetExpiredHeight(arg0 uint64)

SetExpiredHeight mocks base method.

func (*MockApprovalReplicatePieceTask) SetLogs added in v0.2.4

func (m *MockApprovalReplicatePieceTask) SetLogs(logs string)

SetLogs mocks base method.

func (*MockApprovalReplicatePieceTask) SetMaxRetry added in v0.2.4

func (m *MockApprovalReplicatePieceTask) SetMaxRetry(arg0 int64)

SetMaxRetry mocks base method.

func (*MockApprovalReplicatePieceTask) SetObjectInfo added in v0.2.4

func (m *MockApprovalReplicatePieceTask) SetObjectInfo(arg0 *types0.ObjectInfo)

SetObjectInfo mocks base method.

func (*MockApprovalReplicatePieceTask) SetPriority added in v0.2.4

func (m *MockApprovalReplicatePieceTask) SetPriority(arg0 TPriority)

SetPriority mocks base method.

func (*MockApprovalReplicatePieceTask) SetRetry added in v0.2.4

func (m *MockApprovalReplicatePieceTask) SetRetry(arg0 int64)

SetRetry mocks base method.

func (*MockApprovalReplicatePieceTask) SetStorageParams added in v0.2.4

func (m *MockApprovalReplicatePieceTask) SetStorageParams(arg0 *types0.Params)

SetStorageParams mocks base method.

func (*MockApprovalReplicatePieceTask) SetTimeout added in v0.2.4

func (m *MockApprovalReplicatePieceTask) SetTimeout(arg0 int64)

SetTimeout mocks base method.

func (*MockApprovalReplicatePieceTask) SetUpdateTime added in v0.2.4

func (m *MockApprovalReplicatePieceTask) SetUpdateTime(arg0 int64)

SetUpdateTime mocks base method.

func (*MockApprovalReplicatePieceTask) SetUserAddress added in v0.2.4

func (m *MockApprovalReplicatePieceTask) SetUserAddress(arg0 string)

SetUserAddress mocks base method.

func (*MockApprovalReplicatePieceTask) Type added in v0.2.4

Type mocks base method.

type MockApprovalReplicatePieceTaskMockRecorder added in v0.2.4

type MockApprovalReplicatePieceTaskMockRecorder struct {
	// contains filtered or unexported fields
}

MockApprovalReplicatePieceTaskMockRecorder is the mock recorder for MockApprovalReplicatePieceTask.

func (*MockApprovalReplicatePieceTaskMockRecorder) AppendLog added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) AppendLog(log interface{}) *gomock.Call

AppendLog indicates an expected call of AppendLog.

func (*MockApprovalReplicatePieceTaskMockRecorder) Error added in v0.2.4

Error indicates an expected call of Error.

func (*MockApprovalReplicatePieceTaskMockRecorder) EstimateLimit added in v0.2.4

EstimateLimit indicates an expected call of EstimateLimit.

func (*MockApprovalReplicatePieceTaskMockRecorder) ExceedRetry added in v0.2.4

ExceedRetry indicates an expected call of ExceedRetry.

func (*MockApprovalReplicatePieceTaskMockRecorder) ExceedTimeout added in v0.2.4

ExceedTimeout indicates an expected call of ExceedTimeout.

func (*MockApprovalReplicatePieceTaskMockRecorder) Expired added in v0.2.4

Expired indicates an expected call of Expired.

func (*MockApprovalReplicatePieceTaskMockRecorder) GetAddress added in v0.2.4

GetAddress indicates an expected call of GetAddress.

func (*MockApprovalReplicatePieceTaskMockRecorder) GetApprovedSignature added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) GetApprovedSignature() *gomock.Call

GetApprovedSignature indicates an expected call of GetApprovedSignature.

func (*MockApprovalReplicatePieceTaskMockRecorder) GetApprovedSpApprovalAddress added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) GetApprovedSpApprovalAddress() *gomock.Call

GetApprovedSpApprovalAddress indicates an expected call of GetApprovedSpApprovalAddress.

func (*MockApprovalReplicatePieceTaskMockRecorder) GetApprovedSpEndpoint added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) GetApprovedSpEndpoint() *gomock.Call

GetApprovedSpEndpoint indicates an expected call of GetApprovedSpEndpoint.

func (*MockApprovalReplicatePieceTaskMockRecorder) GetApprovedSpOperatorAddress added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) GetApprovedSpOperatorAddress() *gomock.Call

GetApprovedSpOperatorAddress indicates an expected call of GetApprovedSpOperatorAddress.

func (*MockApprovalReplicatePieceTaskMockRecorder) GetAskSignature added in v0.2.4

GetAskSignature indicates an expected call of GetAskSignature.

func (*MockApprovalReplicatePieceTaskMockRecorder) GetAskSpOperatorAddress added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) GetAskSpOperatorAddress() *gomock.Call

GetAskSpOperatorAddress indicates an expected call of GetAskSpOperatorAddress.

func (*MockApprovalReplicatePieceTaskMockRecorder) GetCreateTime added in v0.2.4

GetCreateTime indicates an expected call of GetCreateTime.

func (*MockApprovalReplicatePieceTaskMockRecorder) GetExpiredHeight added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) GetExpiredHeight() *gomock.Call

GetExpiredHeight indicates an expected call of GetExpiredHeight.

func (*MockApprovalReplicatePieceTaskMockRecorder) GetLogs added in v0.2.4

GetLogs indicates an expected call of GetLogs.

func (*MockApprovalReplicatePieceTaskMockRecorder) GetMaxRetry added in v0.2.4

GetMaxRetry indicates an expected call of GetMaxRetry.

func (*MockApprovalReplicatePieceTaskMockRecorder) GetObjectInfo added in v0.2.4

GetObjectInfo indicates an expected call of GetObjectInfo.

func (*MockApprovalReplicatePieceTaskMockRecorder) GetPriority added in v0.2.4

GetPriority indicates an expected call of GetPriority.

func (*MockApprovalReplicatePieceTaskMockRecorder) GetRetry added in v0.2.4

GetRetry indicates an expected call of GetRetry.

func (*MockApprovalReplicatePieceTaskMockRecorder) GetSignBytes added in v0.2.4

GetSignBytes indicates an expected call of GetSignBytes.

func (*MockApprovalReplicatePieceTaskMockRecorder) GetStorageParams added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) GetStorageParams() *gomock.Call

GetStorageParams indicates an expected call of GetStorageParams.

func (*MockApprovalReplicatePieceTaskMockRecorder) GetTimeout added in v0.2.4

GetTimeout indicates an expected call of GetTimeout.

func (*MockApprovalReplicatePieceTaskMockRecorder) GetUpdateTime added in v0.2.4

GetUpdateTime indicates an expected call of GetUpdateTime.

func (*MockApprovalReplicatePieceTaskMockRecorder) GetUserAddress added in v0.2.4

GetUserAddress indicates an expected call of GetUserAddress.

func (*MockApprovalReplicatePieceTaskMockRecorder) IncRetry added in v0.2.4

IncRetry indicates an expected call of IncRetry.

func (*MockApprovalReplicatePieceTaskMockRecorder) Info added in v0.2.4

Info indicates an expected call of Info.

func (*MockApprovalReplicatePieceTaskMockRecorder) InitApprovalReplicatePieceTask added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) InitApprovalReplicatePieceTask(object, params, priority, askOpAddress interface{}) *gomock.Call

InitApprovalReplicatePieceTask indicates an expected call of InitApprovalReplicatePieceTask.

func (*MockApprovalReplicatePieceTaskMockRecorder) Key added in v0.2.4

Key indicates an expected call of Key.

func (*MockApprovalReplicatePieceTaskMockRecorder) SetAddress added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) SetAddress(arg0 interface{}) *gomock.Call

SetAddress indicates an expected call of SetAddress.

func (*MockApprovalReplicatePieceTaskMockRecorder) SetApprovedSignature added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) SetApprovedSignature(arg0 interface{}) *gomock.Call

SetApprovedSignature indicates an expected call of SetApprovedSignature.

func (*MockApprovalReplicatePieceTaskMockRecorder) SetApprovedSpApprovalAddress added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) SetApprovedSpApprovalAddress(arg0 interface{}) *gomock.Call

SetApprovedSpApprovalAddress indicates an expected call of SetApprovedSpApprovalAddress.

func (*MockApprovalReplicatePieceTaskMockRecorder) SetApprovedSpEndpoint added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) SetApprovedSpEndpoint(arg0 interface{}) *gomock.Call

SetApprovedSpEndpoint indicates an expected call of SetApprovedSpEndpoint.

func (*MockApprovalReplicatePieceTaskMockRecorder) SetApprovedSpOperatorAddress added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) SetApprovedSpOperatorAddress(arg0 interface{}) *gomock.Call

SetApprovedSpOperatorAddress indicates an expected call of SetApprovedSpOperatorAddress.

func (*MockApprovalReplicatePieceTaskMockRecorder) SetAskSignature added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) SetAskSignature(arg0 interface{}) *gomock.Call

SetAskSignature indicates an expected call of SetAskSignature.

func (*MockApprovalReplicatePieceTaskMockRecorder) SetAskSpOperatorAddress added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) SetAskSpOperatorAddress(arg0 interface{}) *gomock.Call

SetAskSpOperatorAddress indicates an expected call of SetAskSpOperatorAddress.

func (*MockApprovalReplicatePieceTaskMockRecorder) SetCreateTime added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) SetCreateTime(arg0 interface{}) *gomock.Call

SetCreateTime indicates an expected call of SetCreateTime.

func (*MockApprovalReplicatePieceTaskMockRecorder) SetError added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) SetError(arg0 interface{}) *gomock.Call

SetError indicates an expected call of SetError.

func (*MockApprovalReplicatePieceTaskMockRecorder) SetExpiredHeight added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) SetExpiredHeight(arg0 interface{}) *gomock.Call

SetExpiredHeight indicates an expected call of SetExpiredHeight.

func (*MockApprovalReplicatePieceTaskMockRecorder) SetLogs added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) SetLogs(logs interface{}) *gomock.Call

SetLogs indicates an expected call of SetLogs.

func (*MockApprovalReplicatePieceTaskMockRecorder) SetMaxRetry added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) SetMaxRetry(arg0 interface{}) *gomock.Call

SetMaxRetry indicates an expected call of SetMaxRetry.

func (*MockApprovalReplicatePieceTaskMockRecorder) SetObjectInfo added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) SetObjectInfo(arg0 interface{}) *gomock.Call

SetObjectInfo indicates an expected call of SetObjectInfo.

func (*MockApprovalReplicatePieceTaskMockRecorder) SetPriority added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) SetPriority(arg0 interface{}) *gomock.Call

SetPriority indicates an expected call of SetPriority.

func (*MockApprovalReplicatePieceTaskMockRecorder) SetRetry added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) SetRetry(arg0 interface{}) *gomock.Call

SetRetry indicates an expected call of SetRetry.

func (*MockApprovalReplicatePieceTaskMockRecorder) SetStorageParams added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) SetStorageParams(arg0 interface{}) *gomock.Call

SetStorageParams indicates an expected call of SetStorageParams.

func (*MockApprovalReplicatePieceTaskMockRecorder) SetTimeout added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call

SetTimeout indicates an expected call of SetTimeout.

func (*MockApprovalReplicatePieceTaskMockRecorder) SetUpdateTime added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) SetUpdateTime(arg0 interface{}) *gomock.Call

SetUpdateTime indicates an expected call of SetUpdateTime.

func (*MockApprovalReplicatePieceTaskMockRecorder) SetUserAddress added in v0.2.4

func (mr *MockApprovalReplicatePieceTaskMockRecorder) SetUserAddress(arg0 interface{}) *gomock.Call

SetUserAddress indicates an expected call of SetUserAddress.

func (*MockApprovalReplicatePieceTaskMockRecorder) Type added in v0.2.4

Type indicates an expected call of Type.

type MockApprovalTask added in v0.2.4

type MockApprovalTask struct {
	// contains filtered or unexported fields
}

MockApprovalTask is a mock of ApprovalTask interface.

func NewMockApprovalTask added in v0.2.4

func NewMockApprovalTask(ctrl *gomock.Controller) *MockApprovalTask

NewMockApprovalTask creates a new mock instance.

func (*MockApprovalTask) AppendLog added in v0.2.4

func (m *MockApprovalTask) AppendLog(log string)

AppendLog mocks base method.

func (*MockApprovalTask) EXPECT added in v0.2.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockApprovalTask) Error added in v0.2.4

func (m *MockApprovalTask) Error() error

Error mocks base method.

func (*MockApprovalTask) EstimateLimit added in v0.2.4

func (m *MockApprovalTask) EstimateLimit() rcmgr.Limit

EstimateLimit mocks base method.

func (*MockApprovalTask) ExceedRetry added in v0.2.4

func (m *MockApprovalTask) ExceedRetry() bool

ExceedRetry mocks base method.

func (*MockApprovalTask) ExceedTimeout added in v0.2.4

func (m *MockApprovalTask) ExceedTimeout() bool

ExceedTimeout mocks base method.

func (*MockApprovalTask) Expired added in v0.2.4

func (m *MockApprovalTask) Expired() bool

Expired mocks base method.

func (*MockApprovalTask) GetAddress added in v0.2.4

func (m *MockApprovalTask) GetAddress() string

GetAddress mocks base method.

func (*MockApprovalTask) GetCreateTime added in v0.2.4

func (m *MockApprovalTask) GetCreateTime() int64

GetCreateTime mocks base method.

func (*MockApprovalTask) GetExpiredHeight added in v0.2.4

func (m *MockApprovalTask) GetExpiredHeight() uint64

GetExpiredHeight mocks base method.

func (*MockApprovalTask) GetLogs added in v0.2.4

func (m *MockApprovalTask) GetLogs() string

GetLogs mocks base method.

func (*MockApprovalTask) GetMaxRetry added in v0.2.4

func (m *MockApprovalTask) GetMaxRetry() int64

GetMaxRetry mocks base method.

func (*MockApprovalTask) GetPriority added in v0.2.4

func (m *MockApprovalTask) GetPriority() TPriority

GetPriority mocks base method.

func (*MockApprovalTask) GetRetry added in v0.2.4

func (m *MockApprovalTask) GetRetry() int64

GetRetry mocks base method.

func (*MockApprovalTask) GetTimeout added in v0.2.4

func (m *MockApprovalTask) GetTimeout() int64

GetTimeout mocks base method.

func (*MockApprovalTask) GetUpdateTime added in v0.2.4

func (m *MockApprovalTask) GetUpdateTime() int64

GetUpdateTime mocks base method.

func (*MockApprovalTask) GetUserAddress added in v0.2.4

func (m *MockApprovalTask) GetUserAddress() string

GetUserAddress mocks base method.

func (*MockApprovalTask) IncRetry added in v0.2.4

func (m *MockApprovalTask) IncRetry()

IncRetry mocks base method.

func (*MockApprovalTask) Info added in v0.2.4

func (m *MockApprovalTask) Info() string

Info mocks base method.

func (*MockApprovalTask) Key added in v0.2.4

func (m *MockApprovalTask) Key() TKey

Key mocks base method.

func (*MockApprovalTask) SetAddress added in v0.2.4

func (m *MockApprovalTask) SetAddress(arg0 string)

SetAddress mocks base method.

func (*MockApprovalTask) SetCreateTime added in v0.2.4

func (m *MockApprovalTask) SetCreateTime(arg0 int64)

SetCreateTime mocks base method.

func (*MockApprovalTask) SetError added in v0.2.4

func (m *MockApprovalTask) SetError(arg0 error)

SetError mocks base method.

func (*MockApprovalTask) SetExpiredHeight added in v0.2.4

func (m *MockApprovalTask) SetExpiredHeight(arg0 uint64)

SetExpiredHeight mocks base method.

func (*MockApprovalTask) SetLogs added in v0.2.4

func (m *MockApprovalTask) SetLogs(logs string)

SetLogs mocks base method.

func (*MockApprovalTask) SetMaxRetry added in v0.2.4

func (m *MockApprovalTask) SetMaxRetry(arg0 int64)

SetMaxRetry mocks base method.

func (*MockApprovalTask) SetPriority added in v0.2.4

func (m *MockApprovalTask) SetPriority(arg0 TPriority)

SetPriority mocks base method.

func (*MockApprovalTask) SetRetry added in v0.2.4

func (m *MockApprovalTask) SetRetry(arg0 int64)

SetRetry mocks base method.

func (*MockApprovalTask) SetTimeout added in v0.2.4

func (m *MockApprovalTask) SetTimeout(arg0 int64)

SetTimeout mocks base method.

func (*MockApprovalTask) SetUpdateTime added in v0.2.4

func (m *MockApprovalTask) SetUpdateTime(arg0 int64)

SetUpdateTime mocks base method.

func (*MockApprovalTask) SetUserAddress added in v0.2.4

func (m *MockApprovalTask) SetUserAddress(arg0 string)

SetUserAddress mocks base method.

func (*MockApprovalTask) Type added in v0.2.4

func (m *MockApprovalTask) Type() TType

Type mocks base method.

type MockApprovalTaskMockRecorder added in v0.2.4

type MockApprovalTaskMockRecorder struct {
	// contains filtered or unexported fields
}

MockApprovalTaskMockRecorder is the mock recorder for MockApprovalTask.

func (*MockApprovalTaskMockRecorder) AppendLog added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) AppendLog(log interface{}) *gomock.Call

AppendLog indicates an expected call of AppendLog.

func (*MockApprovalTaskMockRecorder) Error added in v0.2.4

Error indicates an expected call of Error.

func (*MockApprovalTaskMockRecorder) EstimateLimit added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) EstimateLimit() *gomock.Call

EstimateLimit indicates an expected call of EstimateLimit.

func (*MockApprovalTaskMockRecorder) ExceedRetry added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) ExceedRetry() *gomock.Call

ExceedRetry indicates an expected call of ExceedRetry.

func (*MockApprovalTaskMockRecorder) ExceedTimeout added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) ExceedTimeout() *gomock.Call

ExceedTimeout indicates an expected call of ExceedTimeout.

func (*MockApprovalTaskMockRecorder) Expired added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) Expired() *gomock.Call

Expired indicates an expected call of Expired.

func (*MockApprovalTaskMockRecorder) GetAddress added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) GetAddress() *gomock.Call

GetAddress indicates an expected call of GetAddress.

func (*MockApprovalTaskMockRecorder) GetCreateTime added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) GetCreateTime() *gomock.Call

GetCreateTime indicates an expected call of GetCreateTime.

func (*MockApprovalTaskMockRecorder) GetExpiredHeight added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) GetExpiredHeight() *gomock.Call

GetExpiredHeight indicates an expected call of GetExpiredHeight.

func (*MockApprovalTaskMockRecorder) GetLogs added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) GetLogs() *gomock.Call

GetLogs indicates an expected call of GetLogs.

func (*MockApprovalTaskMockRecorder) GetMaxRetry added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) GetMaxRetry() *gomock.Call

GetMaxRetry indicates an expected call of GetMaxRetry.

func (*MockApprovalTaskMockRecorder) GetPriority added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) GetPriority() *gomock.Call

GetPriority indicates an expected call of GetPriority.

func (*MockApprovalTaskMockRecorder) GetRetry added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) GetRetry() *gomock.Call

GetRetry indicates an expected call of GetRetry.

func (*MockApprovalTaskMockRecorder) GetTimeout added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) GetTimeout() *gomock.Call

GetTimeout indicates an expected call of GetTimeout.

func (*MockApprovalTaskMockRecorder) GetUpdateTime added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) GetUpdateTime() *gomock.Call

GetUpdateTime indicates an expected call of GetUpdateTime.

func (*MockApprovalTaskMockRecorder) GetUserAddress added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) GetUserAddress() *gomock.Call

GetUserAddress indicates an expected call of GetUserAddress.

func (*MockApprovalTaskMockRecorder) IncRetry added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) IncRetry() *gomock.Call

IncRetry indicates an expected call of IncRetry.

func (*MockApprovalTaskMockRecorder) Info added in v0.2.4

Info indicates an expected call of Info.

func (*MockApprovalTaskMockRecorder) Key added in v0.2.4

Key indicates an expected call of Key.

func (*MockApprovalTaskMockRecorder) SetAddress added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) SetAddress(arg0 interface{}) *gomock.Call

SetAddress indicates an expected call of SetAddress.

func (*MockApprovalTaskMockRecorder) SetCreateTime added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) SetCreateTime(arg0 interface{}) *gomock.Call

SetCreateTime indicates an expected call of SetCreateTime.

func (*MockApprovalTaskMockRecorder) SetError added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) SetError(arg0 interface{}) *gomock.Call

SetError indicates an expected call of SetError.

func (*MockApprovalTaskMockRecorder) SetExpiredHeight added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) SetExpiredHeight(arg0 interface{}) *gomock.Call

SetExpiredHeight indicates an expected call of SetExpiredHeight.

func (*MockApprovalTaskMockRecorder) SetLogs added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) SetLogs(logs interface{}) *gomock.Call

SetLogs indicates an expected call of SetLogs.

func (*MockApprovalTaskMockRecorder) SetMaxRetry added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) SetMaxRetry(arg0 interface{}) *gomock.Call

SetMaxRetry indicates an expected call of SetMaxRetry.

func (*MockApprovalTaskMockRecorder) SetPriority added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) SetPriority(arg0 interface{}) *gomock.Call

SetPriority indicates an expected call of SetPriority.

func (*MockApprovalTaskMockRecorder) SetRetry added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) SetRetry(arg0 interface{}) *gomock.Call

SetRetry indicates an expected call of SetRetry.

func (*MockApprovalTaskMockRecorder) SetTimeout added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call

SetTimeout indicates an expected call of SetTimeout.

func (*MockApprovalTaskMockRecorder) SetUpdateTime added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) SetUpdateTime(arg0 interface{}) *gomock.Call

SetUpdateTime indicates an expected call of SetUpdateTime.

func (*MockApprovalTaskMockRecorder) SetUserAddress added in v0.2.4

func (mr *MockApprovalTaskMockRecorder) SetUserAddress(arg0 interface{}) *gomock.Call

SetUserAddress indicates an expected call of SetUserAddress.

func (*MockApprovalTaskMockRecorder) Type added in v0.2.4

Type indicates an expected call of Type.

type MockChallengePieceTask added in v0.2.4

type MockChallengePieceTask struct {
	// contains filtered or unexported fields
}

MockChallengePieceTask is a mock of ChallengePieceTask interface.

func NewMockChallengePieceTask added in v0.2.4

func NewMockChallengePieceTask(ctrl *gomock.Controller) *MockChallengePieceTask

NewMockChallengePieceTask creates a new mock instance.

func (*MockChallengePieceTask) AppendLog added in v0.2.4

func (m *MockChallengePieceTask) AppendLog(log string)

AppendLog mocks base method.

func (*MockChallengePieceTask) EXPECT added in v0.2.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockChallengePieceTask) Error added in v0.2.4

func (m *MockChallengePieceTask) Error() error

Error mocks base method.

func (*MockChallengePieceTask) EstimateLimit added in v0.2.4

func (m *MockChallengePieceTask) EstimateLimit() rcmgr.Limit

EstimateLimit mocks base method.

func (*MockChallengePieceTask) ExceedRetry added in v0.2.4

func (m *MockChallengePieceTask) ExceedRetry() bool

ExceedRetry mocks base method.

func (*MockChallengePieceTask) ExceedTimeout added in v0.2.4

func (m *MockChallengePieceTask) ExceedTimeout() bool

ExceedTimeout mocks base method.

func (*MockChallengePieceTask) Expired added in v0.2.4

func (m *MockChallengePieceTask) Expired() bool

Expired mocks base method.

func (*MockChallengePieceTask) GetAddress added in v0.2.4

func (m *MockChallengePieceTask) GetAddress() string

GetAddress mocks base method.

func (*MockChallengePieceTask) GetBucketInfo added in v0.2.4

func (m *MockChallengePieceTask) GetBucketInfo() *types0.BucketInfo

GetBucketInfo mocks base method.

func (*MockChallengePieceTask) GetCreateTime added in v0.2.4

func (m *MockChallengePieceTask) GetCreateTime() int64

GetCreateTime mocks base method.

func (*MockChallengePieceTask) GetIntegrityHash added in v0.2.4

func (m *MockChallengePieceTask) GetIntegrityHash() []byte

GetIntegrityHash mocks base method.

func (*MockChallengePieceTask) GetLogs added in v0.2.4

func (m *MockChallengePieceTask) GetLogs() string

GetLogs mocks base method.

func (*MockChallengePieceTask) GetMaxRetry added in v0.2.4

func (m *MockChallengePieceTask) GetMaxRetry() int64

GetMaxRetry mocks base method.

func (*MockChallengePieceTask) GetObjectInfo added in v0.2.4

func (m *MockChallengePieceTask) GetObjectInfo() *types0.ObjectInfo

GetObjectInfo mocks base method.

func (*MockChallengePieceTask) GetPieceDataSize added in v0.2.4

func (m *MockChallengePieceTask) GetPieceDataSize() int64

GetPieceDataSize mocks base method.

func (*MockChallengePieceTask) GetPieceHash added in v0.2.4

func (m *MockChallengePieceTask) GetPieceHash() [][]byte

GetPieceHash mocks base method.

func (*MockChallengePieceTask) GetPriority added in v0.2.4

func (m *MockChallengePieceTask) GetPriority() TPriority

GetPriority mocks base method.

func (*MockChallengePieceTask) GetRedundancyIdx added in v0.2.4

func (m *MockChallengePieceTask) GetRedundancyIdx() int32

GetRedundancyIdx mocks base method.

func (*MockChallengePieceTask) GetRetry added in v0.2.4

func (m *MockChallengePieceTask) GetRetry() int64

GetRetry mocks base method.

func (*MockChallengePieceTask) GetSegmentIdx added in v0.2.4

func (m *MockChallengePieceTask) GetSegmentIdx() uint32

GetSegmentIdx mocks base method.

func (*MockChallengePieceTask) GetStorageParams added in v0.2.4

func (m *MockChallengePieceTask) GetStorageParams() *types0.Params

GetStorageParams mocks base method.

func (*MockChallengePieceTask) GetTimeout added in v0.2.4

func (m *MockChallengePieceTask) GetTimeout() int64

GetTimeout mocks base method.

func (*MockChallengePieceTask) GetUpdateTime added in v0.2.4

func (m *MockChallengePieceTask) GetUpdateTime() int64

GetUpdateTime mocks base method.

func (*MockChallengePieceTask) GetUserAddress added in v0.2.4

func (m *MockChallengePieceTask) GetUserAddress() string

GetUserAddress mocks base method.

func (*MockChallengePieceTask) IncRetry added in v0.2.4

func (m *MockChallengePieceTask) IncRetry()

IncRetry mocks base method.

func (*MockChallengePieceTask) Info added in v0.2.4

func (m *MockChallengePieceTask) Info() string

Info mocks base method.

func (*MockChallengePieceTask) InitChallengePieceTask added in v0.2.4

func (m *MockChallengePieceTask) InitChallengePieceTask(object *types0.ObjectInfo, bucket *types0.BucketInfo, params *types0.Params, priority TPriority, userAddress string, replicateIdx int32, segmentIdx uint32, timeout, retry int64)

InitChallengePieceTask mocks base method.

func (*MockChallengePieceTask) Key added in v0.2.4

func (m *MockChallengePieceTask) Key() TKey

Key mocks base method.

func (*MockChallengePieceTask) SetAddress added in v0.2.4

func (m *MockChallengePieceTask) SetAddress(arg0 string)

SetAddress mocks base method.

func (*MockChallengePieceTask) SetBucketInfo added in v0.2.4

func (m *MockChallengePieceTask) SetBucketInfo(arg0 *types0.BucketInfo)

SetBucketInfo mocks base method.

func (*MockChallengePieceTask) SetCreateTime added in v0.2.4

func (m *MockChallengePieceTask) SetCreateTime(arg0 int64)

SetCreateTime mocks base method.

func (*MockChallengePieceTask) SetError added in v0.2.4

func (m *MockChallengePieceTask) SetError(arg0 error)

SetError mocks base method.

func (*MockChallengePieceTask) SetIntegrityHash added in v0.2.4

func (m *MockChallengePieceTask) SetIntegrityHash(arg0 []byte)

SetIntegrityHash mocks base method.

func (*MockChallengePieceTask) SetLogs added in v0.2.4

func (m *MockChallengePieceTask) SetLogs(logs string)

SetLogs mocks base method.

func (*MockChallengePieceTask) SetMaxRetry added in v0.2.4

func (m *MockChallengePieceTask) SetMaxRetry(arg0 int64)

SetMaxRetry mocks base method.

func (*MockChallengePieceTask) SetObjectInfo added in v0.2.4

func (m *MockChallengePieceTask) SetObjectInfo(arg0 *types0.ObjectInfo)

SetObjectInfo mocks base method.

func (*MockChallengePieceTask) SetPieceDataSize added in v0.2.4

func (m *MockChallengePieceTask) SetPieceDataSize(arg0 int64)

SetPieceDataSize mocks base method.

func (*MockChallengePieceTask) SetPieceHash added in v0.2.4

func (m *MockChallengePieceTask) SetPieceHash(arg0 [][]byte)

SetPieceHash mocks base method.

func (*MockChallengePieceTask) SetPriority added in v0.2.4

func (m *MockChallengePieceTask) SetPriority(arg0 TPriority)

SetPriority mocks base method.

func (*MockChallengePieceTask) SetRedundancyIdx added in v0.2.4

func (m *MockChallengePieceTask) SetRedundancyIdx(idx int32)

SetRedundancyIdx mocks base method.

func (*MockChallengePieceTask) SetRetry added in v0.2.4

func (m *MockChallengePieceTask) SetRetry(arg0 int64)

SetRetry mocks base method.

func (*MockChallengePieceTask) SetSegmentIdx added in v0.2.4

func (m *MockChallengePieceTask) SetSegmentIdx(arg0 uint32)

SetSegmentIdx mocks base method.

func (*MockChallengePieceTask) SetStorageParams added in v0.2.4

func (m *MockChallengePieceTask) SetStorageParams(arg0 *types0.Params)

SetStorageParams mocks base method.

func (*MockChallengePieceTask) SetTimeout added in v0.2.4

func (m *MockChallengePieceTask) SetTimeout(arg0 int64)

SetTimeout mocks base method.

func (*MockChallengePieceTask) SetUpdateTime added in v0.2.4

func (m *MockChallengePieceTask) SetUpdateTime(arg0 int64)

SetUpdateTime mocks base method.

func (*MockChallengePieceTask) SetUserAddress added in v0.2.4

func (m *MockChallengePieceTask) SetUserAddress(arg0 string)

SetUserAddress mocks base method.

func (*MockChallengePieceTask) Type added in v0.2.4

func (m *MockChallengePieceTask) Type() TType

Type mocks base method.

type MockChallengePieceTaskMockRecorder added in v0.2.4

type MockChallengePieceTaskMockRecorder struct {
	// contains filtered or unexported fields
}

MockChallengePieceTaskMockRecorder is the mock recorder for MockChallengePieceTask.

func (*MockChallengePieceTaskMockRecorder) AppendLog added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) AppendLog(log interface{}) *gomock.Call

AppendLog indicates an expected call of AppendLog.

func (*MockChallengePieceTaskMockRecorder) Error added in v0.2.4

Error indicates an expected call of Error.

func (*MockChallengePieceTaskMockRecorder) EstimateLimit added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) EstimateLimit() *gomock.Call

EstimateLimit indicates an expected call of EstimateLimit.

func (*MockChallengePieceTaskMockRecorder) ExceedRetry added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) ExceedRetry() *gomock.Call

ExceedRetry indicates an expected call of ExceedRetry.

func (*MockChallengePieceTaskMockRecorder) ExceedTimeout added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) ExceedTimeout() *gomock.Call

ExceedTimeout indicates an expected call of ExceedTimeout.

func (*MockChallengePieceTaskMockRecorder) Expired added in v0.2.4

Expired indicates an expected call of Expired.

func (*MockChallengePieceTaskMockRecorder) GetAddress added in v0.2.4

GetAddress indicates an expected call of GetAddress.

func (*MockChallengePieceTaskMockRecorder) GetBucketInfo added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) GetBucketInfo() *gomock.Call

GetBucketInfo indicates an expected call of GetBucketInfo.

func (*MockChallengePieceTaskMockRecorder) GetCreateTime added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) GetCreateTime() *gomock.Call

GetCreateTime indicates an expected call of GetCreateTime.

func (*MockChallengePieceTaskMockRecorder) GetIntegrityHash added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) GetIntegrityHash() *gomock.Call

GetIntegrityHash indicates an expected call of GetIntegrityHash.

func (*MockChallengePieceTaskMockRecorder) GetLogs added in v0.2.4

GetLogs indicates an expected call of GetLogs.

func (*MockChallengePieceTaskMockRecorder) GetMaxRetry added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) GetMaxRetry() *gomock.Call

GetMaxRetry indicates an expected call of GetMaxRetry.

func (*MockChallengePieceTaskMockRecorder) GetObjectInfo added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) GetObjectInfo() *gomock.Call

GetObjectInfo indicates an expected call of GetObjectInfo.

func (*MockChallengePieceTaskMockRecorder) GetPieceDataSize added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) GetPieceDataSize() *gomock.Call

GetPieceDataSize indicates an expected call of GetPieceDataSize.

func (*MockChallengePieceTaskMockRecorder) GetPieceHash added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) GetPieceHash() *gomock.Call

GetPieceHash indicates an expected call of GetPieceHash.

func (*MockChallengePieceTaskMockRecorder) GetPriority added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) GetPriority() *gomock.Call

GetPriority indicates an expected call of GetPriority.

func (*MockChallengePieceTaskMockRecorder) GetRedundancyIdx added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) GetRedundancyIdx() *gomock.Call

GetRedundancyIdx indicates an expected call of GetRedundancyIdx.

func (*MockChallengePieceTaskMockRecorder) GetRetry added in v0.2.4

GetRetry indicates an expected call of GetRetry.

func (*MockChallengePieceTaskMockRecorder) GetSegmentIdx added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) GetSegmentIdx() *gomock.Call

GetSegmentIdx indicates an expected call of GetSegmentIdx.

func (*MockChallengePieceTaskMockRecorder) GetStorageParams added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) GetStorageParams() *gomock.Call

GetStorageParams indicates an expected call of GetStorageParams.

func (*MockChallengePieceTaskMockRecorder) GetTimeout added in v0.2.4

GetTimeout indicates an expected call of GetTimeout.

func (*MockChallengePieceTaskMockRecorder) GetUpdateTime added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) GetUpdateTime() *gomock.Call

GetUpdateTime indicates an expected call of GetUpdateTime.

func (*MockChallengePieceTaskMockRecorder) GetUserAddress added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) GetUserAddress() *gomock.Call

GetUserAddress indicates an expected call of GetUserAddress.

func (*MockChallengePieceTaskMockRecorder) IncRetry added in v0.2.4

IncRetry indicates an expected call of IncRetry.

func (*MockChallengePieceTaskMockRecorder) Info added in v0.2.4

Info indicates an expected call of Info.

func (*MockChallengePieceTaskMockRecorder) InitChallengePieceTask added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) InitChallengePieceTask(object, bucket, params, priority, userAddress, replicateIdx, segmentIdx, timeout, retry interface{}) *gomock.Call

InitChallengePieceTask indicates an expected call of InitChallengePieceTask.

func (*MockChallengePieceTaskMockRecorder) Key added in v0.2.4

Key indicates an expected call of Key.

func (*MockChallengePieceTaskMockRecorder) SetAddress added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) SetAddress(arg0 interface{}) *gomock.Call

SetAddress indicates an expected call of SetAddress.

func (*MockChallengePieceTaskMockRecorder) SetBucketInfo added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) SetBucketInfo(arg0 interface{}) *gomock.Call

SetBucketInfo indicates an expected call of SetBucketInfo.

func (*MockChallengePieceTaskMockRecorder) SetCreateTime added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) SetCreateTime(arg0 interface{}) *gomock.Call

SetCreateTime indicates an expected call of SetCreateTime.

func (*MockChallengePieceTaskMockRecorder) SetError added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) SetError(arg0 interface{}) *gomock.Call

SetError indicates an expected call of SetError.

func (*MockChallengePieceTaskMockRecorder) SetIntegrityHash added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) SetIntegrityHash(arg0 interface{}) *gomock.Call

SetIntegrityHash indicates an expected call of SetIntegrityHash.

func (*MockChallengePieceTaskMockRecorder) SetLogs added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) SetLogs(logs interface{}) *gomock.Call

SetLogs indicates an expected call of SetLogs.

func (*MockChallengePieceTaskMockRecorder) SetMaxRetry added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) SetMaxRetry(arg0 interface{}) *gomock.Call

SetMaxRetry indicates an expected call of SetMaxRetry.

func (*MockChallengePieceTaskMockRecorder) SetObjectInfo added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) SetObjectInfo(arg0 interface{}) *gomock.Call

SetObjectInfo indicates an expected call of SetObjectInfo.

func (*MockChallengePieceTaskMockRecorder) SetPieceDataSize added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) SetPieceDataSize(arg0 interface{}) *gomock.Call

SetPieceDataSize indicates an expected call of SetPieceDataSize.

func (*MockChallengePieceTaskMockRecorder) SetPieceHash added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) SetPieceHash(arg0 interface{}) *gomock.Call

SetPieceHash indicates an expected call of SetPieceHash.

func (*MockChallengePieceTaskMockRecorder) SetPriority added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) SetPriority(arg0 interface{}) *gomock.Call

SetPriority indicates an expected call of SetPriority.

func (*MockChallengePieceTaskMockRecorder) SetRedundancyIdx added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) SetRedundancyIdx(idx interface{}) *gomock.Call

SetRedundancyIdx indicates an expected call of SetRedundancyIdx.

func (*MockChallengePieceTaskMockRecorder) SetRetry added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) SetRetry(arg0 interface{}) *gomock.Call

SetRetry indicates an expected call of SetRetry.

func (*MockChallengePieceTaskMockRecorder) SetSegmentIdx added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) SetSegmentIdx(arg0 interface{}) *gomock.Call

SetSegmentIdx indicates an expected call of SetSegmentIdx.

func (*MockChallengePieceTaskMockRecorder) SetStorageParams added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) SetStorageParams(arg0 interface{}) *gomock.Call

SetStorageParams indicates an expected call of SetStorageParams.

func (*MockChallengePieceTaskMockRecorder) SetTimeout added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call

SetTimeout indicates an expected call of SetTimeout.

func (*MockChallengePieceTaskMockRecorder) SetUpdateTime added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) SetUpdateTime(arg0 interface{}) *gomock.Call

SetUpdateTime indicates an expected call of SetUpdateTime.

func (*MockChallengePieceTaskMockRecorder) SetUserAddress added in v0.2.4

func (mr *MockChallengePieceTaskMockRecorder) SetUserAddress(arg0 interface{}) *gomock.Call

SetUserAddress indicates an expected call of SetUserAddress.

func (*MockChallengePieceTaskMockRecorder) Type added in v0.2.4

Type indicates an expected call of Type.

type MockDownloadObjectTask added in v0.2.4

type MockDownloadObjectTask struct {
	// contains filtered or unexported fields
}

MockDownloadObjectTask is a mock of DownloadObjectTask interface.

func NewMockDownloadObjectTask added in v0.2.4

func NewMockDownloadObjectTask(ctrl *gomock.Controller) *MockDownloadObjectTask

NewMockDownloadObjectTask creates a new mock instance.

func (*MockDownloadObjectTask) AppendLog added in v0.2.4

func (m *MockDownloadObjectTask) AppendLog(log string)

AppendLog mocks base method.

func (*MockDownloadObjectTask) EXPECT added in v0.2.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDownloadObjectTask) Error added in v0.2.4

func (m *MockDownloadObjectTask) Error() error

Error mocks base method.

func (*MockDownloadObjectTask) EstimateLimit added in v0.2.4

func (m *MockDownloadObjectTask) EstimateLimit() rcmgr.Limit

EstimateLimit mocks base method.

func (*MockDownloadObjectTask) ExceedRetry added in v0.2.4

func (m *MockDownloadObjectTask) ExceedRetry() bool

ExceedRetry mocks base method.

func (*MockDownloadObjectTask) ExceedTimeout added in v0.2.4

func (m *MockDownloadObjectTask) ExceedTimeout() bool

ExceedTimeout mocks base method.

func (*MockDownloadObjectTask) Expired added in v0.2.4

func (m *MockDownloadObjectTask) Expired() bool

Expired mocks base method.

func (*MockDownloadObjectTask) GetAddress added in v0.2.4

func (m *MockDownloadObjectTask) GetAddress() string

GetAddress mocks base method.

func (*MockDownloadObjectTask) GetBucketInfo added in v0.2.4

func (m *MockDownloadObjectTask) GetBucketInfo() *types0.BucketInfo

GetBucketInfo mocks base method.

func (*MockDownloadObjectTask) GetCreateTime added in v0.2.4

func (m *MockDownloadObjectTask) GetCreateTime() int64

GetCreateTime mocks base method.

func (*MockDownloadObjectTask) GetHigh added in v0.2.4

func (m *MockDownloadObjectTask) GetHigh() int64

GetHigh mocks base method.

func (*MockDownloadObjectTask) GetLogs added in v0.2.4

func (m *MockDownloadObjectTask) GetLogs() string

GetLogs mocks base method.

func (*MockDownloadObjectTask) GetLow added in v0.2.4

func (m *MockDownloadObjectTask) GetLow() int64

GetLow mocks base method.

func (*MockDownloadObjectTask) GetMaxRetry added in v0.2.4

func (m *MockDownloadObjectTask) GetMaxRetry() int64

GetMaxRetry mocks base method.

func (*MockDownloadObjectTask) GetObjectInfo added in v0.2.4

func (m *MockDownloadObjectTask) GetObjectInfo() *types0.ObjectInfo

GetObjectInfo mocks base method.

func (*MockDownloadObjectTask) GetPriority added in v0.2.4

func (m *MockDownloadObjectTask) GetPriority() TPriority

GetPriority mocks base method.

func (*MockDownloadObjectTask) GetRetry added in v0.2.4

func (m *MockDownloadObjectTask) GetRetry() int64

GetRetry mocks base method.

func (*MockDownloadObjectTask) GetSize added in v0.2.4

func (m *MockDownloadObjectTask) GetSize() int64

GetSize mocks base method.

func (*MockDownloadObjectTask) GetStorageParams added in v0.2.4

func (m *MockDownloadObjectTask) GetStorageParams() *types0.Params

GetStorageParams mocks base method.

func (*MockDownloadObjectTask) GetTimeout added in v0.2.4

func (m *MockDownloadObjectTask) GetTimeout() int64

GetTimeout mocks base method.

func (*MockDownloadObjectTask) GetUpdateTime added in v0.2.4

func (m *MockDownloadObjectTask) GetUpdateTime() int64

GetUpdateTime mocks base method.

func (*MockDownloadObjectTask) GetUserAddress added in v0.2.4

func (m *MockDownloadObjectTask) GetUserAddress() string

GetUserAddress mocks base method.

func (*MockDownloadObjectTask) IncRetry added in v0.2.4

func (m *MockDownloadObjectTask) IncRetry()

IncRetry mocks base method.

func (*MockDownloadObjectTask) Info added in v0.2.4

func (m *MockDownloadObjectTask) Info() string

Info mocks base method.

func (*MockDownloadObjectTask) InitDownloadObjectTask added in v0.2.4

func (m *MockDownloadObjectTask) InitDownloadObjectTask(object *types0.ObjectInfo, bucket *types0.BucketInfo, params *types0.Params, priority TPriority, userAddress string, low, high, timeout, retry int64)

InitDownloadObjectTask mocks base method.

func (*MockDownloadObjectTask) Key added in v0.2.4

func (m *MockDownloadObjectTask) Key() TKey

Key mocks base method.

func (*MockDownloadObjectTask) SetAddress added in v0.2.4

func (m *MockDownloadObjectTask) SetAddress(arg0 string)

SetAddress mocks base method.

func (*MockDownloadObjectTask) SetBucketInfo added in v0.2.4

func (m *MockDownloadObjectTask) SetBucketInfo(arg0 *types0.BucketInfo)

SetBucketInfo mocks base method.

func (*MockDownloadObjectTask) SetCreateTime added in v0.2.4

func (m *MockDownloadObjectTask) SetCreateTime(arg0 int64)

SetCreateTime mocks base method.

func (*MockDownloadObjectTask) SetError added in v0.2.4

func (m *MockDownloadObjectTask) SetError(arg0 error)

SetError mocks base method.

func (*MockDownloadObjectTask) SetLogs added in v0.2.4

func (m *MockDownloadObjectTask) SetLogs(logs string)

SetLogs mocks base method.

func (*MockDownloadObjectTask) SetMaxRetry added in v0.2.4

func (m *MockDownloadObjectTask) SetMaxRetry(arg0 int64)

SetMaxRetry mocks base method.

func (*MockDownloadObjectTask) SetObjectInfo added in v0.2.4

func (m *MockDownloadObjectTask) SetObjectInfo(arg0 *types0.ObjectInfo)

SetObjectInfo mocks base method.

func (*MockDownloadObjectTask) SetPriority added in v0.2.4

func (m *MockDownloadObjectTask) SetPriority(arg0 TPriority)

SetPriority mocks base method.

func (*MockDownloadObjectTask) SetRetry added in v0.2.4

func (m *MockDownloadObjectTask) SetRetry(arg0 int64)

SetRetry mocks base method.

func (*MockDownloadObjectTask) SetStorageParams added in v0.2.4

func (m *MockDownloadObjectTask) SetStorageParams(arg0 *types0.Params)

SetStorageParams mocks base method.

func (*MockDownloadObjectTask) SetTimeout added in v0.2.4

func (m *MockDownloadObjectTask) SetTimeout(arg0 int64)

SetTimeout mocks base method.

func (*MockDownloadObjectTask) SetUpdateTime added in v0.2.4

func (m *MockDownloadObjectTask) SetUpdateTime(arg0 int64)

SetUpdateTime mocks base method.

func (*MockDownloadObjectTask) SetUserAddress added in v0.2.4

func (m *MockDownloadObjectTask) SetUserAddress(arg0 string)

SetUserAddress mocks base method.

func (*MockDownloadObjectTask) Type added in v0.2.4

func (m *MockDownloadObjectTask) Type() TType

Type mocks base method.

type MockDownloadObjectTaskMockRecorder added in v0.2.4

type MockDownloadObjectTaskMockRecorder struct {
	// contains filtered or unexported fields
}

MockDownloadObjectTaskMockRecorder is the mock recorder for MockDownloadObjectTask.

func (*MockDownloadObjectTaskMockRecorder) AppendLog added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) AppendLog(log interface{}) *gomock.Call

AppendLog indicates an expected call of AppendLog.

func (*MockDownloadObjectTaskMockRecorder) Error added in v0.2.4

Error indicates an expected call of Error.

func (*MockDownloadObjectTaskMockRecorder) EstimateLimit added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) EstimateLimit() *gomock.Call

EstimateLimit indicates an expected call of EstimateLimit.

func (*MockDownloadObjectTaskMockRecorder) ExceedRetry added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) ExceedRetry() *gomock.Call

ExceedRetry indicates an expected call of ExceedRetry.

func (*MockDownloadObjectTaskMockRecorder) ExceedTimeout added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) ExceedTimeout() *gomock.Call

ExceedTimeout indicates an expected call of ExceedTimeout.

func (*MockDownloadObjectTaskMockRecorder) Expired added in v0.2.4

Expired indicates an expected call of Expired.

func (*MockDownloadObjectTaskMockRecorder) GetAddress added in v0.2.4

GetAddress indicates an expected call of GetAddress.

func (*MockDownloadObjectTaskMockRecorder) GetBucketInfo added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) GetBucketInfo() *gomock.Call

GetBucketInfo indicates an expected call of GetBucketInfo.

func (*MockDownloadObjectTaskMockRecorder) GetCreateTime added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) GetCreateTime() *gomock.Call

GetCreateTime indicates an expected call of GetCreateTime.

func (*MockDownloadObjectTaskMockRecorder) GetHigh added in v0.2.4

GetHigh indicates an expected call of GetHigh.

func (*MockDownloadObjectTaskMockRecorder) GetLogs added in v0.2.4

GetLogs indicates an expected call of GetLogs.

func (*MockDownloadObjectTaskMockRecorder) GetLow added in v0.2.4

GetLow indicates an expected call of GetLow.

func (*MockDownloadObjectTaskMockRecorder) GetMaxRetry added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) GetMaxRetry() *gomock.Call

GetMaxRetry indicates an expected call of GetMaxRetry.

func (*MockDownloadObjectTaskMockRecorder) GetObjectInfo added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) GetObjectInfo() *gomock.Call

GetObjectInfo indicates an expected call of GetObjectInfo.

func (*MockDownloadObjectTaskMockRecorder) GetPriority added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) GetPriority() *gomock.Call

GetPriority indicates an expected call of GetPriority.

func (*MockDownloadObjectTaskMockRecorder) GetRetry added in v0.2.4

GetRetry indicates an expected call of GetRetry.

func (*MockDownloadObjectTaskMockRecorder) GetSize added in v0.2.4

GetSize indicates an expected call of GetSize.

func (*MockDownloadObjectTaskMockRecorder) GetStorageParams added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) GetStorageParams() *gomock.Call

GetStorageParams indicates an expected call of GetStorageParams.

func (*MockDownloadObjectTaskMockRecorder) GetTimeout added in v0.2.4

GetTimeout indicates an expected call of GetTimeout.

func (*MockDownloadObjectTaskMockRecorder) GetUpdateTime added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) GetUpdateTime() *gomock.Call

GetUpdateTime indicates an expected call of GetUpdateTime.

func (*MockDownloadObjectTaskMockRecorder) GetUserAddress added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) GetUserAddress() *gomock.Call

GetUserAddress indicates an expected call of GetUserAddress.

func (*MockDownloadObjectTaskMockRecorder) IncRetry added in v0.2.4

IncRetry indicates an expected call of IncRetry.

func (*MockDownloadObjectTaskMockRecorder) Info added in v0.2.4

Info indicates an expected call of Info.

func (*MockDownloadObjectTaskMockRecorder) InitDownloadObjectTask added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) InitDownloadObjectTask(object, bucket, params, priority, userAddress, low, high, timeout, retry interface{}) *gomock.Call

InitDownloadObjectTask indicates an expected call of InitDownloadObjectTask.

func (*MockDownloadObjectTaskMockRecorder) Key added in v0.2.4

Key indicates an expected call of Key.

func (*MockDownloadObjectTaskMockRecorder) SetAddress added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) SetAddress(arg0 interface{}) *gomock.Call

SetAddress indicates an expected call of SetAddress.

func (*MockDownloadObjectTaskMockRecorder) SetBucketInfo added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) SetBucketInfo(arg0 interface{}) *gomock.Call

SetBucketInfo indicates an expected call of SetBucketInfo.

func (*MockDownloadObjectTaskMockRecorder) SetCreateTime added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) SetCreateTime(arg0 interface{}) *gomock.Call

SetCreateTime indicates an expected call of SetCreateTime.

func (*MockDownloadObjectTaskMockRecorder) SetError added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) SetError(arg0 interface{}) *gomock.Call

SetError indicates an expected call of SetError.

func (*MockDownloadObjectTaskMockRecorder) SetLogs added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) SetLogs(logs interface{}) *gomock.Call

SetLogs indicates an expected call of SetLogs.

func (*MockDownloadObjectTaskMockRecorder) SetMaxRetry added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) SetMaxRetry(arg0 interface{}) *gomock.Call

SetMaxRetry indicates an expected call of SetMaxRetry.

func (*MockDownloadObjectTaskMockRecorder) SetObjectInfo added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) SetObjectInfo(arg0 interface{}) *gomock.Call

SetObjectInfo indicates an expected call of SetObjectInfo.

func (*MockDownloadObjectTaskMockRecorder) SetPriority added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) SetPriority(arg0 interface{}) *gomock.Call

SetPriority indicates an expected call of SetPriority.

func (*MockDownloadObjectTaskMockRecorder) SetRetry added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) SetRetry(arg0 interface{}) *gomock.Call

SetRetry indicates an expected call of SetRetry.

func (*MockDownloadObjectTaskMockRecorder) SetStorageParams added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) SetStorageParams(arg0 interface{}) *gomock.Call

SetStorageParams indicates an expected call of SetStorageParams.

func (*MockDownloadObjectTaskMockRecorder) SetTimeout added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call

SetTimeout indicates an expected call of SetTimeout.

func (*MockDownloadObjectTaskMockRecorder) SetUpdateTime added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) SetUpdateTime(arg0 interface{}) *gomock.Call

SetUpdateTime indicates an expected call of SetUpdateTime.

func (*MockDownloadObjectTaskMockRecorder) SetUserAddress added in v0.2.4

func (mr *MockDownloadObjectTaskMockRecorder) SetUserAddress(arg0 interface{}) *gomock.Call

SetUserAddress indicates an expected call of SetUserAddress.

func (*MockDownloadObjectTaskMockRecorder) Type added in v0.2.4

Type indicates an expected call of Type.

type MockDownloadPieceTask added in v0.2.4

type MockDownloadPieceTask struct {
	// contains filtered or unexported fields
}

MockDownloadPieceTask is a mock of DownloadPieceTask interface.

func NewMockDownloadPieceTask added in v0.2.4

func NewMockDownloadPieceTask(ctrl *gomock.Controller) *MockDownloadPieceTask

NewMockDownloadPieceTask creates a new mock instance.

func (*MockDownloadPieceTask) AppendLog added in v0.2.4

func (m *MockDownloadPieceTask) AppendLog(log string)

AppendLog mocks base method.

func (*MockDownloadPieceTask) EXPECT added in v0.2.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDownloadPieceTask) Error added in v0.2.4

func (m *MockDownloadPieceTask) Error() error

Error mocks base method.

func (*MockDownloadPieceTask) EstimateLimit added in v0.2.4

func (m *MockDownloadPieceTask) EstimateLimit() rcmgr.Limit

EstimateLimit mocks base method.

func (*MockDownloadPieceTask) ExceedRetry added in v0.2.4

func (m *MockDownloadPieceTask) ExceedRetry() bool

ExceedRetry mocks base method.

func (*MockDownloadPieceTask) ExceedTimeout added in v0.2.4

func (m *MockDownloadPieceTask) ExceedTimeout() bool

ExceedTimeout mocks base method.

func (*MockDownloadPieceTask) Expired added in v0.2.4

func (m *MockDownloadPieceTask) Expired() bool

Expired mocks base method.

func (*MockDownloadPieceTask) GetAddress added in v0.2.4

func (m *MockDownloadPieceTask) GetAddress() string

GetAddress mocks base method.

func (*MockDownloadPieceTask) GetBucketInfo added in v0.2.4

func (m *MockDownloadPieceTask) GetBucketInfo() *types0.BucketInfo

GetBucketInfo mocks base method.

func (*MockDownloadPieceTask) GetCreateTime added in v0.2.4

func (m *MockDownloadPieceTask) GetCreateTime() int64

GetCreateTime mocks base method.

func (*MockDownloadPieceTask) GetEnableCheck added in v0.2.4

func (m *MockDownloadPieceTask) GetEnableCheck() bool

GetEnableCheck mocks base method.

func (*MockDownloadPieceTask) GetLogs added in v0.2.4

func (m *MockDownloadPieceTask) GetLogs() string

GetLogs mocks base method.

func (*MockDownloadPieceTask) GetMaxRetry added in v0.2.4

func (m *MockDownloadPieceTask) GetMaxRetry() int64

GetMaxRetry mocks base method.

func (*MockDownloadPieceTask) GetObjectInfo added in v0.2.4

func (m *MockDownloadPieceTask) GetObjectInfo() *types0.ObjectInfo

GetObjectInfo mocks base method.

func (*MockDownloadPieceTask) GetPieceKey added in v0.2.4

func (m *MockDownloadPieceTask) GetPieceKey() string

GetPieceKey mocks base method.

func (*MockDownloadPieceTask) GetPieceLength added in v0.2.4

func (m *MockDownloadPieceTask) GetPieceLength() uint64

GetPieceLength mocks base method.

func (*MockDownloadPieceTask) GetPieceOffset added in v0.2.4

func (m *MockDownloadPieceTask) GetPieceOffset() uint64

GetPieceOffset mocks base method.

func (*MockDownloadPieceTask) GetPriority added in v0.2.4

func (m *MockDownloadPieceTask) GetPriority() TPriority

GetPriority mocks base method.

func (*MockDownloadPieceTask) GetRetry added in v0.2.4

func (m *MockDownloadPieceTask) GetRetry() int64

GetRetry mocks base method.

func (*MockDownloadPieceTask) GetSize added in v0.2.4

func (m *MockDownloadPieceTask) GetSize() int64

GetSize mocks base method.

func (*MockDownloadPieceTask) GetStorageParams added in v0.2.4

func (m *MockDownloadPieceTask) GetStorageParams() *types0.Params

GetStorageParams mocks base method.

func (*MockDownloadPieceTask) GetTimeout added in v0.2.4

func (m *MockDownloadPieceTask) GetTimeout() int64

GetTimeout mocks base method.

func (*MockDownloadPieceTask) GetTotalSize added in v0.2.4

func (m *MockDownloadPieceTask) GetTotalSize() uint64

GetTotalSize mocks base method.

func (*MockDownloadPieceTask) GetUpdateTime added in v0.2.4

func (m *MockDownloadPieceTask) GetUpdateTime() int64

GetUpdateTime mocks base method.

func (*MockDownloadPieceTask) GetUserAddress added in v0.2.4

func (m *MockDownloadPieceTask) GetUserAddress() string

GetUserAddress mocks base method.

func (*MockDownloadPieceTask) IncRetry added in v0.2.4

func (m *MockDownloadPieceTask) IncRetry()

IncRetry mocks base method.

func (*MockDownloadPieceTask) Info added in v0.2.4

func (m *MockDownloadPieceTask) Info() string

Info mocks base method.

func (*MockDownloadPieceTask) InitDownloadPieceTask added in v0.2.4

func (m *MockDownloadPieceTask) InitDownloadPieceTask(object *types0.ObjectInfo, bucket *types0.BucketInfo, params *types0.Params, priority TPriority, enableCheck bool, userAddress string, totalSize uint64, pieceKey string, pieceOffset, pieceLength uint64, timeout, maxRetry int64)

InitDownloadPieceTask mocks base method.

func (*MockDownloadPieceTask) Key added in v0.2.4

func (m *MockDownloadPieceTask) Key() TKey

Key mocks base method.

func (*MockDownloadPieceTask) SetAddress added in v0.2.4

func (m *MockDownloadPieceTask) SetAddress(arg0 string)

SetAddress mocks base method.

func (*MockDownloadPieceTask) SetBucketInfo added in v0.2.4

func (m *MockDownloadPieceTask) SetBucketInfo(arg0 *types0.BucketInfo)

SetBucketInfo mocks base method.

func (*MockDownloadPieceTask) SetCreateTime added in v0.2.4

func (m *MockDownloadPieceTask) SetCreateTime(arg0 int64)

SetCreateTime mocks base method.

func (*MockDownloadPieceTask) SetError added in v0.2.4

func (m *MockDownloadPieceTask) SetError(arg0 error)

SetError mocks base method.

func (*MockDownloadPieceTask) SetLogs added in v0.2.4

func (m *MockDownloadPieceTask) SetLogs(logs string)

SetLogs mocks base method.

func (*MockDownloadPieceTask) SetMaxRetry added in v0.2.4

func (m *MockDownloadPieceTask) SetMaxRetry(arg0 int64)

SetMaxRetry mocks base method.

func (*MockDownloadPieceTask) SetObjectInfo added in v0.2.4

func (m *MockDownloadPieceTask) SetObjectInfo(arg0 *types0.ObjectInfo)

SetObjectInfo mocks base method.

func (*MockDownloadPieceTask) SetPriority added in v0.2.4

func (m *MockDownloadPieceTask) SetPriority(arg0 TPriority)

SetPriority mocks base method.

func (*MockDownloadPieceTask) SetRetry added in v0.2.4

func (m *MockDownloadPieceTask) SetRetry(arg0 int64)

SetRetry mocks base method.

func (*MockDownloadPieceTask) SetStorageParams added in v0.2.4

func (m *MockDownloadPieceTask) SetStorageParams(arg0 *types0.Params)

SetStorageParams mocks base method.

func (*MockDownloadPieceTask) SetTimeout added in v0.2.4

func (m *MockDownloadPieceTask) SetTimeout(arg0 int64)

SetTimeout mocks base method.

func (*MockDownloadPieceTask) SetUpdateTime added in v0.2.4

func (m *MockDownloadPieceTask) SetUpdateTime(arg0 int64)

SetUpdateTime mocks base method.

func (*MockDownloadPieceTask) SetUserAddress added in v0.2.4

func (m *MockDownloadPieceTask) SetUserAddress(arg0 string)

SetUserAddress mocks base method.

func (*MockDownloadPieceTask) Type added in v0.2.4

func (m *MockDownloadPieceTask) Type() TType

Type mocks base method.

type MockDownloadPieceTaskMockRecorder added in v0.2.4

type MockDownloadPieceTaskMockRecorder struct {
	// contains filtered or unexported fields
}

MockDownloadPieceTaskMockRecorder is the mock recorder for MockDownloadPieceTask.

func (*MockDownloadPieceTaskMockRecorder) AppendLog added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) AppendLog(log interface{}) *gomock.Call

AppendLog indicates an expected call of AppendLog.

func (*MockDownloadPieceTaskMockRecorder) Error added in v0.2.4

Error indicates an expected call of Error.

func (*MockDownloadPieceTaskMockRecorder) EstimateLimit added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) EstimateLimit() *gomock.Call

EstimateLimit indicates an expected call of EstimateLimit.

func (*MockDownloadPieceTaskMockRecorder) ExceedRetry added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) ExceedRetry() *gomock.Call

ExceedRetry indicates an expected call of ExceedRetry.

func (*MockDownloadPieceTaskMockRecorder) ExceedTimeout added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) ExceedTimeout() *gomock.Call

ExceedTimeout indicates an expected call of ExceedTimeout.

func (*MockDownloadPieceTaskMockRecorder) Expired added in v0.2.4

Expired indicates an expected call of Expired.

func (*MockDownloadPieceTaskMockRecorder) GetAddress added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) GetAddress() *gomock.Call

GetAddress indicates an expected call of GetAddress.

func (*MockDownloadPieceTaskMockRecorder) GetBucketInfo added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) GetBucketInfo() *gomock.Call

GetBucketInfo indicates an expected call of GetBucketInfo.

func (*MockDownloadPieceTaskMockRecorder) GetCreateTime added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) GetCreateTime() *gomock.Call

GetCreateTime indicates an expected call of GetCreateTime.

func (*MockDownloadPieceTaskMockRecorder) GetEnableCheck added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) GetEnableCheck() *gomock.Call

GetEnableCheck indicates an expected call of GetEnableCheck.

func (*MockDownloadPieceTaskMockRecorder) GetLogs added in v0.2.4

GetLogs indicates an expected call of GetLogs.

func (*MockDownloadPieceTaskMockRecorder) GetMaxRetry added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) GetMaxRetry() *gomock.Call

GetMaxRetry indicates an expected call of GetMaxRetry.

func (*MockDownloadPieceTaskMockRecorder) GetObjectInfo added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) GetObjectInfo() *gomock.Call

GetObjectInfo indicates an expected call of GetObjectInfo.

func (*MockDownloadPieceTaskMockRecorder) GetPieceKey added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) GetPieceKey() *gomock.Call

GetPieceKey indicates an expected call of GetPieceKey.

func (*MockDownloadPieceTaskMockRecorder) GetPieceLength added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) GetPieceLength() *gomock.Call

GetPieceLength indicates an expected call of GetPieceLength.

func (*MockDownloadPieceTaskMockRecorder) GetPieceOffset added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) GetPieceOffset() *gomock.Call

GetPieceOffset indicates an expected call of GetPieceOffset.

func (*MockDownloadPieceTaskMockRecorder) GetPriority added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) GetPriority() *gomock.Call

GetPriority indicates an expected call of GetPriority.

func (*MockDownloadPieceTaskMockRecorder) GetRetry added in v0.2.4

GetRetry indicates an expected call of GetRetry.

func (*MockDownloadPieceTaskMockRecorder) GetSize added in v0.2.4

GetSize indicates an expected call of GetSize.

func (*MockDownloadPieceTaskMockRecorder) GetStorageParams added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) GetStorageParams() *gomock.Call

GetStorageParams indicates an expected call of GetStorageParams.

func (*MockDownloadPieceTaskMockRecorder) GetTimeout added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) GetTimeout() *gomock.Call

GetTimeout indicates an expected call of GetTimeout.

func (*MockDownloadPieceTaskMockRecorder) GetTotalSize added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) GetTotalSize() *gomock.Call

GetTotalSize indicates an expected call of GetTotalSize.

func (*MockDownloadPieceTaskMockRecorder) GetUpdateTime added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) GetUpdateTime() *gomock.Call

GetUpdateTime indicates an expected call of GetUpdateTime.

func (*MockDownloadPieceTaskMockRecorder) GetUserAddress added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) GetUserAddress() *gomock.Call

GetUserAddress indicates an expected call of GetUserAddress.

func (*MockDownloadPieceTaskMockRecorder) IncRetry added in v0.2.4

IncRetry indicates an expected call of IncRetry.

func (*MockDownloadPieceTaskMockRecorder) Info added in v0.2.4

Info indicates an expected call of Info.

func (*MockDownloadPieceTaskMockRecorder) InitDownloadPieceTask added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) InitDownloadPieceTask(object, bucket, params, priority, enableCheck, userAddress, totalSize, pieceKey, pieceOffset, pieceLength, timeout, maxRetry interface{}) *gomock.Call

InitDownloadPieceTask indicates an expected call of InitDownloadPieceTask.

func (*MockDownloadPieceTaskMockRecorder) Key added in v0.2.4

Key indicates an expected call of Key.

func (*MockDownloadPieceTaskMockRecorder) SetAddress added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) SetAddress(arg0 interface{}) *gomock.Call

SetAddress indicates an expected call of SetAddress.

func (*MockDownloadPieceTaskMockRecorder) SetBucketInfo added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) SetBucketInfo(arg0 interface{}) *gomock.Call

SetBucketInfo indicates an expected call of SetBucketInfo.

func (*MockDownloadPieceTaskMockRecorder) SetCreateTime added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) SetCreateTime(arg0 interface{}) *gomock.Call

SetCreateTime indicates an expected call of SetCreateTime.

func (*MockDownloadPieceTaskMockRecorder) SetError added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) SetError(arg0 interface{}) *gomock.Call

SetError indicates an expected call of SetError.

func (*MockDownloadPieceTaskMockRecorder) SetLogs added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) SetLogs(logs interface{}) *gomock.Call

SetLogs indicates an expected call of SetLogs.

func (*MockDownloadPieceTaskMockRecorder) SetMaxRetry added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) SetMaxRetry(arg0 interface{}) *gomock.Call

SetMaxRetry indicates an expected call of SetMaxRetry.

func (*MockDownloadPieceTaskMockRecorder) SetObjectInfo added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) SetObjectInfo(arg0 interface{}) *gomock.Call

SetObjectInfo indicates an expected call of SetObjectInfo.

func (*MockDownloadPieceTaskMockRecorder) SetPriority added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) SetPriority(arg0 interface{}) *gomock.Call

SetPriority indicates an expected call of SetPriority.

func (*MockDownloadPieceTaskMockRecorder) SetRetry added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) SetRetry(arg0 interface{}) *gomock.Call

SetRetry indicates an expected call of SetRetry.

func (*MockDownloadPieceTaskMockRecorder) SetStorageParams added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) SetStorageParams(arg0 interface{}) *gomock.Call

SetStorageParams indicates an expected call of SetStorageParams.

func (*MockDownloadPieceTaskMockRecorder) SetTimeout added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call

SetTimeout indicates an expected call of SetTimeout.

func (*MockDownloadPieceTaskMockRecorder) SetUpdateTime added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) SetUpdateTime(arg0 interface{}) *gomock.Call

SetUpdateTime indicates an expected call of SetUpdateTime.

func (*MockDownloadPieceTaskMockRecorder) SetUserAddress added in v0.2.4

func (mr *MockDownloadPieceTaskMockRecorder) SetUserAddress(arg0 interface{}) *gomock.Call

SetUserAddress indicates an expected call of SetUserAddress.

func (*MockDownloadPieceTaskMockRecorder) Type added in v0.2.4

Type indicates an expected call of Type.

type MockGCBucketMigrationTask added in v1.2.0

type MockGCBucketMigrationTask struct {
	// contains filtered or unexported fields
}

MockGCBucketMigrationTask is a mock of GCBucketMigrationTask interface.

func NewMockGCBucketMigrationTask added in v1.2.0

func NewMockGCBucketMigrationTask(ctrl *gomock.Controller) *MockGCBucketMigrationTask

NewMockGCBucketMigrationTask creates a new mock instance.

func (*MockGCBucketMigrationTask) AppendLog added in v1.2.0

func (m *MockGCBucketMigrationTask) AppendLog(log string)

AppendLog mocks base method.

func (*MockGCBucketMigrationTask) EXPECT added in v1.2.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockGCBucketMigrationTask) Error added in v1.2.0

func (m *MockGCBucketMigrationTask) Error() error

Error mocks base method.

func (*MockGCBucketMigrationTask) EstimateLimit added in v1.2.0

func (m *MockGCBucketMigrationTask) EstimateLimit() rcmgr.Limit

EstimateLimit mocks base method.

func (*MockGCBucketMigrationTask) ExceedRetry added in v1.2.0

func (m *MockGCBucketMigrationTask) ExceedRetry() bool

ExceedRetry mocks base method.

func (*MockGCBucketMigrationTask) ExceedTimeout added in v1.2.0

func (m *MockGCBucketMigrationTask) ExceedTimeout() bool

ExceedTimeout mocks base method.

func (*MockGCBucketMigrationTask) Expired added in v1.2.0

func (m *MockGCBucketMigrationTask) Expired() bool

Expired mocks base method.

func (*MockGCBucketMigrationTask) GetAddress added in v1.2.0

func (m *MockGCBucketMigrationTask) GetAddress() string

GetAddress mocks base method.

func (*MockGCBucketMigrationTask) GetBucketID added in v1.2.0

func (m *MockGCBucketMigrationTask) GetBucketID() uint64

GetBucketID mocks base method.

func (*MockGCBucketMigrationTask) GetCreateTime added in v1.2.0

func (m *MockGCBucketMigrationTask) GetCreateTime() int64

GetCreateTime mocks base method.

func (*MockGCBucketMigrationTask) GetLogs added in v1.2.0

func (m *MockGCBucketMigrationTask) GetLogs() string

GetLogs mocks base method.

func (*MockGCBucketMigrationTask) GetMaxRetry added in v1.2.0

func (m *MockGCBucketMigrationTask) GetMaxRetry() int64

GetMaxRetry mocks base method.

func (*MockGCBucketMigrationTask) GetPriority added in v1.2.0

func (m *MockGCBucketMigrationTask) GetPriority() TPriority

GetPriority mocks base method.

func (*MockGCBucketMigrationTask) GetRetry added in v1.2.0

func (m *MockGCBucketMigrationTask) GetRetry() int64

GetRetry mocks base method.

func (*MockGCBucketMigrationTask) GetTimeout added in v1.2.0

func (m *MockGCBucketMigrationTask) GetTimeout() int64

GetTimeout mocks base method.

func (*MockGCBucketMigrationTask) GetUpdateTime added in v1.2.0

func (m *MockGCBucketMigrationTask) GetUpdateTime() int64

GetUpdateTime mocks base method.

func (*MockGCBucketMigrationTask) GetUserAddress added in v1.2.0

func (m *MockGCBucketMigrationTask) GetUserAddress() string

GetUserAddress mocks base method.

func (*MockGCBucketMigrationTask) IncRetry added in v1.2.0

func (m *MockGCBucketMigrationTask) IncRetry()

IncRetry mocks base method.

func (*MockGCBucketMigrationTask) Info added in v1.2.0

Info mocks base method.

func (*MockGCBucketMigrationTask) InitGCBucketMigrationTask added in v1.2.0

func (m *MockGCBucketMigrationTask) InitGCBucketMigrationTask(priority TPriority, bucketID uint64, timeout, retry int64)

InitGCBucketMigrationTask mocks base method.

func (*MockGCBucketMigrationTask) Key added in v1.2.0

Key mocks base method.

func (*MockGCBucketMigrationTask) SetAddress added in v1.2.0

func (m *MockGCBucketMigrationTask) SetAddress(arg0 string)

SetAddress mocks base method.

func (*MockGCBucketMigrationTask) SetBucketID added in v1.2.0

func (m *MockGCBucketMigrationTask) SetBucketID(arg0 uint64)

SetBucketID mocks base method.

func (*MockGCBucketMigrationTask) SetCreateTime added in v1.2.0

func (m *MockGCBucketMigrationTask) SetCreateTime(arg0 int64)

SetCreateTime mocks base method.

func (*MockGCBucketMigrationTask) SetError added in v1.2.0

func (m *MockGCBucketMigrationTask) SetError(arg0 error)

SetError mocks base method.

func (*MockGCBucketMigrationTask) SetLogs added in v1.2.0

func (m *MockGCBucketMigrationTask) SetLogs(logs string)

SetLogs mocks base method.

func (*MockGCBucketMigrationTask) SetMaxRetry added in v1.2.0

func (m *MockGCBucketMigrationTask) SetMaxRetry(arg0 int64)

SetMaxRetry mocks base method.

func (*MockGCBucketMigrationTask) SetPriority added in v1.2.0

func (m *MockGCBucketMigrationTask) SetPriority(arg0 TPriority)

SetPriority mocks base method.

func (*MockGCBucketMigrationTask) SetRetry added in v1.2.0

func (m *MockGCBucketMigrationTask) SetRetry(arg0 int64)

SetRetry mocks base method.

func (*MockGCBucketMigrationTask) SetTimeout added in v1.2.0

func (m *MockGCBucketMigrationTask) SetTimeout(arg0 int64)

SetTimeout mocks base method.

func (*MockGCBucketMigrationTask) SetUpdateTime added in v1.2.0

func (m *MockGCBucketMigrationTask) SetUpdateTime(arg0 int64)

SetUpdateTime mocks base method.

func (*MockGCBucketMigrationTask) SetUserAddress added in v1.2.0

func (m *MockGCBucketMigrationTask) SetUserAddress(arg0 string)

SetUserAddress mocks base method.

func (*MockGCBucketMigrationTask) Type added in v1.2.0

func (m *MockGCBucketMigrationTask) Type() TType

Type mocks base method.

type MockGCBucketMigrationTaskMockRecorder added in v1.2.0

type MockGCBucketMigrationTaskMockRecorder struct {
	// contains filtered or unexported fields
}

MockGCBucketMigrationTaskMockRecorder is the mock recorder for MockGCBucketMigrationTask.

func (*MockGCBucketMigrationTaskMockRecorder) AppendLog added in v1.2.0

func (mr *MockGCBucketMigrationTaskMockRecorder) AppendLog(log interface{}) *gomock.Call

AppendLog indicates an expected call of AppendLog.

func (*MockGCBucketMigrationTaskMockRecorder) Error added in v1.2.0

Error indicates an expected call of Error.

func (*MockGCBucketMigrationTaskMockRecorder) EstimateLimit added in v1.2.0

func (mr *MockGCBucketMigrationTaskMockRecorder) EstimateLimit() *gomock.Call

EstimateLimit indicates an expected call of EstimateLimit.

func (*MockGCBucketMigrationTaskMockRecorder) ExceedRetry added in v1.2.0

ExceedRetry indicates an expected call of ExceedRetry.

func (*MockGCBucketMigrationTaskMockRecorder) ExceedTimeout added in v1.2.0

func (mr *MockGCBucketMigrationTaskMockRecorder) ExceedTimeout() *gomock.Call

ExceedTimeout indicates an expected call of ExceedTimeout.

func (*MockGCBucketMigrationTaskMockRecorder) Expired added in v1.2.0

Expired indicates an expected call of Expired.

func (*MockGCBucketMigrationTaskMockRecorder) GetAddress added in v1.2.0

GetAddress indicates an expected call of GetAddress.

func (*MockGCBucketMigrationTaskMockRecorder) GetBucketID added in v1.2.0

GetBucketID indicates an expected call of GetBucketID.

func (*MockGCBucketMigrationTaskMockRecorder) GetCreateTime added in v1.2.0

func (mr *MockGCBucketMigrationTaskMockRecorder) GetCreateTime() *gomock.Call

GetCreateTime indicates an expected call of GetCreateTime.

func (*MockGCBucketMigrationTaskMockRecorder) GetLogs added in v1.2.0

GetLogs indicates an expected call of GetLogs.

func (*MockGCBucketMigrationTaskMockRecorder) GetMaxRetry added in v1.2.0

GetMaxRetry indicates an expected call of GetMaxRetry.

func (*MockGCBucketMigrationTaskMockRecorder) GetPriority added in v1.2.0

GetPriority indicates an expected call of GetPriority.

func (*MockGCBucketMigrationTaskMockRecorder) GetRetry added in v1.2.0

GetRetry indicates an expected call of GetRetry.

func (*MockGCBucketMigrationTaskMockRecorder) GetTimeout added in v1.2.0

GetTimeout indicates an expected call of GetTimeout.

func (*MockGCBucketMigrationTaskMockRecorder) GetUpdateTime added in v1.2.0

func (mr *MockGCBucketMigrationTaskMockRecorder) GetUpdateTime() *gomock.Call

GetUpdateTime indicates an expected call of GetUpdateTime.

func (*MockGCBucketMigrationTaskMockRecorder) GetUserAddress added in v1.2.0

func (mr *MockGCBucketMigrationTaskMockRecorder) GetUserAddress() *gomock.Call

GetUserAddress indicates an expected call of GetUserAddress.

func (*MockGCBucketMigrationTaskMockRecorder) IncRetry added in v1.2.0

IncRetry indicates an expected call of IncRetry.

func (*MockGCBucketMigrationTaskMockRecorder) Info added in v1.2.0

Info indicates an expected call of Info.

func (*MockGCBucketMigrationTaskMockRecorder) InitGCBucketMigrationTask added in v1.2.0

func (mr *MockGCBucketMigrationTaskMockRecorder) InitGCBucketMigrationTask(priority, bucketID, timeout, retry interface{}) *gomock.Call

InitGCBucketMigrationTask indicates an expected call of InitGCBucketMigrationTask.

func (*MockGCBucketMigrationTaskMockRecorder) Key added in v1.2.0

Key indicates an expected call of Key.

func (*MockGCBucketMigrationTaskMockRecorder) SetAddress added in v1.2.0

func (mr *MockGCBucketMigrationTaskMockRecorder) SetAddress(arg0 interface{}) *gomock.Call

SetAddress indicates an expected call of SetAddress.

func (*MockGCBucketMigrationTaskMockRecorder) SetBucketID added in v1.2.0

func (mr *MockGCBucketMigrationTaskMockRecorder) SetBucketID(arg0 interface{}) *gomock.Call

SetBucketID indicates an expected call of SetBucketID.

func (*MockGCBucketMigrationTaskMockRecorder) SetCreateTime added in v1.2.0

func (mr *MockGCBucketMigrationTaskMockRecorder) SetCreateTime(arg0 interface{}) *gomock.Call

SetCreateTime indicates an expected call of SetCreateTime.

func (*MockGCBucketMigrationTaskMockRecorder) SetError added in v1.2.0

func (mr *MockGCBucketMigrationTaskMockRecorder) SetError(arg0 interface{}) *gomock.Call

SetError indicates an expected call of SetError.

func (*MockGCBucketMigrationTaskMockRecorder) SetLogs added in v1.2.0

func (mr *MockGCBucketMigrationTaskMockRecorder) SetLogs(logs interface{}) *gomock.Call

SetLogs indicates an expected call of SetLogs.

func (*MockGCBucketMigrationTaskMockRecorder) SetMaxRetry added in v1.2.0

func (mr *MockGCBucketMigrationTaskMockRecorder) SetMaxRetry(arg0 interface{}) *gomock.Call

SetMaxRetry indicates an expected call of SetMaxRetry.

func (*MockGCBucketMigrationTaskMockRecorder) SetPriority added in v1.2.0

func (mr *MockGCBucketMigrationTaskMockRecorder) SetPriority(arg0 interface{}) *gomock.Call

SetPriority indicates an expected call of SetPriority.

func (*MockGCBucketMigrationTaskMockRecorder) SetRetry added in v1.2.0

func (mr *MockGCBucketMigrationTaskMockRecorder) SetRetry(arg0 interface{}) *gomock.Call

SetRetry indicates an expected call of SetRetry.

func (*MockGCBucketMigrationTaskMockRecorder) SetTimeout added in v1.2.0

func (mr *MockGCBucketMigrationTaskMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call

SetTimeout indicates an expected call of SetTimeout.

func (*MockGCBucketMigrationTaskMockRecorder) SetUpdateTime added in v1.2.0

func (mr *MockGCBucketMigrationTaskMockRecorder) SetUpdateTime(arg0 interface{}) *gomock.Call

SetUpdateTime indicates an expected call of SetUpdateTime.

func (*MockGCBucketMigrationTaskMockRecorder) SetUserAddress added in v1.2.0

func (mr *MockGCBucketMigrationTaskMockRecorder) SetUserAddress(arg0 interface{}) *gomock.Call

SetUserAddress indicates an expected call of SetUserAddress.

func (*MockGCBucketMigrationTaskMockRecorder) Type added in v1.2.0

Type indicates an expected call of Type.

type MockGCMetaTask added in v0.2.4

type MockGCMetaTask struct {
	// contains filtered or unexported fields
}

MockGCMetaTask is a mock of GCMetaTask interface.

func NewMockGCMetaTask added in v0.2.4

func NewMockGCMetaTask(ctrl *gomock.Controller) *MockGCMetaTask

NewMockGCMetaTask creates a new mock instance.

func (*MockGCMetaTask) AppendLog added in v0.2.4

func (m *MockGCMetaTask) AppendLog(log string)

AppendLog mocks base method.

func (*MockGCMetaTask) EXPECT added in v0.2.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockGCMetaTask) Error added in v0.2.4

func (m *MockGCMetaTask) Error() error

Error mocks base method.

func (*MockGCMetaTask) EstimateLimit added in v0.2.4

func (m *MockGCMetaTask) EstimateLimit() rcmgr.Limit

EstimateLimit mocks base method.

func (*MockGCMetaTask) ExceedRetry added in v0.2.4

func (m *MockGCMetaTask) ExceedRetry() bool

ExceedRetry mocks base method.

func (*MockGCMetaTask) ExceedTimeout added in v0.2.4

func (m *MockGCMetaTask) ExceedTimeout() bool

ExceedTimeout mocks base method.

func (*MockGCMetaTask) Expired added in v0.2.4

func (m *MockGCMetaTask) Expired() bool

Expired mocks base method.

func (*MockGCMetaTask) GetAddress added in v0.2.4

func (m *MockGCMetaTask) GetAddress() string

GetAddress mocks base method.

func (*MockGCMetaTask) GetCreateTime added in v0.2.4

func (m *MockGCMetaTask) GetCreateTime() int64

GetCreateTime mocks base method.

func (*MockGCMetaTask) GetGCMetaStatus added in v0.2.4

func (m *MockGCMetaTask) GetGCMetaStatus() (uint64, uint64)

GetGCMetaStatus mocks base method.

func (*MockGCMetaTask) GetLogs added in v0.2.4

func (m *MockGCMetaTask) GetLogs() string

GetLogs mocks base method.

func (*MockGCMetaTask) GetMaxRetry added in v0.2.4

func (m *MockGCMetaTask) GetMaxRetry() int64

GetMaxRetry mocks base method.

func (*MockGCMetaTask) GetPriority added in v0.2.4

func (m *MockGCMetaTask) GetPriority() TPriority

GetPriority mocks base method.

func (*MockGCMetaTask) GetRetry added in v0.2.4

func (m *MockGCMetaTask) GetRetry() int64

GetRetry mocks base method.

func (*MockGCMetaTask) GetTimeout added in v0.2.4

func (m *MockGCMetaTask) GetTimeout() int64

GetTimeout mocks base method.

func (*MockGCMetaTask) GetUpdateTime added in v0.2.4

func (m *MockGCMetaTask) GetUpdateTime() int64

GetUpdateTime mocks base method.

func (*MockGCMetaTask) GetUserAddress added in v0.2.4

func (m *MockGCMetaTask) GetUserAddress() string

GetUserAddress mocks base method.

func (*MockGCMetaTask) IncRetry added in v0.2.4

func (m *MockGCMetaTask) IncRetry()

IncRetry mocks base method.

func (*MockGCMetaTask) Info added in v0.2.4

func (m *MockGCMetaTask) Info() string

Info mocks base method.

func (*MockGCMetaTask) Key added in v0.2.4

func (m *MockGCMetaTask) Key() TKey

Key mocks base method.

func (*MockGCMetaTask) SetAddress added in v0.2.4

func (m *MockGCMetaTask) SetAddress(arg0 string)

SetAddress mocks base method.

func (*MockGCMetaTask) SetCreateTime added in v0.2.4

func (m *MockGCMetaTask) SetCreateTime(arg0 int64)

SetCreateTime mocks base method.

func (*MockGCMetaTask) SetError added in v0.2.4

func (m *MockGCMetaTask) SetError(arg0 error)

SetError mocks base method.

func (*MockGCMetaTask) SetGCMetaStatus added in v0.2.4

func (m *MockGCMetaTask) SetGCMetaStatus(arg0, arg1 uint64)

SetGCMetaStatus mocks base method.

func (*MockGCMetaTask) SetLogs added in v0.2.4

func (m *MockGCMetaTask) SetLogs(logs string)

SetLogs mocks base method.

func (*MockGCMetaTask) SetMaxRetry added in v0.2.4

func (m *MockGCMetaTask) SetMaxRetry(arg0 int64)

SetMaxRetry mocks base method.

func (*MockGCMetaTask) SetPriority added in v0.2.4

func (m *MockGCMetaTask) SetPriority(arg0 TPriority)

SetPriority mocks base method.

func (*MockGCMetaTask) SetRetry added in v0.2.4

func (m *MockGCMetaTask) SetRetry(arg0 int64)

SetRetry mocks base method.

func (*MockGCMetaTask) SetTimeout added in v0.2.4

func (m *MockGCMetaTask) SetTimeout(arg0 int64)

SetTimeout mocks base method.

func (*MockGCMetaTask) SetUpdateTime added in v0.2.4

func (m *MockGCMetaTask) SetUpdateTime(arg0 int64)

SetUpdateTime mocks base method.

func (*MockGCMetaTask) SetUserAddress added in v0.2.4

func (m *MockGCMetaTask) SetUserAddress(arg0 string)

SetUserAddress mocks base method.

func (*MockGCMetaTask) Type added in v0.2.4

func (m *MockGCMetaTask) Type() TType

Type mocks base method.

type MockGCMetaTaskMockRecorder added in v0.2.4

type MockGCMetaTaskMockRecorder struct {
	// contains filtered or unexported fields
}

MockGCMetaTaskMockRecorder is the mock recorder for MockGCMetaTask.

func (*MockGCMetaTaskMockRecorder) AppendLog added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) AppendLog(log interface{}) *gomock.Call

AppendLog indicates an expected call of AppendLog.

func (*MockGCMetaTaskMockRecorder) Error added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) Error() *gomock.Call

Error indicates an expected call of Error.

func (*MockGCMetaTaskMockRecorder) EstimateLimit added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) EstimateLimit() *gomock.Call

EstimateLimit indicates an expected call of EstimateLimit.

func (*MockGCMetaTaskMockRecorder) ExceedRetry added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) ExceedRetry() *gomock.Call

ExceedRetry indicates an expected call of ExceedRetry.

func (*MockGCMetaTaskMockRecorder) ExceedTimeout added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) ExceedTimeout() *gomock.Call

ExceedTimeout indicates an expected call of ExceedTimeout.

func (*MockGCMetaTaskMockRecorder) Expired added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) Expired() *gomock.Call

Expired indicates an expected call of Expired.

func (*MockGCMetaTaskMockRecorder) GetAddress added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) GetAddress() *gomock.Call

GetAddress indicates an expected call of GetAddress.

func (*MockGCMetaTaskMockRecorder) GetCreateTime added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) GetCreateTime() *gomock.Call

GetCreateTime indicates an expected call of GetCreateTime.

func (*MockGCMetaTaskMockRecorder) GetGCMetaStatus added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) GetGCMetaStatus() *gomock.Call

GetGCMetaStatus indicates an expected call of GetGCMetaStatus.

func (*MockGCMetaTaskMockRecorder) GetLogs added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) GetLogs() *gomock.Call

GetLogs indicates an expected call of GetLogs.

func (*MockGCMetaTaskMockRecorder) GetMaxRetry added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) GetMaxRetry() *gomock.Call

GetMaxRetry indicates an expected call of GetMaxRetry.

func (*MockGCMetaTaskMockRecorder) GetPriority added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) GetPriority() *gomock.Call

GetPriority indicates an expected call of GetPriority.

func (*MockGCMetaTaskMockRecorder) GetRetry added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) GetRetry() *gomock.Call

GetRetry indicates an expected call of GetRetry.

func (*MockGCMetaTaskMockRecorder) GetTimeout added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) GetTimeout() *gomock.Call

GetTimeout indicates an expected call of GetTimeout.

func (*MockGCMetaTaskMockRecorder) GetUpdateTime added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) GetUpdateTime() *gomock.Call

GetUpdateTime indicates an expected call of GetUpdateTime.

func (*MockGCMetaTaskMockRecorder) GetUserAddress added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) GetUserAddress() *gomock.Call

GetUserAddress indicates an expected call of GetUserAddress.

func (*MockGCMetaTaskMockRecorder) IncRetry added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) IncRetry() *gomock.Call

IncRetry indicates an expected call of IncRetry.

func (*MockGCMetaTaskMockRecorder) Info added in v0.2.4

Info indicates an expected call of Info.

func (*MockGCMetaTaskMockRecorder) Key added in v0.2.4

Key indicates an expected call of Key.

func (*MockGCMetaTaskMockRecorder) SetAddress added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) SetAddress(arg0 interface{}) *gomock.Call

SetAddress indicates an expected call of SetAddress.

func (*MockGCMetaTaskMockRecorder) SetCreateTime added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) SetCreateTime(arg0 interface{}) *gomock.Call

SetCreateTime indicates an expected call of SetCreateTime.

func (*MockGCMetaTaskMockRecorder) SetError added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) SetError(arg0 interface{}) *gomock.Call

SetError indicates an expected call of SetError.

func (*MockGCMetaTaskMockRecorder) SetGCMetaStatus added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) SetGCMetaStatus(arg0, arg1 interface{}) *gomock.Call

SetGCMetaStatus indicates an expected call of SetGCMetaStatus.

func (*MockGCMetaTaskMockRecorder) SetLogs added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) SetLogs(logs interface{}) *gomock.Call

SetLogs indicates an expected call of SetLogs.

func (*MockGCMetaTaskMockRecorder) SetMaxRetry added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) SetMaxRetry(arg0 interface{}) *gomock.Call

SetMaxRetry indicates an expected call of SetMaxRetry.

func (*MockGCMetaTaskMockRecorder) SetPriority added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) SetPriority(arg0 interface{}) *gomock.Call

SetPriority indicates an expected call of SetPriority.

func (*MockGCMetaTaskMockRecorder) SetRetry added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) SetRetry(arg0 interface{}) *gomock.Call

SetRetry indicates an expected call of SetRetry.

func (*MockGCMetaTaskMockRecorder) SetTimeout added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call

SetTimeout indicates an expected call of SetTimeout.

func (*MockGCMetaTaskMockRecorder) SetUpdateTime added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) SetUpdateTime(arg0 interface{}) *gomock.Call

SetUpdateTime indicates an expected call of SetUpdateTime.

func (*MockGCMetaTaskMockRecorder) SetUserAddress added in v0.2.4

func (mr *MockGCMetaTaskMockRecorder) SetUserAddress(arg0 interface{}) *gomock.Call

SetUserAddress indicates an expected call of SetUserAddress.

func (*MockGCMetaTaskMockRecorder) Type added in v0.2.4

Type indicates an expected call of Type.

type MockGCObjectTask added in v0.2.4

type MockGCObjectTask struct {
	// contains filtered or unexported fields
}

MockGCObjectTask is a mock of GCObjectTask interface.

func NewMockGCObjectTask added in v0.2.4

func NewMockGCObjectTask(ctrl *gomock.Controller) *MockGCObjectTask

NewMockGCObjectTask creates a new mock instance.

func (*MockGCObjectTask) AppendLog added in v0.2.4

func (m *MockGCObjectTask) AppendLog(log string)

AppendLog mocks base method.

func (*MockGCObjectTask) EXPECT added in v0.2.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockGCObjectTask) Error added in v0.2.4

func (m *MockGCObjectTask) Error() error

Error mocks base method.

func (*MockGCObjectTask) EstimateLimit added in v0.2.4

func (m *MockGCObjectTask) EstimateLimit() rcmgr.Limit

EstimateLimit mocks base method.

func (*MockGCObjectTask) ExceedRetry added in v0.2.4

func (m *MockGCObjectTask) ExceedRetry() bool

ExceedRetry mocks base method.

func (*MockGCObjectTask) ExceedTimeout added in v0.2.4

func (m *MockGCObjectTask) ExceedTimeout() bool

ExceedTimeout mocks base method.

func (*MockGCObjectTask) Expired added in v0.2.4

func (m *MockGCObjectTask) Expired() bool

Expired mocks base method.

func (*MockGCObjectTask) GetAddress added in v0.2.4

func (m *MockGCObjectTask) GetAddress() string

GetAddress mocks base method.

func (*MockGCObjectTask) GetCreateTime added in v0.2.4

func (m *MockGCObjectTask) GetCreateTime() int64

GetCreateTime mocks base method.

func (*MockGCObjectTask) GetCurrentBlockNumber added in v0.2.4

func (m *MockGCObjectTask) GetCurrentBlockNumber() uint64

GetCurrentBlockNumber mocks base method.

func (*MockGCObjectTask) GetEndBlockNumber added in v0.2.4

func (m *MockGCObjectTask) GetEndBlockNumber() uint64

GetEndBlockNumber mocks base method.

func (*MockGCObjectTask) GetGCObjectProgress added in v0.2.4

func (m *MockGCObjectTask) GetGCObjectProgress() (uint64, uint64)

GetGCObjectProgress mocks base method.

func (*MockGCObjectTask) GetLastDeletedObjectId added in v0.2.4

func (m *MockGCObjectTask) GetLastDeletedObjectId() uint64

GetLastDeletedObjectId mocks base method.

func (*MockGCObjectTask) GetLogs added in v0.2.4

func (m *MockGCObjectTask) GetLogs() string

GetLogs mocks base method.

func (*MockGCObjectTask) GetMaxRetry added in v0.2.4

func (m *MockGCObjectTask) GetMaxRetry() int64

GetMaxRetry mocks base method.

func (*MockGCObjectTask) GetPriority added in v0.2.4

func (m *MockGCObjectTask) GetPriority() TPriority

GetPriority mocks base method.

func (*MockGCObjectTask) GetRetry added in v0.2.4

func (m *MockGCObjectTask) GetRetry() int64

GetRetry mocks base method.

func (*MockGCObjectTask) GetStartBlockNumber added in v0.2.4

func (m *MockGCObjectTask) GetStartBlockNumber() uint64

GetStartBlockNumber mocks base method.

func (*MockGCObjectTask) GetTimeout added in v0.2.4

func (m *MockGCObjectTask) GetTimeout() int64

GetTimeout mocks base method.

func (*MockGCObjectTask) GetUpdateTime added in v0.2.4

func (m *MockGCObjectTask) GetUpdateTime() int64

GetUpdateTime mocks base method.

func (*MockGCObjectTask) GetUserAddress added in v0.2.4

func (m *MockGCObjectTask) GetUserAddress() string

GetUserAddress mocks base method.

func (*MockGCObjectTask) IncRetry added in v0.2.4

func (m *MockGCObjectTask) IncRetry()

IncRetry mocks base method.

func (*MockGCObjectTask) Info added in v0.2.4

func (m *MockGCObjectTask) Info() string

Info mocks base method.

func (*MockGCObjectTask) InitGCObjectTask added in v0.2.4

func (m *MockGCObjectTask) InitGCObjectTask(priority TPriority, start, end uint64, timeout int64)

InitGCObjectTask mocks base method.

func (*MockGCObjectTask) Key added in v0.2.4

func (m *MockGCObjectTask) Key() TKey

Key mocks base method.

func (*MockGCObjectTask) SetAddress added in v0.2.4

func (m *MockGCObjectTask) SetAddress(arg0 string)

SetAddress mocks base method.

func (*MockGCObjectTask) SetCreateTime added in v0.2.4

func (m *MockGCObjectTask) SetCreateTime(arg0 int64)

SetCreateTime mocks base method.

func (*MockGCObjectTask) SetCurrentBlockNumber added in v0.2.4

func (m *MockGCObjectTask) SetCurrentBlockNumber(arg0 uint64)

SetCurrentBlockNumber mocks base method.

func (*MockGCObjectTask) SetEndBlockNumber added in v0.2.4

func (m *MockGCObjectTask) SetEndBlockNumber(arg0 uint64)

SetEndBlockNumber mocks base method.

func (*MockGCObjectTask) SetError added in v0.2.4

func (m *MockGCObjectTask) SetError(arg0 error)

SetError mocks base method.

func (*MockGCObjectTask) SetGCObjectProgress added in v0.2.4

func (m *MockGCObjectTask) SetGCObjectProgress(arg0, arg1 uint64)

SetGCObjectProgress mocks base method.

func (*MockGCObjectTask) SetLastDeletedObjectId added in v0.2.4

func (m *MockGCObjectTask) SetLastDeletedObjectId(arg0 uint64)

SetLastDeletedObjectId mocks base method.

func (*MockGCObjectTask) SetLogs added in v0.2.4

func (m *MockGCObjectTask) SetLogs(logs string)

SetLogs mocks base method.

func (*MockGCObjectTask) SetMaxRetry added in v0.2.4

func (m *MockGCObjectTask) SetMaxRetry(arg0 int64)

SetMaxRetry mocks base method.

func (*MockGCObjectTask) SetPriority added in v0.2.4

func (m *MockGCObjectTask) SetPriority(arg0 TPriority)

SetPriority mocks base method.

func (*MockGCObjectTask) SetRetry added in v0.2.4

func (m *MockGCObjectTask) SetRetry(arg0 int64)

SetRetry mocks base method.

func (*MockGCObjectTask) SetStartBlockNumber added in v0.2.4

func (m *MockGCObjectTask) SetStartBlockNumber(arg0 uint64)

SetStartBlockNumber mocks base method.

func (*MockGCObjectTask) SetTimeout added in v0.2.4

func (m *MockGCObjectTask) SetTimeout(arg0 int64)

SetTimeout mocks base method.

func (*MockGCObjectTask) SetUpdateTime added in v0.2.4

func (m *MockGCObjectTask) SetUpdateTime(arg0 int64)

SetUpdateTime mocks base method.

func (*MockGCObjectTask) SetUserAddress added in v0.2.4

func (m *MockGCObjectTask) SetUserAddress(arg0 string)

SetUserAddress mocks base method.

func (*MockGCObjectTask) Type added in v0.2.4

func (m *MockGCObjectTask) Type() TType

Type mocks base method.

type MockGCObjectTaskMockRecorder added in v0.2.4

type MockGCObjectTaskMockRecorder struct {
	// contains filtered or unexported fields
}

MockGCObjectTaskMockRecorder is the mock recorder for MockGCObjectTask.

func (*MockGCObjectTaskMockRecorder) AppendLog added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) AppendLog(log interface{}) *gomock.Call

AppendLog indicates an expected call of AppendLog.

func (*MockGCObjectTaskMockRecorder) Error added in v0.2.4

Error indicates an expected call of Error.

func (*MockGCObjectTaskMockRecorder) EstimateLimit added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) EstimateLimit() *gomock.Call

EstimateLimit indicates an expected call of EstimateLimit.

func (*MockGCObjectTaskMockRecorder) ExceedRetry added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) ExceedRetry() *gomock.Call

ExceedRetry indicates an expected call of ExceedRetry.

func (*MockGCObjectTaskMockRecorder) ExceedTimeout added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) ExceedTimeout() *gomock.Call

ExceedTimeout indicates an expected call of ExceedTimeout.

func (*MockGCObjectTaskMockRecorder) Expired added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) Expired() *gomock.Call

Expired indicates an expected call of Expired.

func (*MockGCObjectTaskMockRecorder) GetAddress added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) GetAddress() *gomock.Call

GetAddress indicates an expected call of GetAddress.

func (*MockGCObjectTaskMockRecorder) GetCreateTime added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) GetCreateTime() *gomock.Call

GetCreateTime indicates an expected call of GetCreateTime.

func (*MockGCObjectTaskMockRecorder) GetCurrentBlockNumber added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) GetCurrentBlockNumber() *gomock.Call

GetCurrentBlockNumber indicates an expected call of GetCurrentBlockNumber.

func (*MockGCObjectTaskMockRecorder) GetEndBlockNumber added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) GetEndBlockNumber() *gomock.Call

GetEndBlockNumber indicates an expected call of GetEndBlockNumber.

func (*MockGCObjectTaskMockRecorder) GetGCObjectProgress added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) GetGCObjectProgress() *gomock.Call

GetGCObjectProgress indicates an expected call of GetGCObjectProgress.

func (*MockGCObjectTaskMockRecorder) GetLastDeletedObjectId added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) GetLastDeletedObjectId() *gomock.Call

GetLastDeletedObjectId indicates an expected call of GetLastDeletedObjectId.

func (*MockGCObjectTaskMockRecorder) GetLogs added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) GetLogs() *gomock.Call

GetLogs indicates an expected call of GetLogs.

func (*MockGCObjectTaskMockRecorder) GetMaxRetry added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) GetMaxRetry() *gomock.Call

GetMaxRetry indicates an expected call of GetMaxRetry.

func (*MockGCObjectTaskMockRecorder) GetPriority added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) GetPriority() *gomock.Call

GetPriority indicates an expected call of GetPriority.

func (*MockGCObjectTaskMockRecorder) GetRetry added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) GetRetry() *gomock.Call

GetRetry indicates an expected call of GetRetry.

func (*MockGCObjectTaskMockRecorder) GetStartBlockNumber added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) GetStartBlockNumber() *gomock.Call

GetStartBlockNumber indicates an expected call of GetStartBlockNumber.

func (*MockGCObjectTaskMockRecorder) GetTimeout added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) GetTimeout() *gomock.Call

GetTimeout indicates an expected call of GetTimeout.

func (*MockGCObjectTaskMockRecorder) GetUpdateTime added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) GetUpdateTime() *gomock.Call

GetUpdateTime indicates an expected call of GetUpdateTime.

func (*MockGCObjectTaskMockRecorder) GetUserAddress added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) GetUserAddress() *gomock.Call

GetUserAddress indicates an expected call of GetUserAddress.

func (*MockGCObjectTaskMockRecorder) IncRetry added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) IncRetry() *gomock.Call

IncRetry indicates an expected call of IncRetry.

func (*MockGCObjectTaskMockRecorder) Info added in v0.2.4

Info indicates an expected call of Info.

func (*MockGCObjectTaskMockRecorder) InitGCObjectTask added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) InitGCObjectTask(priority, start, end, timeout interface{}) *gomock.Call

InitGCObjectTask indicates an expected call of InitGCObjectTask.

func (*MockGCObjectTaskMockRecorder) Key added in v0.2.4

Key indicates an expected call of Key.

func (*MockGCObjectTaskMockRecorder) SetAddress added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) SetAddress(arg0 interface{}) *gomock.Call

SetAddress indicates an expected call of SetAddress.

func (*MockGCObjectTaskMockRecorder) SetCreateTime added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) SetCreateTime(arg0 interface{}) *gomock.Call

SetCreateTime indicates an expected call of SetCreateTime.

func (*MockGCObjectTaskMockRecorder) SetCurrentBlockNumber added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) SetCurrentBlockNumber(arg0 interface{}) *gomock.Call

SetCurrentBlockNumber indicates an expected call of SetCurrentBlockNumber.

func (*MockGCObjectTaskMockRecorder) SetEndBlockNumber added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) SetEndBlockNumber(arg0 interface{}) *gomock.Call

SetEndBlockNumber indicates an expected call of SetEndBlockNumber.

func (*MockGCObjectTaskMockRecorder) SetError added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) SetError(arg0 interface{}) *gomock.Call

SetError indicates an expected call of SetError.

func (*MockGCObjectTaskMockRecorder) SetGCObjectProgress added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) SetGCObjectProgress(arg0, arg1 interface{}) *gomock.Call

SetGCObjectProgress indicates an expected call of SetGCObjectProgress.

func (*MockGCObjectTaskMockRecorder) SetLastDeletedObjectId added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) SetLastDeletedObjectId(arg0 interface{}) *gomock.Call

SetLastDeletedObjectId indicates an expected call of SetLastDeletedObjectId.

func (*MockGCObjectTaskMockRecorder) SetLogs added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) SetLogs(logs interface{}) *gomock.Call

SetLogs indicates an expected call of SetLogs.

func (*MockGCObjectTaskMockRecorder) SetMaxRetry added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) SetMaxRetry(arg0 interface{}) *gomock.Call

SetMaxRetry indicates an expected call of SetMaxRetry.

func (*MockGCObjectTaskMockRecorder) SetPriority added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) SetPriority(arg0 interface{}) *gomock.Call

SetPriority indicates an expected call of SetPriority.

func (*MockGCObjectTaskMockRecorder) SetRetry added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) SetRetry(arg0 interface{}) *gomock.Call

SetRetry indicates an expected call of SetRetry.

func (*MockGCObjectTaskMockRecorder) SetStartBlockNumber added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) SetStartBlockNumber(arg0 interface{}) *gomock.Call

SetStartBlockNumber indicates an expected call of SetStartBlockNumber.

func (*MockGCObjectTaskMockRecorder) SetTimeout added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call

SetTimeout indicates an expected call of SetTimeout.

func (*MockGCObjectTaskMockRecorder) SetUpdateTime added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) SetUpdateTime(arg0 interface{}) *gomock.Call

SetUpdateTime indicates an expected call of SetUpdateTime.

func (*MockGCObjectTaskMockRecorder) SetUserAddress added in v0.2.4

func (mr *MockGCObjectTaskMockRecorder) SetUserAddress(arg0 interface{}) *gomock.Call

SetUserAddress indicates an expected call of SetUserAddress.

func (*MockGCObjectTaskMockRecorder) Type added in v0.2.4

Type indicates an expected call of Type.

type MockGCTask added in v0.2.4

type MockGCTask struct {
	// contains filtered or unexported fields
}

MockGCTask is a mock of GCTask interface.

func NewMockGCTask added in v0.2.4

func NewMockGCTask(ctrl *gomock.Controller) *MockGCTask

NewMockGCTask creates a new mock instance.

func (*MockGCTask) AppendLog added in v0.2.4

func (m *MockGCTask) AppendLog(log string)

AppendLog mocks base method.

func (*MockGCTask) EXPECT added in v0.2.4

func (m *MockGCTask) EXPECT() *MockGCTaskMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockGCTask) Error added in v0.2.4

func (m *MockGCTask) Error() error

Error mocks base method.

func (*MockGCTask) EstimateLimit added in v0.2.4

func (m *MockGCTask) EstimateLimit() rcmgr.Limit

EstimateLimit mocks base method.

func (*MockGCTask) ExceedRetry added in v0.2.4

func (m *MockGCTask) ExceedRetry() bool

ExceedRetry mocks base method.

func (*MockGCTask) ExceedTimeout added in v0.2.4

func (m *MockGCTask) ExceedTimeout() bool

ExceedTimeout mocks base method.

func (*MockGCTask) Expired added in v0.2.4

func (m *MockGCTask) Expired() bool

Expired mocks base method.

func (*MockGCTask) GetAddress added in v0.2.4

func (m *MockGCTask) GetAddress() string

GetAddress mocks base method.

func (*MockGCTask) GetCreateTime added in v0.2.4

func (m *MockGCTask) GetCreateTime() int64

GetCreateTime mocks base method.

func (*MockGCTask) GetLogs added in v0.2.4

func (m *MockGCTask) GetLogs() string

GetLogs mocks base method.

func (*MockGCTask) GetMaxRetry added in v0.2.4

func (m *MockGCTask) GetMaxRetry() int64

GetMaxRetry mocks base method.

func (*MockGCTask) GetPriority added in v0.2.4

func (m *MockGCTask) GetPriority() TPriority

GetPriority mocks base method.

func (*MockGCTask) GetRetry added in v0.2.4

func (m *MockGCTask) GetRetry() int64

GetRetry mocks base method.

func (*MockGCTask) GetTimeout added in v0.2.4

func (m *MockGCTask) GetTimeout() int64

GetTimeout mocks base method.

func (*MockGCTask) GetUpdateTime added in v0.2.4

func (m *MockGCTask) GetUpdateTime() int64

GetUpdateTime mocks base method.

func (*MockGCTask) GetUserAddress added in v0.2.4

func (m *MockGCTask) GetUserAddress() string

GetUserAddress mocks base method.

func (*MockGCTask) IncRetry added in v0.2.4

func (m *MockGCTask) IncRetry()

IncRetry mocks base method.

func (*MockGCTask) Info added in v0.2.4

func (m *MockGCTask) Info() string

Info mocks base method.

func (*MockGCTask) Key added in v0.2.4

func (m *MockGCTask) Key() TKey

Key mocks base method.

func (*MockGCTask) SetAddress added in v0.2.4

func (m *MockGCTask) SetAddress(arg0 string)

SetAddress mocks base method.

func (*MockGCTask) SetCreateTime added in v0.2.4

func (m *MockGCTask) SetCreateTime(arg0 int64)

SetCreateTime mocks base method.

func (*MockGCTask) SetError added in v0.2.4

func (m *MockGCTask) SetError(arg0 error)

SetError mocks base method.

func (*MockGCTask) SetLogs added in v0.2.4

func (m *MockGCTask) SetLogs(logs string)

SetLogs mocks base method.

func (*MockGCTask) SetMaxRetry added in v0.2.4

func (m *MockGCTask) SetMaxRetry(arg0 int64)

SetMaxRetry mocks base method.

func (*MockGCTask) SetPriority added in v0.2.4

func (m *MockGCTask) SetPriority(arg0 TPriority)

SetPriority mocks base method.

func (*MockGCTask) SetRetry added in v0.2.4

func (m *MockGCTask) SetRetry(arg0 int64)

SetRetry mocks base method.

func (*MockGCTask) SetTimeout added in v0.2.4

func (m *MockGCTask) SetTimeout(arg0 int64)

SetTimeout mocks base method.

func (*MockGCTask) SetUpdateTime added in v0.2.4

func (m *MockGCTask) SetUpdateTime(arg0 int64)

SetUpdateTime mocks base method.

func (*MockGCTask) SetUserAddress added in v0.2.4

func (m *MockGCTask) SetUserAddress(arg0 string)

SetUserAddress mocks base method.

func (*MockGCTask) Type added in v0.2.4

func (m *MockGCTask) Type() TType

Type mocks base method.

type MockGCTaskMockRecorder added in v0.2.4

type MockGCTaskMockRecorder struct {
	// contains filtered or unexported fields
}

MockGCTaskMockRecorder is the mock recorder for MockGCTask.

func (*MockGCTaskMockRecorder) AppendLog added in v0.2.4

func (mr *MockGCTaskMockRecorder) AppendLog(log interface{}) *gomock.Call

AppendLog indicates an expected call of AppendLog.

func (*MockGCTaskMockRecorder) Error added in v0.2.4

func (mr *MockGCTaskMockRecorder) Error() *gomock.Call

Error indicates an expected call of Error.

func (*MockGCTaskMockRecorder) EstimateLimit added in v0.2.4

func (mr *MockGCTaskMockRecorder) EstimateLimit() *gomock.Call

EstimateLimit indicates an expected call of EstimateLimit.

func (*MockGCTaskMockRecorder) ExceedRetry added in v0.2.4

func (mr *MockGCTaskMockRecorder) ExceedRetry() *gomock.Call

ExceedRetry indicates an expected call of ExceedRetry.

func (*MockGCTaskMockRecorder) ExceedTimeout added in v0.2.4

func (mr *MockGCTaskMockRecorder) ExceedTimeout() *gomock.Call

ExceedTimeout indicates an expected call of ExceedTimeout.

func (*MockGCTaskMockRecorder) Expired added in v0.2.4

func (mr *MockGCTaskMockRecorder) Expired() *gomock.Call

Expired indicates an expected call of Expired.

func (*MockGCTaskMockRecorder) GetAddress added in v0.2.4

func (mr *MockGCTaskMockRecorder) GetAddress() *gomock.Call

GetAddress indicates an expected call of GetAddress.

func (*MockGCTaskMockRecorder) GetCreateTime added in v0.2.4

func (mr *MockGCTaskMockRecorder) GetCreateTime() *gomock.Call

GetCreateTime indicates an expected call of GetCreateTime.

func (*MockGCTaskMockRecorder) GetLogs added in v0.2.4

func (mr *MockGCTaskMockRecorder) GetLogs() *gomock.Call

GetLogs indicates an expected call of GetLogs.

func (*MockGCTaskMockRecorder) GetMaxRetry added in v0.2.4

func (mr *MockGCTaskMockRecorder) GetMaxRetry() *gomock.Call

GetMaxRetry indicates an expected call of GetMaxRetry.

func (*MockGCTaskMockRecorder) GetPriority added in v0.2.4

func (mr *MockGCTaskMockRecorder) GetPriority() *gomock.Call

GetPriority indicates an expected call of GetPriority.

func (*MockGCTaskMockRecorder) GetRetry added in v0.2.4

func (mr *MockGCTaskMockRecorder) GetRetry() *gomock.Call

GetRetry indicates an expected call of GetRetry.

func (*MockGCTaskMockRecorder) GetTimeout added in v0.2.4

func (mr *MockGCTaskMockRecorder) GetTimeout() *gomock.Call

GetTimeout indicates an expected call of GetTimeout.

func (*MockGCTaskMockRecorder) GetUpdateTime added in v0.2.4

func (mr *MockGCTaskMockRecorder) GetUpdateTime() *gomock.Call

GetUpdateTime indicates an expected call of GetUpdateTime.

func (*MockGCTaskMockRecorder) GetUserAddress added in v0.2.4

func (mr *MockGCTaskMockRecorder) GetUserAddress() *gomock.Call

GetUserAddress indicates an expected call of GetUserAddress.

func (*MockGCTaskMockRecorder) IncRetry added in v0.2.4

func (mr *MockGCTaskMockRecorder) IncRetry() *gomock.Call

IncRetry indicates an expected call of IncRetry.

func (*MockGCTaskMockRecorder) Info added in v0.2.4

func (mr *MockGCTaskMockRecorder) Info() *gomock.Call

Info indicates an expected call of Info.

func (*MockGCTaskMockRecorder) Key added in v0.2.4

func (mr *MockGCTaskMockRecorder) Key() *gomock.Call

Key indicates an expected call of Key.

func (*MockGCTaskMockRecorder) SetAddress added in v0.2.4

func (mr *MockGCTaskMockRecorder) SetAddress(arg0 interface{}) *gomock.Call

SetAddress indicates an expected call of SetAddress.

func (*MockGCTaskMockRecorder) SetCreateTime added in v0.2.4

func (mr *MockGCTaskMockRecorder) SetCreateTime(arg0 interface{}) *gomock.Call

SetCreateTime indicates an expected call of SetCreateTime.

func (*MockGCTaskMockRecorder) SetError added in v0.2.4

func (mr *MockGCTaskMockRecorder) SetError(arg0 interface{}) *gomock.Call

SetError indicates an expected call of SetError.

func (*MockGCTaskMockRecorder) SetLogs added in v0.2.4

func (mr *MockGCTaskMockRecorder) SetLogs(logs interface{}) *gomock.Call

SetLogs indicates an expected call of SetLogs.

func (*MockGCTaskMockRecorder) SetMaxRetry added in v0.2.4

func (mr *MockGCTaskMockRecorder) SetMaxRetry(arg0 interface{}) *gomock.Call

SetMaxRetry indicates an expected call of SetMaxRetry.

func (*MockGCTaskMockRecorder) SetPriority added in v0.2.4

func (mr *MockGCTaskMockRecorder) SetPriority(arg0 interface{}) *gomock.Call

SetPriority indicates an expected call of SetPriority.

func (*MockGCTaskMockRecorder) SetRetry added in v0.2.4

func (mr *MockGCTaskMockRecorder) SetRetry(arg0 interface{}) *gomock.Call

SetRetry indicates an expected call of SetRetry.

func (*MockGCTaskMockRecorder) SetTimeout added in v0.2.4

func (mr *MockGCTaskMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call

SetTimeout indicates an expected call of SetTimeout.

func (*MockGCTaskMockRecorder) SetUpdateTime added in v0.2.4

func (mr *MockGCTaskMockRecorder) SetUpdateTime(arg0 interface{}) *gomock.Call

SetUpdateTime indicates an expected call of SetUpdateTime.

func (*MockGCTaskMockRecorder) SetUserAddress added in v0.2.4

func (mr *MockGCTaskMockRecorder) SetUserAddress(arg0 interface{}) *gomock.Call

SetUserAddress indicates an expected call of SetUserAddress.

func (*MockGCTaskMockRecorder) Type added in v0.2.4

func (mr *MockGCTaskMockRecorder) Type() *gomock.Call

Type indicates an expected call of Type.

type MockGCZombiePieceTask added in v0.2.4

type MockGCZombiePieceTask struct {
	// contains filtered or unexported fields
}

MockGCZombiePieceTask is a mock of GCZombiePieceTask interface.

func NewMockGCZombiePieceTask added in v0.2.4

func NewMockGCZombiePieceTask(ctrl *gomock.Controller) *MockGCZombiePieceTask

NewMockGCZombiePieceTask creates a new mock instance.

func (*MockGCZombiePieceTask) AppendLog added in v0.2.4

func (m *MockGCZombiePieceTask) AppendLog(log string)

AppendLog mocks base method.

func (*MockGCZombiePieceTask) EXPECT added in v0.2.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockGCZombiePieceTask) Error added in v0.2.4

func (m *MockGCZombiePieceTask) Error() error

Error mocks base method.

func (*MockGCZombiePieceTask) EstimateLimit added in v0.2.4

func (m *MockGCZombiePieceTask) EstimateLimit() rcmgr.Limit

EstimateLimit mocks base method.

func (*MockGCZombiePieceTask) ExceedRetry added in v0.2.4

func (m *MockGCZombiePieceTask) ExceedRetry() bool

ExceedRetry mocks base method.

func (*MockGCZombiePieceTask) ExceedTimeout added in v0.2.4

func (m *MockGCZombiePieceTask) ExceedTimeout() bool

ExceedTimeout mocks base method.

func (*MockGCZombiePieceTask) Expired added in v0.2.4

func (m *MockGCZombiePieceTask) Expired() bool

Expired mocks base method.

func (*MockGCZombiePieceTask) GetAddress added in v0.2.4

func (m *MockGCZombiePieceTask) GetAddress() string

GetAddress mocks base method.

func (*MockGCZombiePieceTask) GetCreateTime added in v0.2.4

func (m *MockGCZombiePieceTask) GetCreateTime() int64

GetCreateTime mocks base method.

func (*MockGCZombiePieceTask) GetEndObjectId added in v1.2.0

func (m *MockGCZombiePieceTask) GetEndObjectId() uint64

GetEndObjectId mocks base method.

func (*MockGCZombiePieceTask) GetLogs added in v0.2.4

func (m *MockGCZombiePieceTask) GetLogs() string

GetLogs mocks base method.

func (*MockGCZombiePieceTask) GetMaxRetry added in v0.2.4

func (m *MockGCZombiePieceTask) GetMaxRetry() int64

GetMaxRetry mocks base method.

func (*MockGCZombiePieceTask) GetPriority added in v0.2.4

func (m *MockGCZombiePieceTask) GetPriority() TPriority

GetPriority mocks base method.

func (*MockGCZombiePieceTask) GetRetry added in v0.2.4

func (m *MockGCZombiePieceTask) GetRetry() int64

GetRetry mocks base method.

func (*MockGCZombiePieceTask) GetStartObjectId added in v1.2.0

func (m *MockGCZombiePieceTask) GetStartObjectId() uint64

GetStartObjectId mocks base method.

func (*MockGCZombiePieceTask) GetTimeout added in v0.2.4

func (m *MockGCZombiePieceTask) GetTimeout() int64

GetTimeout mocks base method.

func (*MockGCZombiePieceTask) GetUpdateTime added in v0.2.4

func (m *MockGCZombiePieceTask) GetUpdateTime() int64

GetUpdateTime mocks base method.

func (*MockGCZombiePieceTask) GetUserAddress added in v0.2.4

func (m *MockGCZombiePieceTask) GetUserAddress() string

GetUserAddress mocks base method.

func (*MockGCZombiePieceTask) IncRetry added in v0.2.4

func (m *MockGCZombiePieceTask) IncRetry()

IncRetry mocks base method.

func (*MockGCZombiePieceTask) Info added in v0.2.4

func (m *MockGCZombiePieceTask) Info() string

Info mocks base method.

func (*MockGCZombiePieceTask) InitGCZombiePieceTask added in v1.2.0

func (m *MockGCZombiePieceTask) InitGCZombiePieceTask(priority TPriority, start, end uint64, timeout int64)

InitGCZombiePieceTask mocks base method.

func (*MockGCZombiePieceTask) Key added in v0.2.4

func (m *MockGCZombiePieceTask) Key() TKey

Key mocks base method.

func (*MockGCZombiePieceTask) SetAddress added in v0.2.4

func (m *MockGCZombiePieceTask) SetAddress(arg0 string)

SetAddress mocks base method.

func (*MockGCZombiePieceTask) SetCreateTime added in v0.2.4

func (m *MockGCZombiePieceTask) SetCreateTime(arg0 int64)

SetCreateTime mocks base method.

func (*MockGCZombiePieceTask) SetEndObjectID added in v1.2.0

func (m *MockGCZombiePieceTask) SetEndObjectID(arg0 uint64)

SetEndObjectID mocks base method.

func (*MockGCZombiePieceTask) SetError added in v0.2.4

func (m *MockGCZombiePieceTask) SetError(arg0 error)

SetError mocks base method.

func (*MockGCZombiePieceTask) SetLogs added in v0.2.4

func (m *MockGCZombiePieceTask) SetLogs(logs string)

SetLogs mocks base method.

func (*MockGCZombiePieceTask) SetMaxRetry added in v0.2.4

func (m *MockGCZombiePieceTask) SetMaxRetry(arg0 int64)

SetMaxRetry mocks base method.

func (*MockGCZombiePieceTask) SetPriority added in v0.2.4

func (m *MockGCZombiePieceTask) SetPriority(arg0 TPriority)

SetPriority mocks base method.

func (*MockGCZombiePieceTask) SetRetry added in v0.2.4

func (m *MockGCZombiePieceTask) SetRetry(arg0 int64)

SetRetry mocks base method.

func (*MockGCZombiePieceTask) SetStartObjectID added in v1.2.0

func (m *MockGCZombiePieceTask) SetStartObjectID(arg0 uint64)

SetStartObjectID mocks base method.

func (*MockGCZombiePieceTask) SetTimeout added in v0.2.4

func (m *MockGCZombiePieceTask) SetTimeout(arg0 int64)

SetTimeout mocks base method.

func (*MockGCZombiePieceTask) SetUpdateTime added in v0.2.4

func (m *MockGCZombiePieceTask) SetUpdateTime(arg0 int64)

SetUpdateTime mocks base method.

func (*MockGCZombiePieceTask) SetUserAddress added in v0.2.4

func (m *MockGCZombiePieceTask) SetUserAddress(arg0 string)

SetUserAddress mocks base method.

func (*MockGCZombiePieceTask) Type added in v0.2.4

func (m *MockGCZombiePieceTask) Type() TType

Type mocks base method.

type MockGCZombiePieceTaskMockRecorder added in v0.2.4

type MockGCZombiePieceTaskMockRecorder struct {
	// contains filtered or unexported fields
}

MockGCZombiePieceTaskMockRecorder is the mock recorder for MockGCZombiePieceTask.

func (*MockGCZombiePieceTaskMockRecorder) AppendLog added in v0.2.4

func (mr *MockGCZombiePieceTaskMockRecorder) AppendLog(log interface{}) *gomock.Call

AppendLog indicates an expected call of AppendLog.

func (*MockGCZombiePieceTaskMockRecorder) Error added in v0.2.4

Error indicates an expected call of Error.

func (*MockGCZombiePieceTaskMockRecorder) EstimateLimit added in v0.2.4

func (mr *MockGCZombiePieceTaskMockRecorder) EstimateLimit() *gomock.Call

EstimateLimit indicates an expected call of EstimateLimit.

func (*MockGCZombiePieceTaskMockRecorder) ExceedRetry added in v0.2.4

func (mr *MockGCZombiePieceTaskMockRecorder) ExceedRetry() *gomock.Call

ExceedRetry indicates an expected call of ExceedRetry.

func (*MockGCZombiePieceTaskMockRecorder) ExceedTimeout added in v0.2.4

func (mr *MockGCZombiePieceTaskMockRecorder) ExceedTimeout() *gomock.Call

ExceedTimeout indicates an expected call of ExceedTimeout.

func (*MockGCZombiePieceTaskMockRecorder) Expired added in v0.2.4

Expired indicates an expected call of Expired.

func (*MockGCZombiePieceTaskMockRecorder) GetAddress added in v0.2.4

func (mr *MockGCZombiePieceTaskMockRecorder) GetAddress() *gomock.Call

GetAddress indicates an expected call of GetAddress.

func (*MockGCZombiePieceTaskMockRecorder) GetCreateTime added in v0.2.4

func (mr *MockGCZombiePieceTaskMockRecorder) GetCreateTime() *gomock.Call

GetCreateTime indicates an expected call of GetCreateTime.

func (*MockGCZombiePieceTaskMockRecorder) GetEndObjectId added in v1.2.0

func (mr *MockGCZombiePieceTaskMockRecorder) GetEndObjectId() *gomock.Call

GetEndObjectId indicates an expected call of GetEndObjectId.

func (*MockGCZombiePieceTaskMockRecorder) GetLogs added in v0.2.4

GetLogs indicates an expected call of GetLogs.

func (*MockGCZombiePieceTaskMockRecorder) GetMaxRetry added in v0.2.4

func (mr *MockGCZombiePieceTaskMockRecorder) GetMaxRetry() *gomock.Call

GetMaxRetry indicates an expected call of GetMaxRetry.

func (*MockGCZombiePieceTaskMockRecorder) GetPriority added in v0.2.4

func (mr *MockGCZombiePieceTaskMockRecorder) GetPriority() *gomock.Call

GetPriority indicates an expected call of GetPriority.

func (*MockGCZombiePieceTaskMockRecorder) GetRetry added in v0.2.4

GetRetry indicates an expected call of GetRetry.

func (*MockGCZombiePieceTaskMockRecorder) GetStartObjectId added in v1.2.0

func (mr *MockGCZombiePieceTaskMockRecorder) GetStartObjectId() *gomock.Call

GetStartObjectId indicates an expected call of GetStartObjectId.

func (*MockGCZombiePieceTaskMockRecorder) GetTimeout added in v0.2.4

func (mr *MockGCZombiePieceTaskMockRecorder) GetTimeout() *gomock.Call

GetTimeout indicates an expected call of GetTimeout.

func (*MockGCZombiePieceTaskMockRecorder) GetUpdateTime added in v0.2.4

func (mr *MockGCZombiePieceTaskMockRecorder) GetUpdateTime() *gomock.Call

GetUpdateTime indicates an expected call of GetUpdateTime.

func (*MockGCZombiePieceTaskMockRecorder) GetUserAddress added in v0.2.4

func (mr *MockGCZombiePieceTaskMockRecorder) GetUserAddress() *gomock.Call

GetUserAddress indicates an expected call of GetUserAddress.

func (*MockGCZombiePieceTaskMockRecorder) IncRetry added in v0.2.4

IncRetry indicates an expected call of IncRetry.

func (*MockGCZombiePieceTaskMockRecorder) Info added in v0.2.4

Info indicates an expected call of Info.

func (*MockGCZombiePieceTaskMockRecorder) InitGCZombiePieceTask added in v1.2.0

func (mr *MockGCZombiePieceTaskMockRecorder) InitGCZombiePieceTask(priority, start, end, timeout interface{}) *gomock.Call

InitGCZombiePieceTask indicates an expected call of InitGCZombiePieceTask.

func (*MockGCZombiePieceTaskMockRecorder) Key added in v0.2.4

Key indicates an expected call of Key.

func (*MockGCZombiePieceTaskMockRecorder) SetAddress added in v0.2.4

func (mr *MockGCZombiePieceTaskMockRecorder) SetAddress(arg0 interface{}) *gomock.Call

SetAddress indicates an expected call of SetAddress.

func (*MockGCZombiePieceTaskMockRecorder) SetCreateTime added in v0.2.4

func (mr *MockGCZombiePieceTaskMockRecorder) SetCreateTime(arg0 interface{}) *gomock.Call

SetCreateTime indicates an expected call of SetCreateTime.

func (*MockGCZombiePieceTaskMockRecorder) SetEndObjectID added in v1.2.0

func (mr *MockGCZombiePieceTaskMockRecorder) SetEndObjectID(arg0 interface{}) *gomock.Call

SetEndObjectID indicates an expected call of SetEndObjectID.

func (*MockGCZombiePieceTaskMockRecorder) SetError added in v0.2.4

func (mr *MockGCZombiePieceTaskMockRecorder) SetError(arg0 interface{}) *gomock.Call

SetError indicates an expected call of SetError.

func (*MockGCZombiePieceTaskMockRecorder) SetLogs added in v0.2.4

func (mr *MockGCZombiePieceTaskMockRecorder) SetLogs(logs interface{}) *gomock.Call

SetLogs indicates an expected call of SetLogs.

func (*MockGCZombiePieceTaskMockRecorder) SetMaxRetry added in v0.2.4

func (mr *MockGCZombiePieceTaskMockRecorder) SetMaxRetry(arg0 interface{}) *gomock.Call

SetMaxRetry indicates an expected call of SetMaxRetry.

func (*MockGCZombiePieceTaskMockRecorder) SetPriority added in v0.2.4

func (mr *MockGCZombiePieceTaskMockRecorder) SetPriority(arg0 interface{}) *gomock.Call

SetPriority indicates an expected call of SetPriority.

func (*MockGCZombiePieceTaskMockRecorder) SetRetry added in v0.2.4

func (mr *MockGCZombiePieceTaskMockRecorder) SetRetry(arg0 interface{}) *gomock.Call

SetRetry indicates an expected call of SetRetry.

func (*MockGCZombiePieceTaskMockRecorder) SetStartObjectID added in v1.2.0

func (mr *MockGCZombiePieceTaskMockRecorder) SetStartObjectID(arg0 interface{}) *gomock.Call

SetStartObjectID indicates an expected call of SetStartObjectID.

func (*MockGCZombiePieceTaskMockRecorder) SetTimeout added in v0.2.4

func (mr *MockGCZombiePieceTaskMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call

SetTimeout indicates an expected call of SetTimeout.

func (*MockGCZombiePieceTaskMockRecorder) SetUpdateTime added in v0.2.4

func (mr *MockGCZombiePieceTaskMockRecorder) SetUpdateTime(arg0 interface{}) *gomock.Call

SetUpdateTime indicates an expected call of SetUpdateTime.

func (*MockGCZombiePieceTaskMockRecorder) SetUserAddress added in v0.2.4

func (mr *MockGCZombiePieceTaskMockRecorder) SetUserAddress(arg0 interface{}) *gomock.Call

SetUserAddress indicates an expected call of SetUserAddress.

func (*MockGCZombiePieceTaskMockRecorder) Type added in v0.2.4

Type indicates an expected call of Type.

type MockMigrateGVGTask added in v0.2.4

type MockMigrateGVGTask struct {
	// contains filtered or unexported fields
}

MockMigrateGVGTask is a mock of MigrateGVGTask interface.

func NewMockMigrateGVGTask added in v0.2.4

func NewMockMigrateGVGTask(ctrl *gomock.Controller) *MockMigrateGVGTask

NewMockMigrateGVGTask creates a new mock instance.

func (*MockMigrateGVGTask) AppendLog added in v0.2.4

func (m *MockMigrateGVGTask) AppendLog(log string)

AppendLog mocks base method.

func (*MockMigrateGVGTask) EXPECT added in v0.2.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMigrateGVGTask) Error added in v0.2.4

func (m *MockMigrateGVGTask) Error() error

Error mocks base method.

func (*MockMigrateGVGTask) EstimateLimit added in v0.2.4

func (m *MockMigrateGVGTask) EstimateLimit() rcmgr.Limit

EstimateLimit mocks base method.

func (*MockMigrateGVGTask) ExceedRetry added in v0.2.4

func (m *MockMigrateGVGTask) ExceedRetry() bool

ExceedRetry mocks base method.

func (*MockMigrateGVGTask) ExceedTimeout added in v0.2.4

func (m *MockMigrateGVGTask) ExceedTimeout() bool

ExceedTimeout mocks base method.

func (*MockMigrateGVGTask) Expired added in v0.2.4

func (m *MockMigrateGVGTask) Expired() bool

Expired mocks base method.

func (*MockMigrateGVGTask) GetAddress added in v0.2.4

func (m *MockMigrateGVGTask) GetAddress() string

GetAddress mocks base method.

func (*MockMigrateGVGTask) GetBucketID added in v0.2.4

func (m *MockMigrateGVGTask) GetBucketID() uint64

GetBucketID mocks base method.

func (*MockMigrateGVGTask) GetCreateTime added in v0.2.4

func (m *MockMigrateGVGTask) GetCreateTime() int64

GetCreateTime mocks base method.

func (*MockMigrateGVGTask) GetDestGvg added in v0.2.4

func (m *MockMigrateGVGTask) GetDestGvg() *types1.GlobalVirtualGroup

GetDestGvg mocks base method.

func (*MockMigrateGVGTask) GetFinished added in v0.2.4

func (m *MockMigrateGVGTask) GetFinished() bool

GetFinished mocks base method.

func (*MockMigrateGVGTask) GetLastMigratedObjectID added in v0.2.4

func (m *MockMigrateGVGTask) GetLastMigratedObjectID() uint64

GetLastMigratedObjectID mocks base method.

func (*MockMigrateGVGTask) GetLogs added in v0.2.4

func (m *MockMigrateGVGTask) GetLogs() string

GetLogs mocks base method.

func (*MockMigrateGVGTask) GetMaxRetry added in v0.2.4

func (m *MockMigrateGVGTask) GetMaxRetry() int64

GetMaxRetry mocks base method.

func (*MockMigrateGVGTask) GetMigratedBytesSize added in v1.1.0

func (m *MockMigrateGVGTask) GetMigratedBytesSize() uint64

GetMigratedBytesSize mocks base method.

func (*MockMigrateGVGTask) GetPriority added in v0.2.4

func (m *MockMigrateGVGTask) GetPriority() TPriority

GetPriority mocks base method.

func (*MockMigrateGVGTask) GetRedundancyIdx added in v0.2.4

func (m *MockMigrateGVGTask) GetRedundancyIdx() int32

GetRedundancyIdx mocks base method.

func (*MockMigrateGVGTask) GetRetry added in v0.2.4

func (m *MockMigrateGVGTask) GetRetry() int64

GetRetry mocks base method.

func (*MockMigrateGVGTask) GetSignBytes added in v1.1.0

func (m *MockMigrateGVGTask) GetSignBytes() []byte

GetSignBytes mocks base method.

func (*MockMigrateGVGTask) GetSrcGvg added in v0.2.4

GetSrcGvg mocks base method.

func (*MockMigrateGVGTask) GetSrcSp added in v0.2.4

func (m *MockMigrateGVGTask) GetSrcSp() *types.StorageProvider

GetSrcSp mocks base method.

func (*MockMigrateGVGTask) GetTimeout added in v0.2.4

func (m *MockMigrateGVGTask) GetTimeout() int64

GetTimeout mocks base method.

func (*MockMigrateGVGTask) GetUpdateTime added in v0.2.4

func (m *MockMigrateGVGTask) GetUpdateTime() int64

GetUpdateTime mocks base method.

func (*MockMigrateGVGTask) GetUserAddress added in v0.2.4

func (m *MockMigrateGVGTask) GetUserAddress() string

GetUserAddress mocks base method.

func (*MockMigrateGVGTask) IncRetry added in v0.2.4

func (m *MockMigrateGVGTask) IncRetry()

IncRetry mocks base method.

func (*MockMigrateGVGTask) Info added in v0.2.4

func (m *MockMigrateGVGTask) Info() string

Info mocks base method.

func (*MockMigrateGVGTask) InitMigrateGVGTask added in v0.2.4

func (m *MockMigrateGVGTask) InitMigrateGVGTask(priority TPriority, bucketID uint64, srcGvg *types1.GlobalVirtualGroup, redundancyIndex int32, srcSP *types.StorageProvider, timeout, retry int64)

InitMigrateGVGTask mocks base method.

func (*MockMigrateGVGTask) Key added in v0.2.4

func (m *MockMigrateGVGTask) Key() TKey

Key mocks base method.

func (*MockMigrateGVGTask) SetAddress added in v0.2.4

func (m *MockMigrateGVGTask) SetAddress(arg0 string)

SetAddress mocks base method.

func (*MockMigrateGVGTask) SetBucketID added in v0.2.4

func (m *MockMigrateGVGTask) SetBucketID(arg0 uint64)

SetBucketID mocks base method.

func (*MockMigrateGVGTask) SetCreateTime added in v0.2.4

func (m *MockMigrateGVGTask) SetCreateTime(arg0 int64)

SetCreateTime mocks base method.

func (*MockMigrateGVGTask) SetDestGvg added in v0.2.4

func (m *MockMigrateGVGTask) SetDestGvg(arg0 *types1.GlobalVirtualGroup)

SetDestGvg mocks base method.

func (*MockMigrateGVGTask) SetError added in v0.2.4

func (m *MockMigrateGVGTask) SetError(arg0 error)

SetError mocks base method.

func (*MockMigrateGVGTask) SetFinished added in v0.2.4

func (m *MockMigrateGVGTask) SetFinished(arg0 bool)

SetFinished mocks base method.

func (*MockMigrateGVGTask) SetLastMigratedObjectID added in v0.2.4

func (m *MockMigrateGVGTask) SetLastMigratedObjectID(arg0 uint64)

SetLastMigratedObjectID mocks base method.

func (*MockMigrateGVGTask) SetLogs added in v0.2.4

func (m *MockMigrateGVGTask) SetLogs(logs string)

SetLogs mocks base method.

func (*MockMigrateGVGTask) SetMaxRetry added in v0.2.4

func (m *MockMigrateGVGTask) SetMaxRetry(arg0 int64)

SetMaxRetry mocks base method.

func (*MockMigrateGVGTask) SetMigratedBytesSize added in v1.1.0

func (m *MockMigrateGVGTask) SetMigratedBytesSize(arg0 uint64)

SetMigratedBytesSize mocks base method.

func (*MockMigrateGVGTask) SetPriority added in v0.2.4

func (m *MockMigrateGVGTask) SetPriority(arg0 TPriority)

SetPriority mocks base method.

func (*MockMigrateGVGTask) SetRedundancyIdx added in v0.2.4

func (m *MockMigrateGVGTask) SetRedundancyIdx(arg0 int32)

SetRedundancyIdx mocks base method.

func (*MockMigrateGVGTask) SetRetry added in v0.2.4

func (m *MockMigrateGVGTask) SetRetry(arg0 int64)

SetRetry mocks base method.

func (*MockMigrateGVGTask) SetSignature added in v1.1.0

func (m *MockMigrateGVGTask) SetSignature(arg0 []byte)

SetSignature mocks base method.

func (*MockMigrateGVGTask) SetSrcGvg added in v0.2.4

func (m *MockMigrateGVGTask) SetSrcGvg(arg0 *types1.GlobalVirtualGroup)

SetSrcGvg mocks base method.

func (*MockMigrateGVGTask) SetSrcSp added in v0.2.4

func (m *MockMigrateGVGTask) SetSrcSp(arg0 *types.StorageProvider)

SetSrcSp mocks base method.

func (*MockMigrateGVGTask) SetTimeout added in v0.2.4

func (m *MockMigrateGVGTask) SetTimeout(arg0 int64)

SetTimeout mocks base method.

func (*MockMigrateGVGTask) SetUpdateTime added in v0.2.4

func (m *MockMigrateGVGTask) SetUpdateTime(arg0 int64)

SetUpdateTime mocks base method.

func (*MockMigrateGVGTask) SetUserAddress added in v0.2.4

func (m *MockMigrateGVGTask) SetUserAddress(arg0 string)

SetUserAddress mocks base method.

func (*MockMigrateGVGTask) Type added in v0.2.4

func (m *MockMigrateGVGTask) Type() TType

Type mocks base method.

type MockMigrateGVGTaskMockRecorder added in v0.2.4

type MockMigrateGVGTaskMockRecorder struct {
	// contains filtered or unexported fields
}

MockMigrateGVGTaskMockRecorder is the mock recorder for MockMigrateGVGTask.

func (*MockMigrateGVGTaskMockRecorder) AppendLog added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) AppendLog(log interface{}) *gomock.Call

AppendLog indicates an expected call of AppendLog.

func (*MockMigrateGVGTaskMockRecorder) Error added in v0.2.4

Error indicates an expected call of Error.

func (*MockMigrateGVGTaskMockRecorder) EstimateLimit added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) EstimateLimit() *gomock.Call

EstimateLimit indicates an expected call of EstimateLimit.

func (*MockMigrateGVGTaskMockRecorder) ExceedRetry added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) ExceedRetry() *gomock.Call

ExceedRetry indicates an expected call of ExceedRetry.

func (*MockMigrateGVGTaskMockRecorder) ExceedTimeout added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) ExceedTimeout() *gomock.Call

ExceedTimeout indicates an expected call of ExceedTimeout.

func (*MockMigrateGVGTaskMockRecorder) Expired added in v0.2.4

Expired indicates an expected call of Expired.

func (*MockMigrateGVGTaskMockRecorder) GetAddress added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) GetAddress() *gomock.Call

GetAddress indicates an expected call of GetAddress.

func (*MockMigrateGVGTaskMockRecorder) GetBucketID added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) GetBucketID() *gomock.Call

GetBucketID indicates an expected call of GetBucketID.

func (*MockMigrateGVGTaskMockRecorder) GetCreateTime added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) GetCreateTime() *gomock.Call

GetCreateTime indicates an expected call of GetCreateTime.

func (*MockMigrateGVGTaskMockRecorder) GetDestGvg added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) GetDestGvg() *gomock.Call

GetDestGvg indicates an expected call of GetDestGvg.

func (*MockMigrateGVGTaskMockRecorder) GetFinished added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) GetFinished() *gomock.Call

GetFinished indicates an expected call of GetFinished.

func (*MockMigrateGVGTaskMockRecorder) GetLastMigratedObjectID added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) GetLastMigratedObjectID() *gomock.Call

GetLastMigratedObjectID indicates an expected call of GetLastMigratedObjectID.

func (*MockMigrateGVGTaskMockRecorder) GetLogs added in v0.2.4

GetLogs indicates an expected call of GetLogs.

func (*MockMigrateGVGTaskMockRecorder) GetMaxRetry added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) GetMaxRetry() *gomock.Call

GetMaxRetry indicates an expected call of GetMaxRetry.

func (*MockMigrateGVGTaskMockRecorder) GetMigratedBytesSize added in v1.1.0

func (mr *MockMigrateGVGTaskMockRecorder) GetMigratedBytesSize() *gomock.Call

GetMigratedBytesSize indicates an expected call of GetMigratedBytesSize.

func (*MockMigrateGVGTaskMockRecorder) GetPriority added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) GetPriority() *gomock.Call

GetPriority indicates an expected call of GetPriority.

func (*MockMigrateGVGTaskMockRecorder) GetRedundancyIdx added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) GetRedundancyIdx() *gomock.Call

GetRedundancyIdx indicates an expected call of GetRedundancyIdx.

func (*MockMigrateGVGTaskMockRecorder) GetRetry added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) GetRetry() *gomock.Call

GetRetry indicates an expected call of GetRetry.

func (*MockMigrateGVGTaskMockRecorder) GetSignBytes added in v1.1.0

func (mr *MockMigrateGVGTaskMockRecorder) GetSignBytes() *gomock.Call

GetSignBytes indicates an expected call of GetSignBytes.

func (*MockMigrateGVGTaskMockRecorder) GetSrcGvg added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) GetSrcGvg() *gomock.Call

GetSrcGvg indicates an expected call of GetSrcGvg.

func (*MockMigrateGVGTaskMockRecorder) GetSrcSp added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) GetSrcSp() *gomock.Call

GetSrcSp indicates an expected call of GetSrcSp.

func (*MockMigrateGVGTaskMockRecorder) GetTimeout added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) GetTimeout() *gomock.Call

GetTimeout indicates an expected call of GetTimeout.

func (*MockMigrateGVGTaskMockRecorder) GetUpdateTime added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) GetUpdateTime() *gomock.Call

GetUpdateTime indicates an expected call of GetUpdateTime.

func (*MockMigrateGVGTaskMockRecorder) GetUserAddress added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) GetUserAddress() *gomock.Call

GetUserAddress indicates an expected call of GetUserAddress.

func (*MockMigrateGVGTaskMockRecorder) IncRetry added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) IncRetry() *gomock.Call

IncRetry indicates an expected call of IncRetry.

func (*MockMigrateGVGTaskMockRecorder) Info added in v0.2.4

Info indicates an expected call of Info.

func (*MockMigrateGVGTaskMockRecorder) InitMigrateGVGTask added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) InitMigrateGVGTask(priority, bucketID, srcGvg, redundancyIndex, srcSP, timeout, retry interface{}) *gomock.Call

InitMigrateGVGTask indicates an expected call of InitMigrateGVGTask.

func (*MockMigrateGVGTaskMockRecorder) Key added in v0.2.4

Key indicates an expected call of Key.

func (*MockMigrateGVGTaskMockRecorder) SetAddress added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) SetAddress(arg0 interface{}) *gomock.Call

SetAddress indicates an expected call of SetAddress.

func (*MockMigrateGVGTaskMockRecorder) SetBucketID added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) SetBucketID(arg0 interface{}) *gomock.Call

SetBucketID indicates an expected call of SetBucketID.

func (*MockMigrateGVGTaskMockRecorder) SetCreateTime added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) SetCreateTime(arg0 interface{}) *gomock.Call

SetCreateTime indicates an expected call of SetCreateTime.

func (*MockMigrateGVGTaskMockRecorder) SetDestGvg added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) SetDestGvg(arg0 interface{}) *gomock.Call

SetDestGvg indicates an expected call of SetDestGvg.

func (*MockMigrateGVGTaskMockRecorder) SetError added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) SetError(arg0 interface{}) *gomock.Call

SetError indicates an expected call of SetError.

func (*MockMigrateGVGTaskMockRecorder) SetFinished added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) SetFinished(arg0 interface{}) *gomock.Call

SetFinished indicates an expected call of SetFinished.

func (*MockMigrateGVGTaskMockRecorder) SetLastMigratedObjectID added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) SetLastMigratedObjectID(arg0 interface{}) *gomock.Call

SetLastMigratedObjectID indicates an expected call of SetLastMigratedObjectID.

func (*MockMigrateGVGTaskMockRecorder) SetLogs added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) SetLogs(logs interface{}) *gomock.Call

SetLogs indicates an expected call of SetLogs.

func (*MockMigrateGVGTaskMockRecorder) SetMaxRetry added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) SetMaxRetry(arg0 interface{}) *gomock.Call

SetMaxRetry indicates an expected call of SetMaxRetry.

func (*MockMigrateGVGTaskMockRecorder) SetMigratedBytesSize added in v1.1.0

func (mr *MockMigrateGVGTaskMockRecorder) SetMigratedBytesSize(arg0 interface{}) *gomock.Call

SetMigratedBytesSize indicates an expected call of SetMigratedBytesSize.

func (*MockMigrateGVGTaskMockRecorder) SetPriority added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) SetPriority(arg0 interface{}) *gomock.Call

SetPriority indicates an expected call of SetPriority.

func (*MockMigrateGVGTaskMockRecorder) SetRedundancyIdx added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) SetRedundancyIdx(arg0 interface{}) *gomock.Call

SetRedundancyIdx indicates an expected call of SetRedundancyIdx.

func (*MockMigrateGVGTaskMockRecorder) SetRetry added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) SetRetry(arg0 interface{}) *gomock.Call

SetRetry indicates an expected call of SetRetry.

func (*MockMigrateGVGTaskMockRecorder) SetSignature added in v1.1.0

func (mr *MockMigrateGVGTaskMockRecorder) SetSignature(arg0 interface{}) *gomock.Call

SetSignature indicates an expected call of SetSignature.

func (*MockMigrateGVGTaskMockRecorder) SetSrcGvg added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) SetSrcGvg(arg0 interface{}) *gomock.Call

SetSrcGvg indicates an expected call of SetSrcGvg.

func (*MockMigrateGVGTaskMockRecorder) SetSrcSp added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) SetSrcSp(arg0 interface{}) *gomock.Call

SetSrcSp indicates an expected call of SetSrcSp.

func (*MockMigrateGVGTaskMockRecorder) SetTimeout added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call

SetTimeout indicates an expected call of SetTimeout.

func (*MockMigrateGVGTaskMockRecorder) SetUpdateTime added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) SetUpdateTime(arg0 interface{}) *gomock.Call

SetUpdateTime indicates an expected call of SetUpdateTime.

func (*MockMigrateGVGTaskMockRecorder) SetUserAddress added in v0.2.4

func (mr *MockMigrateGVGTaskMockRecorder) SetUserAddress(arg0 interface{}) *gomock.Call

SetUserAddress indicates an expected call of SetUserAddress.

func (*MockMigrateGVGTaskMockRecorder) Type added in v0.2.4

Type indicates an expected call of Type.

type MockObjectTask added in v0.2.4

type MockObjectTask struct {
	// contains filtered or unexported fields
}

MockObjectTask is a mock of ObjectTask interface.

func NewMockObjectTask added in v0.2.4

func NewMockObjectTask(ctrl *gomock.Controller) *MockObjectTask

NewMockObjectTask creates a new mock instance.

func (*MockObjectTask) AppendLog added in v0.2.4

func (m *MockObjectTask) AppendLog(log string)

AppendLog mocks base method.

func (*MockObjectTask) EXPECT added in v0.2.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockObjectTask) Error added in v0.2.4

func (m *MockObjectTask) Error() error

Error mocks base method.

func (*MockObjectTask) EstimateLimit added in v0.2.4

func (m *MockObjectTask) EstimateLimit() rcmgr.Limit

EstimateLimit mocks base method.

func (*MockObjectTask) ExceedRetry added in v0.2.4

func (m *MockObjectTask) ExceedRetry() bool

ExceedRetry mocks base method.

func (*MockObjectTask) ExceedTimeout added in v0.2.4

func (m *MockObjectTask) ExceedTimeout() bool

ExceedTimeout mocks base method.

func (*MockObjectTask) Expired added in v0.2.4

func (m *MockObjectTask) Expired() bool

Expired mocks base method.

func (*MockObjectTask) GetAddress added in v0.2.4

func (m *MockObjectTask) GetAddress() string

GetAddress mocks base method.

func (*MockObjectTask) GetCreateTime added in v0.2.4

func (m *MockObjectTask) GetCreateTime() int64

GetCreateTime mocks base method.

func (*MockObjectTask) GetLogs added in v0.2.4

func (m *MockObjectTask) GetLogs() string

GetLogs mocks base method.

func (*MockObjectTask) GetMaxRetry added in v0.2.4

func (m *MockObjectTask) GetMaxRetry() int64

GetMaxRetry mocks base method.

func (*MockObjectTask) GetObjectInfo added in v0.2.4

func (m *MockObjectTask) GetObjectInfo() *types0.ObjectInfo

GetObjectInfo mocks base method.

func (*MockObjectTask) GetPriority added in v0.2.4

func (m *MockObjectTask) GetPriority() TPriority

GetPriority mocks base method.

func (*MockObjectTask) GetRetry added in v0.2.4

func (m *MockObjectTask) GetRetry() int64

GetRetry mocks base method.

func (*MockObjectTask) GetStorageParams added in v0.2.4

func (m *MockObjectTask) GetStorageParams() *types0.Params

GetStorageParams mocks base method.

func (*MockObjectTask) GetTimeout added in v0.2.4

func (m *MockObjectTask) GetTimeout() int64

GetTimeout mocks base method.

func (*MockObjectTask) GetUpdateTime added in v0.2.4

func (m *MockObjectTask) GetUpdateTime() int64

GetUpdateTime mocks base method.

func (*MockObjectTask) GetUserAddress added in v0.2.4

func (m *MockObjectTask) GetUserAddress() string

GetUserAddress mocks base method.

func (*MockObjectTask) IncRetry added in v0.2.4

func (m *MockObjectTask) IncRetry()

IncRetry mocks base method.

func (*MockObjectTask) Info added in v0.2.4

func (m *MockObjectTask) Info() string

Info mocks base method.

func (*MockObjectTask) Key added in v0.2.4

func (m *MockObjectTask) Key() TKey

Key mocks base method.

func (*MockObjectTask) SetAddress added in v0.2.4

func (m *MockObjectTask) SetAddress(arg0 string)

SetAddress mocks base method.

func (*MockObjectTask) SetCreateTime added in v0.2.4

func (m *MockObjectTask) SetCreateTime(arg0 int64)

SetCreateTime mocks base method.

func (*MockObjectTask) SetError added in v0.2.4

func (m *MockObjectTask) SetError(arg0 error)

SetError mocks base method.

func (*MockObjectTask) SetLogs added in v0.2.4

func (m *MockObjectTask) SetLogs(logs string)

SetLogs mocks base method.

func (*MockObjectTask) SetMaxRetry added in v0.2.4

func (m *MockObjectTask) SetMaxRetry(arg0 int64)

SetMaxRetry mocks base method.

func (*MockObjectTask) SetObjectInfo added in v0.2.4

func (m *MockObjectTask) SetObjectInfo(arg0 *types0.ObjectInfo)

SetObjectInfo mocks base method.

func (*MockObjectTask) SetPriority added in v0.2.4

func (m *MockObjectTask) SetPriority(arg0 TPriority)

SetPriority mocks base method.

func (*MockObjectTask) SetRetry added in v0.2.4

func (m *MockObjectTask) SetRetry(arg0 int64)

SetRetry mocks base method.

func (*MockObjectTask) SetStorageParams added in v0.2.4

func (m *MockObjectTask) SetStorageParams(arg0 *types0.Params)

SetStorageParams mocks base method.

func (*MockObjectTask) SetTimeout added in v0.2.4

func (m *MockObjectTask) SetTimeout(arg0 int64)

SetTimeout mocks base method.

func (*MockObjectTask) SetUpdateTime added in v0.2.4

func (m *MockObjectTask) SetUpdateTime(arg0 int64)

SetUpdateTime mocks base method.

func (*MockObjectTask) SetUserAddress added in v0.2.4

func (m *MockObjectTask) SetUserAddress(arg0 string)

SetUserAddress mocks base method.

func (*MockObjectTask) Type added in v0.2.4

func (m *MockObjectTask) Type() TType

Type mocks base method.

type MockObjectTaskMockRecorder added in v0.2.4

type MockObjectTaskMockRecorder struct {
	// contains filtered or unexported fields
}

MockObjectTaskMockRecorder is the mock recorder for MockObjectTask.

func (*MockObjectTaskMockRecorder) AppendLog added in v0.2.4

func (mr *MockObjectTaskMockRecorder) AppendLog(log interface{}) *gomock.Call

AppendLog indicates an expected call of AppendLog.

func (*MockObjectTaskMockRecorder) Error added in v0.2.4

func (mr *MockObjectTaskMockRecorder) Error() *gomock.Call

Error indicates an expected call of Error.

func (*MockObjectTaskMockRecorder) EstimateLimit added in v0.2.4

func (mr *MockObjectTaskMockRecorder) EstimateLimit() *gomock.Call

EstimateLimit indicates an expected call of EstimateLimit.

func (*MockObjectTaskMockRecorder) ExceedRetry added in v0.2.4

func (mr *MockObjectTaskMockRecorder) ExceedRetry() *gomock.Call

ExceedRetry indicates an expected call of ExceedRetry.

func (*MockObjectTaskMockRecorder) ExceedTimeout added in v0.2.4

func (mr *MockObjectTaskMockRecorder) ExceedTimeout() *gomock.Call

ExceedTimeout indicates an expected call of ExceedTimeout.

func (*MockObjectTaskMockRecorder) Expired added in v0.2.4

func (mr *MockObjectTaskMockRecorder) Expired() *gomock.Call

Expired indicates an expected call of Expired.

func (*MockObjectTaskMockRecorder) GetAddress added in v0.2.4

func (mr *MockObjectTaskMockRecorder) GetAddress() *gomock.Call

GetAddress indicates an expected call of GetAddress.

func (*MockObjectTaskMockRecorder) GetCreateTime added in v0.2.4

func (mr *MockObjectTaskMockRecorder) GetCreateTime() *gomock.Call

GetCreateTime indicates an expected call of GetCreateTime.

func (*MockObjectTaskMockRecorder) GetLogs added in v0.2.4

func (mr *MockObjectTaskMockRecorder) GetLogs() *gomock.Call

GetLogs indicates an expected call of GetLogs.

func (*MockObjectTaskMockRecorder) GetMaxRetry added in v0.2.4

func (mr *MockObjectTaskMockRecorder) GetMaxRetry() *gomock.Call

GetMaxRetry indicates an expected call of GetMaxRetry.

func (*MockObjectTaskMockRecorder) GetObjectInfo added in v0.2.4

func (mr *MockObjectTaskMockRecorder) GetObjectInfo() *gomock.Call

GetObjectInfo indicates an expected call of GetObjectInfo.

func (*MockObjectTaskMockRecorder) GetPriority added in v0.2.4

func (mr *MockObjectTaskMockRecorder) GetPriority() *gomock.Call

GetPriority indicates an expected call of GetPriority.

func (*MockObjectTaskMockRecorder) GetRetry added in v0.2.4

func (mr *MockObjectTaskMockRecorder) GetRetry() *gomock.Call

GetRetry indicates an expected call of GetRetry.

func (*MockObjectTaskMockRecorder) GetStorageParams added in v0.2.4

func (mr *MockObjectTaskMockRecorder) GetStorageParams() *gomock.Call

GetStorageParams indicates an expected call of GetStorageParams.

func (*MockObjectTaskMockRecorder) GetTimeout added in v0.2.4

func (mr *MockObjectTaskMockRecorder) GetTimeout() *gomock.Call

GetTimeout indicates an expected call of GetTimeout.

func (*MockObjectTaskMockRecorder) GetUpdateTime added in v0.2.4

func (mr *MockObjectTaskMockRecorder) GetUpdateTime() *gomock.Call

GetUpdateTime indicates an expected call of GetUpdateTime.

func (*MockObjectTaskMockRecorder) GetUserAddress added in v0.2.4

func (mr *MockObjectTaskMockRecorder) GetUserAddress() *gomock.Call

GetUserAddress indicates an expected call of GetUserAddress.

func (*MockObjectTaskMockRecorder) IncRetry added in v0.2.4

func (mr *MockObjectTaskMockRecorder) IncRetry() *gomock.Call

IncRetry indicates an expected call of IncRetry.

func (*MockObjectTaskMockRecorder) Info added in v0.2.4

Info indicates an expected call of Info.

func (*MockObjectTaskMockRecorder) Key added in v0.2.4

Key indicates an expected call of Key.

func (*MockObjectTaskMockRecorder) SetAddress added in v0.2.4

func (mr *MockObjectTaskMockRecorder) SetAddress(arg0 interface{}) *gomock.Call

SetAddress indicates an expected call of SetAddress.

func (*MockObjectTaskMockRecorder) SetCreateTime added in v0.2.4

func (mr *MockObjectTaskMockRecorder) SetCreateTime(arg0 interface{}) *gomock.Call

SetCreateTime indicates an expected call of SetCreateTime.

func (*MockObjectTaskMockRecorder) SetError added in v0.2.4

func (mr *MockObjectTaskMockRecorder) SetError(arg0 interface{}) *gomock.Call

SetError indicates an expected call of SetError.

func (*MockObjectTaskMockRecorder) SetLogs added in v0.2.4

func (mr *MockObjectTaskMockRecorder) SetLogs(logs interface{}) *gomock.Call

SetLogs indicates an expected call of SetLogs.

func (*MockObjectTaskMockRecorder) SetMaxRetry added in v0.2.4

func (mr *MockObjectTaskMockRecorder) SetMaxRetry(arg0 interface{}) *gomock.Call

SetMaxRetry indicates an expected call of SetMaxRetry.

func (*MockObjectTaskMockRecorder) SetObjectInfo added in v0.2.4

func (mr *MockObjectTaskMockRecorder) SetObjectInfo(arg0 interface{}) *gomock.Call

SetObjectInfo indicates an expected call of SetObjectInfo.

func (*MockObjectTaskMockRecorder) SetPriority added in v0.2.4

func (mr *MockObjectTaskMockRecorder) SetPriority(arg0 interface{}) *gomock.Call

SetPriority indicates an expected call of SetPriority.

func (*MockObjectTaskMockRecorder) SetRetry added in v0.2.4

func (mr *MockObjectTaskMockRecorder) SetRetry(arg0 interface{}) *gomock.Call

SetRetry indicates an expected call of SetRetry.

func (*MockObjectTaskMockRecorder) SetStorageParams added in v0.2.4

func (mr *MockObjectTaskMockRecorder) SetStorageParams(arg0 interface{}) *gomock.Call

SetStorageParams indicates an expected call of SetStorageParams.

func (*MockObjectTaskMockRecorder) SetTimeout added in v0.2.4

func (mr *MockObjectTaskMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call

SetTimeout indicates an expected call of SetTimeout.

func (*MockObjectTaskMockRecorder) SetUpdateTime added in v0.2.4

func (mr *MockObjectTaskMockRecorder) SetUpdateTime(arg0 interface{}) *gomock.Call

SetUpdateTime indicates an expected call of SetUpdateTime.

func (*MockObjectTaskMockRecorder) SetUserAddress added in v0.2.4

func (mr *MockObjectTaskMockRecorder) SetUserAddress(arg0 interface{}) *gomock.Call

SetUserAddress indicates an expected call of SetUserAddress.

func (*MockObjectTaskMockRecorder) Type added in v0.2.4

Type indicates an expected call of Type.

type MockReceivePieceTask added in v0.2.4

type MockReceivePieceTask struct {
	// contains filtered or unexported fields
}

MockReceivePieceTask is a mock of ReceivePieceTask interface.

func NewMockReceivePieceTask added in v0.2.4

func NewMockReceivePieceTask(ctrl *gomock.Controller) *MockReceivePieceTask

NewMockReceivePieceTask creates a new mock instance.

func (*MockReceivePieceTask) AppendLog added in v0.2.4

func (m *MockReceivePieceTask) AppendLog(log string)

AppendLog mocks base method.

func (*MockReceivePieceTask) EXPECT added in v0.2.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockReceivePieceTask) Error added in v0.2.4

func (m *MockReceivePieceTask) Error() error

Error mocks base method.

func (*MockReceivePieceTask) EstimateLimit added in v0.2.4

func (m *MockReceivePieceTask) EstimateLimit() rcmgr.Limit

EstimateLimit mocks base method.

func (*MockReceivePieceTask) ExceedRetry added in v0.2.4

func (m *MockReceivePieceTask) ExceedRetry() bool

ExceedRetry mocks base method.

func (*MockReceivePieceTask) ExceedTimeout added in v0.2.4

func (m *MockReceivePieceTask) ExceedTimeout() bool

ExceedTimeout mocks base method.

func (*MockReceivePieceTask) Expired added in v0.2.4

func (m *MockReceivePieceTask) Expired() bool

Expired mocks base method.

func (*MockReceivePieceTask) GetAddress added in v0.2.4

func (m *MockReceivePieceTask) GetAddress() string

GetAddress mocks base method.

func (*MockReceivePieceTask) GetBucketMigration added in v0.2.4

func (m *MockReceivePieceTask) GetBucketMigration() bool

GetBucketMigration mocks base method.

func (*MockReceivePieceTask) GetCreateTime added in v0.2.4

func (m *MockReceivePieceTask) GetCreateTime() int64

GetCreateTime mocks base method.

func (*MockReceivePieceTask) GetFinished added in v0.2.4

func (m *MockReceivePieceTask) GetFinished() bool

GetFinished mocks base method.

func (*MockReceivePieceTask) GetGlobalVirtualGroupId added in v0.2.4

func (m *MockReceivePieceTask) GetGlobalVirtualGroupId() uint32

GetGlobalVirtualGroupId mocks base method.

func (*MockReceivePieceTask) GetLogs added in v0.2.4

func (m *MockReceivePieceTask) GetLogs() string

GetLogs mocks base method.

func (*MockReceivePieceTask) GetMaxRetry added in v0.2.4

func (m *MockReceivePieceTask) GetMaxRetry() int64

GetMaxRetry mocks base method.

func (*MockReceivePieceTask) GetObjectInfo added in v0.2.4

func (m *MockReceivePieceTask) GetObjectInfo() *types0.ObjectInfo

GetObjectInfo mocks base method.

func (*MockReceivePieceTask) GetPieceChecksum added in v0.2.4

func (m *MockReceivePieceTask) GetPieceChecksum() []byte

GetPieceChecksum mocks base method.

func (*MockReceivePieceTask) GetPieceSize added in v0.2.4

func (m *MockReceivePieceTask) GetPieceSize() int64

GetPieceSize mocks base method.

func (*MockReceivePieceTask) GetPriority added in v0.2.4

func (m *MockReceivePieceTask) GetPriority() TPriority

GetPriority mocks base method.

func (*MockReceivePieceTask) GetRedundancyIdx added in v0.2.4

func (m *MockReceivePieceTask) GetRedundancyIdx() int32

GetRedundancyIdx mocks base method.

func (*MockReceivePieceTask) GetRetry added in v0.2.4

func (m *MockReceivePieceTask) GetRetry() int64

GetRetry mocks base method.

func (*MockReceivePieceTask) GetSealed added in v0.2.4

func (m *MockReceivePieceTask) GetSealed() bool

GetSealed mocks base method.

func (*MockReceivePieceTask) GetSegmentIdx added in v0.2.4

func (m *MockReceivePieceTask) GetSegmentIdx() uint32

GetSegmentIdx mocks base method.

func (*MockReceivePieceTask) GetSignBytes added in v0.2.4

func (m *MockReceivePieceTask) GetSignBytes() []byte

GetSignBytes mocks base method.

func (*MockReceivePieceTask) GetSignature added in v0.2.4

func (m *MockReceivePieceTask) GetSignature() []byte

GetSignature mocks base method.

func (*MockReceivePieceTask) GetStorageParams added in v0.2.4

func (m *MockReceivePieceTask) GetStorageParams() *types0.Params

GetStorageParams mocks base method.

func (*MockReceivePieceTask) GetTimeout added in v0.2.4

func (m *MockReceivePieceTask) GetTimeout() int64

GetTimeout mocks base method.

func (*MockReceivePieceTask) GetUpdateTime added in v0.2.4

func (m *MockReceivePieceTask) GetUpdateTime() int64

GetUpdateTime mocks base method.

func (*MockReceivePieceTask) GetUserAddress added in v0.2.4

func (m *MockReceivePieceTask) GetUserAddress() string

GetUserAddress mocks base method.

func (*MockReceivePieceTask) IncRetry added in v0.2.4

func (m *MockReceivePieceTask) IncRetry()

IncRetry mocks base method.

func (*MockReceivePieceTask) Info added in v0.2.4

func (m *MockReceivePieceTask) Info() string

Info mocks base method.

func (*MockReceivePieceTask) InitReceivePieceTask added in v0.2.4

func (m *MockReceivePieceTask) InitReceivePieceTask(vgfID uint32, object *types0.ObjectInfo, params *types0.Params, priority TPriority, segmentIdx uint32, redundancyIdx int32, pieceSize int64)

InitReceivePieceTask mocks base method.

func (*MockReceivePieceTask) Key added in v0.2.4

func (m *MockReceivePieceTask) Key() TKey

Key mocks base method.

func (*MockReceivePieceTask) SetAddress added in v0.2.4

func (m *MockReceivePieceTask) SetAddress(arg0 string)

SetAddress mocks base method.

func (*MockReceivePieceTask) SetBucketMigration added in v0.2.4

func (m *MockReceivePieceTask) SetBucketMigration(arg0 bool)

SetBucketMigration mocks base method.

func (*MockReceivePieceTask) SetCreateTime added in v0.2.4

func (m *MockReceivePieceTask) SetCreateTime(arg0 int64)

SetCreateTime mocks base method.

func (*MockReceivePieceTask) SetError added in v0.2.4

func (m *MockReceivePieceTask) SetError(arg0 error)

SetError mocks base method.

func (*MockReceivePieceTask) SetFinished added in v0.2.4

func (m *MockReceivePieceTask) SetFinished(arg0 bool)

SetFinished mocks base method.

func (*MockReceivePieceTask) SetGlobalVirtualGroupID added in v0.2.4

func (m *MockReceivePieceTask) SetGlobalVirtualGroupID(arg0 uint32)

SetGlobalVirtualGroupID mocks base method.

func (*MockReceivePieceTask) SetLogs added in v0.2.4

func (m *MockReceivePieceTask) SetLogs(logs string)

SetLogs mocks base method.

func (*MockReceivePieceTask) SetMaxRetry added in v0.2.4

func (m *MockReceivePieceTask) SetMaxRetry(arg0 int64)

SetMaxRetry mocks base method.

func (*MockReceivePieceTask) SetObjectInfo added in v0.2.4

func (m *MockReceivePieceTask) SetObjectInfo(arg0 *types0.ObjectInfo)

SetObjectInfo mocks base method.

func (*MockReceivePieceTask) SetPieceChecksum added in v0.2.4

func (m *MockReceivePieceTask) SetPieceChecksum(arg0 []byte)

SetPieceChecksum mocks base method.

func (*MockReceivePieceTask) SetPieceSize added in v0.2.4

func (m *MockReceivePieceTask) SetPieceSize(arg0 int64)

SetPieceSize mocks base method.

func (*MockReceivePieceTask) SetPriority added in v0.2.4

func (m *MockReceivePieceTask) SetPriority(arg0 TPriority)

SetPriority mocks base method.

func (*MockReceivePieceTask) SetRedundancyIdx added in v0.2.4

func (m *MockReceivePieceTask) SetRedundancyIdx(arg0 int32)

SetRedundancyIdx mocks base method.

func (*MockReceivePieceTask) SetRetry added in v0.2.4

func (m *MockReceivePieceTask) SetRetry(arg0 int64)

SetRetry mocks base method.

func (*MockReceivePieceTask) SetSealed added in v0.2.4

func (m *MockReceivePieceTask) SetSealed(arg0 bool)

SetSealed mocks base method.

func (*MockReceivePieceTask) SetSegmentIdx added in v0.2.4

func (m *MockReceivePieceTask) SetSegmentIdx(arg0 uint32)

SetSegmentIdx mocks base method.

func (*MockReceivePieceTask) SetSignature added in v0.2.4

func (m *MockReceivePieceTask) SetSignature(arg0 []byte)

SetSignature mocks base method.

func (*MockReceivePieceTask) SetStorageParams added in v0.2.4

func (m *MockReceivePieceTask) SetStorageParams(arg0 *types0.Params)

SetStorageParams mocks base method.

func (*MockReceivePieceTask) SetTimeout added in v0.2.4

func (m *MockReceivePieceTask) SetTimeout(arg0 int64)

SetTimeout mocks base method.

func (*MockReceivePieceTask) SetUpdateTime added in v0.2.4

func (m *MockReceivePieceTask) SetUpdateTime(arg0 int64)

SetUpdateTime mocks base method.

func (*MockReceivePieceTask) SetUserAddress added in v0.2.4

func (m *MockReceivePieceTask) SetUserAddress(arg0 string)

SetUserAddress mocks base method.

func (*MockReceivePieceTask) Type added in v0.2.4

func (m *MockReceivePieceTask) Type() TType

Type mocks base method.

type MockReceivePieceTaskMockRecorder added in v0.2.4

type MockReceivePieceTaskMockRecorder struct {
	// contains filtered or unexported fields
}

MockReceivePieceTaskMockRecorder is the mock recorder for MockReceivePieceTask.

func (*MockReceivePieceTaskMockRecorder) AppendLog added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) AppendLog(log interface{}) *gomock.Call

AppendLog indicates an expected call of AppendLog.

func (*MockReceivePieceTaskMockRecorder) Error added in v0.2.4

Error indicates an expected call of Error.

func (*MockReceivePieceTaskMockRecorder) EstimateLimit added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) EstimateLimit() *gomock.Call

EstimateLimit indicates an expected call of EstimateLimit.

func (*MockReceivePieceTaskMockRecorder) ExceedRetry added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) ExceedRetry() *gomock.Call

ExceedRetry indicates an expected call of ExceedRetry.

func (*MockReceivePieceTaskMockRecorder) ExceedTimeout added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) ExceedTimeout() *gomock.Call

ExceedTimeout indicates an expected call of ExceedTimeout.

func (*MockReceivePieceTaskMockRecorder) Expired added in v0.2.4

Expired indicates an expected call of Expired.

func (*MockReceivePieceTaskMockRecorder) GetAddress added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) GetAddress() *gomock.Call

GetAddress indicates an expected call of GetAddress.

func (*MockReceivePieceTaskMockRecorder) GetBucketMigration added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) GetBucketMigration() *gomock.Call

GetBucketMigration indicates an expected call of GetBucketMigration.

func (*MockReceivePieceTaskMockRecorder) GetCreateTime added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) GetCreateTime() *gomock.Call

GetCreateTime indicates an expected call of GetCreateTime.

func (*MockReceivePieceTaskMockRecorder) GetFinished added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) GetFinished() *gomock.Call

GetFinished indicates an expected call of GetFinished.

func (*MockReceivePieceTaskMockRecorder) GetGlobalVirtualGroupId added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) GetGlobalVirtualGroupId() *gomock.Call

GetGlobalVirtualGroupId indicates an expected call of GetGlobalVirtualGroupId.

func (*MockReceivePieceTaskMockRecorder) GetLogs added in v0.2.4

GetLogs indicates an expected call of GetLogs.

func (*MockReceivePieceTaskMockRecorder) GetMaxRetry added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) GetMaxRetry() *gomock.Call

GetMaxRetry indicates an expected call of GetMaxRetry.

func (*MockReceivePieceTaskMockRecorder) GetObjectInfo added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) GetObjectInfo() *gomock.Call

GetObjectInfo indicates an expected call of GetObjectInfo.

func (*MockReceivePieceTaskMockRecorder) GetPieceChecksum added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) GetPieceChecksum() *gomock.Call

GetPieceChecksum indicates an expected call of GetPieceChecksum.

func (*MockReceivePieceTaskMockRecorder) GetPieceSize added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) GetPieceSize() *gomock.Call

GetPieceSize indicates an expected call of GetPieceSize.

func (*MockReceivePieceTaskMockRecorder) GetPriority added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) GetPriority() *gomock.Call

GetPriority indicates an expected call of GetPriority.

func (*MockReceivePieceTaskMockRecorder) GetRedundancyIdx added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) GetRedundancyIdx() *gomock.Call

GetRedundancyIdx indicates an expected call of GetRedundancyIdx.

func (*MockReceivePieceTaskMockRecorder) GetRetry added in v0.2.4

GetRetry indicates an expected call of GetRetry.

func (*MockReceivePieceTaskMockRecorder) GetSealed added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) GetSealed() *gomock.Call

GetSealed indicates an expected call of GetSealed.

func (*MockReceivePieceTaskMockRecorder) GetSegmentIdx added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) GetSegmentIdx() *gomock.Call

GetSegmentIdx indicates an expected call of GetSegmentIdx.

func (*MockReceivePieceTaskMockRecorder) GetSignBytes added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) GetSignBytes() *gomock.Call

GetSignBytes indicates an expected call of GetSignBytes.

func (*MockReceivePieceTaskMockRecorder) GetSignature added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) GetSignature() *gomock.Call

GetSignature indicates an expected call of GetSignature.

func (*MockReceivePieceTaskMockRecorder) GetStorageParams added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) GetStorageParams() *gomock.Call

GetStorageParams indicates an expected call of GetStorageParams.

func (*MockReceivePieceTaskMockRecorder) GetTimeout added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) GetTimeout() *gomock.Call

GetTimeout indicates an expected call of GetTimeout.

func (*MockReceivePieceTaskMockRecorder) GetUpdateTime added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) GetUpdateTime() *gomock.Call

GetUpdateTime indicates an expected call of GetUpdateTime.

func (*MockReceivePieceTaskMockRecorder) GetUserAddress added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) GetUserAddress() *gomock.Call

GetUserAddress indicates an expected call of GetUserAddress.

func (*MockReceivePieceTaskMockRecorder) IncRetry added in v0.2.4

IncRetry indicates an expected call of IncRetry.

func (*MockReceivePieceTaskMockRecorder) Info added in v0.2.4

Info indicates an expected call of Info.

func (*MockReceivePieceTaskMockRecorder) InitReceivePieceTask added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) InitReceivePieceTask(vgfID, object, params, priority, segmentIdx, redundancyIdx, pieceSize interface{}) *gomock.Call

InitReceivePieceTask indicates an expected call of InitReceivePieceTask.

func (*MockReceivePieceTaskMockRecorder) Key added in v0.2.4

Key indicates an expected call of Key.

func (*MockReceivePieceTaskMockRecorder) SetAddress added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) SetAddress(arg0 interface{}) *gomock.Call

SetAddress indicates an expected call of SetAddress.

func (*MockReceivePieceTaskMockRecorder) SetBucketMigration added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) SetBucketMigration(arg0 interface{}) *gomock.Call

SetBucketMigration indicates an expected call of SetBucketMigration.

func (*MockReceivePieceTaskMockRecorder) SetCreateTime added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) SetCreateTime(arg0 interface{}) *gomock.Call

SetCreateTime indicates an expected call of SetCreateTime.

func (*MockReceivePieceTaskMockRecorder) SetError added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) SetError(arg0 interface{}) *gomock.Call

SetError indicates an expected call of SetError.

func (*MockReceivePieceTaskMockRecorder) SetFinished added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) SetFinished(arg0 interface{}) *gomock.Call

SetFinished indicates an expected call of SetFinished.

func (*MockReceivePieceTaskMockRecorder) SetGlobalVirtualGroupID added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) SetGlobalVirtualGroupID(arg0 interface{}) *gomock.Call

SetGlobalVirtualGroupID indicates an expected call of SetGlobalVirtualGroupID.

func (*MockReceivePieceTaskMockRecorder) SetLogs added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) SetLogs(logs interface{}) *gomock.Call

SetLogs indicates an expected call of SetLogs.

func (*MockReceivePieceTaskMockRecorder) SetMaxRetry added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) SetMaxRetry(arg0 interface{}) *gomock.Call

SetMaxRetry indicates an expected call of SetMaxRetry.

func (*MockReceivePieceTaskMockRecorder) SetObjectInfo added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) SetObjectInfo(arg0 interface{}) *gomock.Call

SetObjectInfo indicates an expected call of SetObjectInfo.

func (*MockReceivePieceTaskMockRecorder) SetPieceChecksum added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) SetPieceChecksum(arg0 interface{}) *gomock.Call

SetPieceChecksum indicates an expected call of SetPieceChecksum.

func (*MockReceivePieceTaskMockRecorder) SetPieceSize added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) SetPieceSize(arg0 interface{}) *gomock.Call

SetPieceSize indicates an expected call of SetPieceSize.

func (*MockReceivePieceTaskMockRecorder) SetPriority added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) SetPriority(arg0 interface{}) *gomock.Call

SetPriority indicates an expected call of SetPriority.

func (*MockReceivePieceTaskMockRecorder) SetRedundancyIdx added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) SetRedundancyIdx(arg0 interface{}) *gomock.Call

SetRedundancyIdx indicates an expected call of SetRedundancyIdx.

func (*MockReceivePieceTaskMockRecorder) SetRetry added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) SetRetry(arg0 interface{}) *gomock.Call

SetRetry indicates an expected call of SetRetry.

func (*MockReceivePieceTaskMockRecorder) SetSealed added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) SetSealed(arg0 interface{}) *gomock.Call

SetSealed indicates an expected call of SetSealed.

func (*MockReceivePieceTaskMockRecorder) SetSegmentIdx added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) SetSegmentIdx(arg0 interface{}) *gomock.Call

SetSegmentIdx indicates an expected call of SetSegmentIdx.

func (*MockReceivePieceTaskMockRecorder) SetSignature added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) SetSignature(arg0 interface{}) *gomock.Call

SetSignature indicates an expected call of SetSignature.

func (*MockReceivePieceTaskMockRecorder) SetStorageParams added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) SetStorageParams(arg0 interface{}) *gomock.Call

SetStorageParams indicates an expected call of SetStorageParams.

func (*MockReceivePieceTaskMockRecorder) SetTimeout added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call

SetTimeout indicates an expected call of SetTimeout.

func (*MockReceivePieceTaskMockRecorder) SetUpdateTime added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) SetUpdateTime(arg0 interface{}) *gomock.Call

SetUpdateTime indicates an expected call of SetUpdateTime.

func (*MockReceivePieceTaskMockRecorder) SetUserAddress added in v0.2.4

func (mr *MockReceivePieceTaskMockRecorder) SetUserAddress(arg0 interface{}) *gomock.Call

SetUserAddress indicates an expected call of SetUserAddress.

func (*MockReceivePieceTaskMockRecorder) Type added in v0.2.4

Type indicates an expected call of Type.

type MockRecoveryPieceTask added in v0.2.4

type MockRecoveryPieceTask struct {
	// contains filtered or unexported fields
}

MockRecoveryPieceTask is a mock of RecoveryPieceTask interface.

func NewMockRecoveryPieceTask added in v0.2.4

func NewMockRecoveryPieceTask(ctrl *gomock.Controller) *MockRecoveryPieceTask

NewMockRecoveryPieceTask creates a new mock instance.

func (*MockRecoveryPieceTask) AppendLog added in v0.2.4

func (m *MockRecoveryPieceTask) AppendLog(log string)

AppendLog mocks base method.

func (*MockRecoveryPieceTask) EXPECT added in v0.2.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRecoveryPieceTask) Error added in v0.2.4

func (m *MockRecoveryPieceTask) Error() error

Error mocks base method.

func (*MockRecoveryPieceTask) EstimateLimit added in v0.2.4

func (m *MockRecoveryPieceTask) EstimateLimit() rcmgr.Limit

EstimateLimit mocks base method.

func (*MockRecoveryPieceTask) ExceedRetry added in v0.2.4

func (m *MockRecoveryPieceTask) ExceedRetry() bool

ExceedRetry mocks base method.

func (*MockRecoveryPieceTask) ExceedTimeout added in v0.2.4

func (m *MockRecoveryPieceTask) ExceedTimeout() bool

ExceedTimeout mocks base method.

func (*MockRecoveryPieceTask) Expired added in v0.2.4

func (m *MockRecoveryPieceTask) Expired() bool

Expired mocks base method.

func (*MockRecoveryPieceTask) GetAddress added in v0.2.4

func (m *MockRecoveryPieceTask) GetAddress() string

GetAddress mocks base method.

func (*MockRecoveryPieceTask) GetCreateTime added in v0.2.4

func (m *MockRecoveryPieceTask) GetCreateTime() int64

GetCreateTime mocks base method.

func (*MockRecoveryPieceTask) GetEcIdx added in v0.2.4

func (m *MockRecoveryPieceTask) GetEcIdx() int32

GetEcIdx mocks base method.

func (*MockRecoveryPieceTask) GetLogs added in v0.2.4

func (m *MockRecoveryPieceTask) GetLogs() string

GetLogs mocks base method.

func (*MockRecoveryPieceTask) GetMaxRetry added in v0.2.4

func (m *MockRecoveryPieceTask) GetMaxRetry() int64

GetMaxRetry mocks base method.

func (*MockRecoveryPieceTask) GetObjectInfo added in v0.2.4

func (m *MockRecoveryPieceTask) GetObjectInfo() *types0.ObjectInfo

GetObjectInfo mocks base method.

func (*MockRecoveryPieceTask) GetPriority added in v0.2.4

func (m *MockRecoveryPieceTask) GetPriority() TPriority

GetPriority mocks base method.

func (*MockRecoveryPieceTask) GetRecovered added in v0.2.4

func (m *MockRecoveryPieceTask) GetRecovered() bool

GetRecovered mocks base method.

func (*MockRecoveryPieceTask) GetRetry added in v0.2.4

func (m *MockRecoveryPieceTask) GetRetry() int64

GetRetry mocks base method.

func (*MockRecoveryPieceTask) GetSegmentIdx added in v0.2.4

func (m *MockRecoveryPieceTask) GetSegmentIdx() uint32

GetSegmentIdx mocks base method.

func (*MockRecoveryPieceTask) GetSignBytes added in v0.2.4

func (m *MockRecoveryPieceTask) GetSignBytes() []byte

GetSignBytes mocks base method.

func (*MockRecoveryPieceTask) GetSignature added in v0.2.4

func (m *MockRecoveryPieceTask) GetSignature() []byte

GetSignature mocks base method.

func (*MockRecoveryPieceTask) GetStorageParams added in v0.2.4

func (m *MockRecoveryPieceTask) GetStorageParams() *types0.Params

GetStorageParams mocks base method.

func (*MockRecoveryPieceTask) GetTimeout added in v0.2.4

func (m *MockRecoveryPieceTask) GetTimeout() int64

GetTimeout mocks base method.

func (*MockRecoveryPieceTask) GetUpdateTime added in v0.2.4

func (m *MockRecoveryPieceTask) GetUpdateTime() int64

GetUpdateTime mocks base method.

func (*MockRecoveryPieceTask) GetUserAddress added in v0.2.4

func (m *MockRecoveryPieceTask) GetUserAddress() string

GetUserAddress mocks base method.

func (*MockRecoveryPieceTask) IncRetry added in v0.2.4

func (m *MockRecoveryPieceTask) IncRetry()

IncRetry mocks base method.

func (*MockRecoveryPieceTask) Info added in v0.2.4

func (m *MockRecoveryPieceTask) Info() string

Info mocks base method.

func (*MockRecoveryPieceTask) InitRecoverPieceTask added in v0.2.4

func (m *MockRecoveryPieceTask) InitRecoverPieceTask(object *types0.ObjectInfo, params *types0.Params, priority TPriority, pieceIdx uint32, ecIdx int32, pieceSize uint64, timeout, retry int64)

InitRecoverPieceTask mocks base method.

func (*MockRecoveryPieceTask) Key added in v0.2.4

func (m *MockRecoveryPieceTask) Key() TKey

Key mocks base method.

func (*MockRecoveryPieceTask) SetAddress added in v0.2.4

func (m *MockRecoveryPieceTask) SetAddress(arg0 string)

SetAddress mocks base method.

func (*MockRecoveryPieceTask) SetCreateTime added in v0.2.4

func (m *MockRecoveryPieceTask) SetCreateTime(arg0 int64)

SetCreateTime mocks base method.

func (*MockRecoveryPieceTask) SetError added in v0.2.4

func (m *MockRecoveryPieceTask) SetError(arg0 error)

SetError mocks base method.

func (*MockRecoveryPieceTask) SetLogs added in v0.2.4

func (m *MockRecoveryPieceTask) SetLogs(logs string)

SetLogs mocks base method.

func (*MockRecoveryPieceTask) SetMaxRetry added in v0.2.4

func (m *MockRecoveryPieceTask) SetMaxRetry(arg0 int64)

SetMaxRetry mocks base method.

func (*MockRecoveryPieceTask) SetObjectInfo added in v0.2.4

func (m *MockRecoveryPieceTask) SetObjectInfo(arg0 *types0.ObjectInfo)

SetObjectInfo mocks base method.

func (*MockRecoveryPieceTask) SetPriority added in v0.2.4

func (m *MockRecoveryPieceTask) SetPriority(arg0 TPriority)

SetPriority mocks base method.

func (*MockRecoveryPieceTask) SetRecoverDone added in v0.2.4

func (m *MockRecoveryPieceTask) SetRecoverDone()

SetRecoverDone mocks base method.

func (*MockRecoveryPieceTask) SetRetry added in v0.2.4

func (m *MockRecoveryPieceTask) SetRetry(arg0 int64)

SetRetry mocks base method.

func (*MockRecoveryPieceTask) SetSignature added in v0.2.4

func (m *MockRecoveryPieceTask) SetSignature(arg0 []byte)

SetSignature mocks base method.

func (*MockRecoveryPieceTask) SetStorageParams added in v0.2.4

func (m *MockRecoveryPieceTask) SetStorageParams(arg0 *types0.Params)

SetStorageParams mocks base method.

func (*MockRecoveryPieceTask) SetTimeout added in v0.2.4

func (m *MockRecoveryPieceTask) SetTimeout(arg0 int64)

SetTimeout mocks base method.

func (*MockRecoveryPieceTask) SetUpdateTime added in v0.2.4

func (m *MockRecoveryPieceTask) SetUpdateTime(arg0 int64)

SetUpdateTime mocks base method.

func (*MockRecoveryPieceTask) SetUserAddress added in v0.2.4

func (m *MockRecoveryPieceTask) SetUserAddress(arg0 string)

SetUserAddress mocks base method.

func (*MockRecoveryPieceTask) Type added in v0.2.4

func (m *MockRecoveryPieceTask) Type() TType

Type mocks base method.

type MockRecoveryPieceTaskMockRecorder added in v0.2.4

type MockRecoveryPieceTaskMockRecorder struct {
	// contains filtered or unexported fields
}

MockRecoveryPieceTaskMockRecorder is the mock recorder for MockRecoveryPieceTask.

func (*MockRecoveryPieceTaskMockRecorder) AppendLog added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) AppendLog(log interface{}) *gomock.Call

AppendLog indicates an expected call of AppendLog.

func (*MockRecoveryPieceTaskMockRecorder) Error added in v0.2.4

Error indicates an expected call of Error.

func (*MockRecoveryPieceTaskMockRecorder) EstimateLimit added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) EstimateLimit() *gomock.Call

EstimateLimit indicates an expected call of EstimateLimit.

func (*MockRecoveryPieceTaskMockRecorder) ExceedRetry added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) ExceedRetry() *gomock.Call

ExceedRetry indicates an expected call of ExceedRetry.

func (*MockRecoveryPieceTaskMockRecorder) ExceedTimeout added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) ExceedTimeout() *gomock.Call

ExceedTimeout indicates an expected call of ExceedTimeout.

func (*MockRecoveryPieceTaskMockRecorder) Expired added in v0.2.4

Expired indicates an expected call of Expired.

func (*MockRecoveryPieceTaskMockRecorder) GetAddress added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) GetAddress() *gomock.Call

GetAddress indicates an expected call of GetAddress.

func (*MockRecoveryPieceTaskMockRecorder) GetCreateTime added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) GetCreateTime() *gomock.Call

GetCreateTime indicates an expected call of GetCreateTime.

func (*MockRecoveryPieceTaskMockRecorder) GetEcIdx added in v0.2.4

GetEcIdx indicates an expected call of GetEcIdx.

func (*MockRecoveryPieceTaskMockRecorder) GetLogs added in v0.2.4

GetLogs indicates an expected call of GetLogs.

func (*MockRecoveryPieceTaskMockRecorder) GetMaxRetry added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) GetMaxRetry() *gomock.Call

GetMaxRetry indicates an expected call of GetMaxRetry.

func (*MockRecoveryPieceTaskMockRecorder) GetObjectInfo added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) GetObjectInfo() *gomock.Call

GetObjectInfo indicates an expected call of GetObjectInfo.

func (*MockRecoveryPieceTaskMockRecorder) GetPriority added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) GetPriority() *gomock.Call

GetPriority indicates an expected call of GetPriority.

func (*MockRecoveryPieceTaskMockRecorder) GetRecovered added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) GetRecovered() *gomock.Call

GetRecovered indicates an expected call of GetRecovered.

func (*MockRecoveryPieceTaskMockRecorder) GetRetry added in v0.2.4

GetRetry indicates an expected call of GetRetry.

func (*MockRecoveryPieceTaskMockRecorder) GetSegmentIdx added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) GetSegmentIdx() *gomock.Call

GetSegmentIdx indicates an expected call of GetSegmentIdx.

func (*MockRecoveryPieceTaskMockRecorder) GetSignBytes added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) GetSignBytes() *gomock.Call

GetSignBytes indicates an expected call of GetSignBytes.

func (*MockRecoveryPieceTaskMockRecorder) GetSignature added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) GetSignature() *gomock.Call

GetSignature indicates an expected call of GetSignature.

func (*MockRecoveryPieceTaskMockRecorder) GetStorageParams added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) GetStorageParams() *gomock.Call

GetStorageParams indicates an expected call of GetStorageParams.

func (*MockRecoveryPieceTaskMockRecorder) GetTimeout added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) GetTimeout() *gomock.Call

GetTimeout indicates an expected call of GetTimeout.

func (*MockRecoveryPieceTaskMockRecorder) GetUpdateTime added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) GetUpdateTime() *gomock.Call

GetUpdateTime indicates an expected call of GetUpdateTime.

func (*MockRecoveryPieceTaskMockRecorder) GetUserAddress added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) GetUserAddress() *gomock.Call

GetUserAddress indicates an expected call of GetUserAddress.

func (*MockRecoveryPieceTaskMockRecorder) IncRetry added in v0.2.4

IncRetry indicates an expected call of IncRetry.

func (*MockRecoveryPieceTaskMockRecorder) Info added in v0.2.4

Info indicates an expected call of Info.

func (*MockRecoveryPieceTaskMockRecorder) InitRecoverPieceTask added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) InitRecoverPieceTask(object, params, priority, pieceIdx, ecIdx, pieceSize, timeout, retry interface{}) *gomock.Call

InitRecoverPieceTask indicates an expected call of InitRecoverPieceTask.

func (*MockRecoveryPieceTaskMockRecorder) Key added in v0.2.4

Key indicates an expected call of Key.

func (*MockRecoveryPieceTaskMockRecorder) SetAddress added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) SetAddress(arg0 interface{}) *gomock.Call

SetAddress indicates an expected call of SetAddress.

func (*MockRecoveryPieceTaskMockRecorder) SetCreateTime added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) SetCreateTime(arg0 interface{}) *gomock.Call

SetCreateTime indicates an expected call of SetCreateTime.

func (*MockRecoveryPieceTaskMockRecorder) SetError added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) SetError(arg0 interface{}) *gomock.Call

SetError indicates an expected call of SetError.

func (*MockRecoveryPieceTaskMockRecorder) SetLogs added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) SetLogs(logs interface{}) *gomock.Call

SetLogs indicates an expected call of SetLogs.

func (*MockRecoveryPieceTaskMockRecorder) SetMaxRetry added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) SetMaxRetry(arg0 interface{}) *gomock.Call

SetMaxRetry indicates an expected call of SetMaxRetry.

func (*MockRecoveryPieceTaskMockRecorder) SetObjectInfo added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) SetObjectInfo(arg0 interface{}) *gomock.Call

SetObjectInfo indicates an expected call of SetObjectInfo.

func (*MockRecoveryPieceTaskMockRecorder) SetPriority added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) SetPriority(arg0 interface{}) *gomock.Call

SetPriority indicates an expected call of SetPriority.

func (*MockRecoveryPieceTaskMockRecorder) SetRecoverDone added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) SetRecoverDone() *gomock.Call

SetRecoverDone indicates an expected call of SetRecoverDone.

func (*MockRecoveryPieceTaskMockRecorder) SetRetry added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) SetRetry(arg0 interface{}) *gomock.Call

SetRetry indicates an expected call of SetRetry.

func (*MockRecoveryPieceTaskMockRecorder) SetSignature added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) SetSignature(arg0 interface{}) *gomock.Call

SetSignature indicates an expected call of SetSignature.

func (*MockRecoveryPieceTaskMockRecorder) SetStorageParams added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) SetStorageParams(arg0 interface{}) *gomock.Call

SetStorageParams indicates an expected call of SetStorageParams.

func (*MockRecoveryPieceTaskMockRecorder) SetTimeout added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call

SetTimeout indicates an expected call of SetTimeout.

func (*MockRecoveryPieceTaskMockRecorder) SetUpdateTime added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) SetUpdateTime(arg0 interface{}) *gomock.Call

SetUpdateTime indicates an expected call of SetUpdateTime.

func (*MockRecoveryPieceTaskMockRecorder) SetUserAddress added in v0.2.4

func (mr *MockRecoveryPieceTaskMockRecorder) SetUserAddress(arg0 interface{}) *gomock.Call

SetUserAddress indicates an expected call of SetUserAddress.

func (*MockRecoveryPieceTaskMockRecorder) Type added in v0.2.4

Type indicates an expected call of Type.

type MockReplicatePieceTask added in v0.2.4

type MockReplicatePieceTask struct {
	// contains filtered or unexported fields
}

MockReplicatePieceTask is a mock of ReplicatePieceTask interface.

func NewMockReplicatePieceTask added in v0.2.4

func NewMockReplicatePieceTask(ctrl *gomock.Controller) *MockReplicatePieceTask

NewMockReplicatePieceTask creates a new mock instance.

func (*MockReplicatePieceTask) AppendLog added in v0.2.4

func (m *MockReplicatePieceTask) AppendLog(log string)

AppendLog mocks base method.

func (*MockReplicatePieceTask) EXPECT added in v0.2.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockReplicatePieceTask) Error added in v0.2.4

func (m *MockReplicatePieceTask) Error() error

Error mocks base method.

func (*MockReplicatePieceTask) EstimateLimit added in v0.2.4

func (m *MockReplicatePieceTask) EstimateLimit() rcmgr.Limit

EstimateLimit mocks base method.

func (*MockReplicatePieceTask) ExceedRetry added in v0.2.4

func (m *MockReplicatePieceTask) ExceedRetry() bool

ExceedRetry mocks base method.

func (*MockReplicatePieceTask) ExceedTimeout added in v0.2.4

func (m *MockReplicatePieceTask) ExceedTimeout() bool

ExceedTimeout mocks base method.

func (*MockReplicatePieceTask) Expired added in v0.2.4

func (m *MockReplicatePieceTask) Expired() bool

Expired mocks base method.

func (*MockReplicatePieceTask) GetAddress added in v0.2.4

func (m *MockReplicatePieceTask) GetAddress() string

GetAddress mocks base method.

func (*MockReplicatePieceTask) GetCreateTime added in v0.2.4

func (m *MockReplicatePieceTask) GetCreateTime() int64

GetCreateTime mocks base method.

func (*MockReplicatePieceTask) GetGlobalVirtualGroupId added in v0.2.4

func (m *MockReplicatePieceTask) GetGlobalVirtualGroupId() uint32

GetGlobalVirtualGroupId mocks base method.

func (*MockReplicatePieceTask) GetLogs added in v0.2.4

func (m *MockReplicatePieceTask) GetLogs() string

GetLogs mocks base method.

func (*MockReplicatePieceTask) GetMaxRetry added in v0.2.4

func (m *MockReplicatePieceTask) GetMaxRetry() int64

GetMaxRetry mocks base method.

func (*MockReplicatePieceTask) GetNotAvailableSpIdx added in v0.2.4

func (m *MockReplicatePieceTask) GetNotAvailableSpIdx() int32

GetNotAvailableSpIdx mocks base method.

func (*MockReplicatePieceTask) GetObjectInfo added in v0.2.4

func (m *MockReplicatePieceTask) GetObjectInfo() *types0.ObjectInfo

GetObjectInfo mocks base method.

func (*MockReplicatePieceTask) GetPriority added in v0.2.4

func (m *MockReplicatePieceTask) GetPriority() TPriority

GetPriority mocks base method.

func (*MockReplicatePieceTask) GetRetry added in v0.2.4

func (m *MockReplicatePieceTask) GetRetry() int64

GetRetry mocks base method.

func (*MockReplicatePieceTask) GetSealed added in v0.2.4

func (m *MockReplicatePieceTask) GetSealed() bool

GetSealed mocks base method.

func (*MockReplicatePieceTask) GetSecondaryAddresses added in v0.2.4

func (m *MockReplicatePieceTask) GetSecondaryAddresses() []string

GetSecondaryAddresses mocks base method.

func (*MockReplicatePieceTask) GetSecondaryEndpoints added in v0.2.4

func (m *MockReplicatePieceTask) GetSecondaryEndpoints() []string

GetSecondaryEndpoints mocks base method.

func (*MockReplicatePieceTask) GetSecondarySignatures added in v0.2.4

func (m *MockReplicatePieceTask) GetSecondarySignatures() [][]byte

GetSecondarySignatures mocks base method.

func (*MockReplicatePieceTask) GetStorageParams added in v0.2.4

func (m *MockReplicatePieceTask) GetStorageParams() *types0.Params

GetStorageParams mocks base method.

func (*MockReplicatePieceTask) GetTimeout added in v0.2.4

func (m *MockReplicatePieceTask) GetTimeout() int64

GetTimeout mocks base method.

func (*MockReplicatePieceTask) GetUpdateTime added in v0.2.4

func (m *MockReplicatePieceTask) GetUpdateTime() int64

GetUpdateTime mocks base method.

func (*MockReplicatePieceTask) GetUserAddress added in v0.2.4

func (m *MockReplicatePieceTask) GetUserAddress() string

GetUserAddress mocks base method.

func (*MockReplicatePieceTask) IncRetry added in v0.2.4

func (m *MockReplicatePieceTask) IncRetry()

IncRetry mocks base method.

func (*MockReplicatePieceTask) Info added in v0.2.4

func (m *MockReplicatePieceTask) Info() string

Info mocks base method.

func (*MockReplicatePieceTask) InitReplicatePieceTask added in v0.2.4

func (m *MockReplicatePieceTask) InitReplicatePieceTask(object *types0.ObjectInfo, params *types0.Params, priority TPriority, timeout, retry int64)

InitReplicatePieceTask mocks base method.

func (*MockReplicatePieceTask) Key added in v0.2.4

func (m *MockReplicatePieceTask) Key() TKey

Key mocks base method.

func (*MockReplicatePieceTask) SetAddress added in v0.2.4

func (m *MockReplicatePieceTask) SetAddress(arg0 string)

SetAddress mocks base method.

func (*MockReplicatePieceTask) SetCreateTime added in v0.2.4

func (m *MockReplicatePieceTask) SetCreateTime(arg0 int64)

SetCreateTime mocks base method.

func (*MockReplicatePieceTask) SetError added in v0.2.4

func (m *MockReplicatePieceTask) SetError(arg0 error)

SetError mocks base method.

func (*MockReplicatePieceTask) SetLogs added in v0.2.4

func (m *MockReplicatePieceTask) SetLogs(logs string)

SetLogs mocks base method.

func (*MockReplicatePieceTask) SetMaxRetry added in v0.2.4

func (m *MockReplicatePieceTask) SetMaxRetry(arg0 int64)

SetMaxRetry mocks base method.

func (*MockReplicatePieceTask) SetNotAvailableSpIdx added in v0.2.4

func (m *MockReplicatePieceTask) SetNotAvailableSpIdx(arg0 int32)

SetNotAvailableSpIdx mocks base method.

func (*MockReplicatePieceTask) SetObjectInfo added in v0.2.4

func (m *MockReplicatePieceTask) SetObjectInfo(arg0 *types0.ObjectInfo)

SetObjectInfo mocks base method.

func (*MockReplicatePieceTask) SetPriority added in v0.2.4

func (m *MockReplicatePieceTask) SetPriority(arg0 TPriority)

SetPriority mocks base method.

func (*MockReplicatePieceTask) SetRetry added in v0.2.4

func (m *MockReplicatePieceTask) SetRetry(arg0 int64)

SetRetry mocks base method.

func (*MockReplicatePieceTask) SetSealed added in v0.2.4

func (m *MockReplicatePieceTask) SetSealed(arg0 bool)

SetSealed mocks base method.

func (*MockReplicatePieceTask) SetSecondaryAddresses added in v0.2.4

func (m *MockReplicatePieceTask) SetSecondaryAddresses(arg0 []string)

SetSecondaryAddresses mocks base method.

func (*MockReplicatePieceTask) SetSecondarySignatures added in v0.2.4

func (m *MockReplicatePieceTask) SetSecondarySignatures(arg0 [][]byte)

SetSecondarySignatures mocks base method.

func (*MockReplicatePieceTask) SetStorageParams added in v0.2.4

func (m *MockReplicatePieceTask) SetStorageParams(arg0 *types0.Params)

SetStorageParams mocks base method.

func (*MockReplicatePieceTask) SetTimeout added in v0.2.4

func (m *MockReplicatePieceTask) SetTimeout(arg0 int64)

SetTimeout mocks base method.

func (*MockReplicatePieceTask) SetUpdateTime added in v0.2.4

func (m *MockReplicatePieceTask) SetUpdateTime(arg0 int64)

SetUpdateTime mocks base method.

func (*MockReplicatePieceTask) SetUserAddress added in v0.2.4

func (m *MockReplicatePieceTask) SetUserAddress(arg0 string)

SetUserAddress mocks base method.

func (*MockReplicatePieceTask) Type added in v0.2.4

func (m *MockReplicatePieceTask) Type() TType

Type mocks base method.

type MockReplicatePieceTaskMockRecorder added in v0.2.4

type MockReplicatePieceTaskMockRecorder struct {
	// contains filtered or unexported fields
}

MockReplicatePieceTaskMockRecorder is the mock recorder for MockReplicatePieceTask.

func (*MockReplicatePieceTaskMockRecorder) AppendLog added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) AppendLog(log interface{}) *gomock.Call

AppendLog indicates an expected call of AppendLog.

func (*MockReplicatePieceTaskMockRecorder) Error added in v0.2.4

Error indicates an expected call of Error.

func (*MockReplicatePieceTaskMockRecorder) EstimateLimit added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) EstimateLimit() *gomock.Call

EstimateLimit indicates an expected call of EstimateLimit.

func (*MockReplicatePieceTaskMockRecorder) ExceedRetry added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) ExceedRetry() *gomock.Call

ExceedRetry indicates an expected call of ExceedRetry.

func (*MockReplicatePieceTaskMockRecorder) ExceedTimeout added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) ExceedTimeout() *gomock.Call

ExceedTimeout indicates an expected call of ExceedTimeout.

func (*MockReplicatePieceTaskMockRecorder) Expired added in v0.2.4

Expired indicates an expected call of Expired.

func (*MockReplicatePieceTaskMockRecorder) GetAddress added in v0.2.4

GetAddress indicates an expected call of GetAddress.

func (*MockReplicatePieceTaskMockRecorder) GetCreateTime added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) GetCreateTime() *gomock.Call

GetCreateTime indicates an expected call of GetCreateTime.

func (*MockReplicatePieceTaskMockRecorder) GetGlobalVirtualGroupId added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) GetGlobalVirtualGroupId() *gomock.Call

GetGlobalVirtualGroupId indicates an expected call of GetGlobalVirtualGroupId.

func (*MockReplicatePieceTaskMockRecorder) GetLogs added in v0.2.4

GetLogs indicates an expected call of GetLogs.

func (*MockReplicatePieceTaskMockRecorder) GetMaxRetry added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) GetMaxRetry() *gomock.Call

GetMaxRetry indicates an expected call of GetMaxRetry.

func (*MockReplicatePieceTaskMockRecorder) GetNotAvailableSpIdx added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) GetNotAvailableSpIdx() *gomock.Call

GetNotAvailableSpIdx indicates an expected call of GetNotAvailableSpIdx.

func (*MockReplicatePieceTaskMockRecorder) GetObjectInfo added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) GetObjectInfo() *gomock.Call

GetObjectInfo indicates an expected call of GetObjectInfo.

func (*MockReplicatePieceTaskMockRecorder) GetPriority added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) GetPriority() *gomock.Call

GetPriority indicates an expected call of GetPriority.

func (*MockReplicatePieceTaskMockRecorder) GetRetry added in v0.2.4

GetRetry indicates an expected call of GetRetry.

func (*MockReplicatePieceTaskMockRecorder) GetSealed added in v0.2.4

GetSealed indicates an expected call of GetSealed.

func (*MockReplicatePieceTaskMockRecorder) GetSecondaryAddresses added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) GetSecondaryAddresses() *gomock.Call

GetSecondaryAddresses indicates an expected call of GetSecondaryAddresses.

func (*MockReplicatePieceTaskMockRecorder) GetSecondaryEndpoints added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) GetSecondaryEndpoints() *gomock.Call

GetSecondaryEndpoints indicates an expected call of GetSecondaryEndpoints.

func (*MockReplicatePieceTaskMockRecorder) GetSecondarySignatures added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) GetSecondarySignatures() *gomock.Call

GetSecondarySignatures indicates an expected call of GetSecondarySignatures.

func (*MockReplicatePieceTaskMockRecorder) GetStorageParams added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) GetStorageParams() *gomock.Call

GetStorageParams indicates an expected call of GetStorageParams.

func (*MockReplicatePieceTaskMockRecorder) GetTimeout added in v0.2.4

GetTimeout indicates an expected call of GetTimeout.

func (*MockReplicatePieceTaskMockRecorder) GetUpdateTime added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) GetUpdateTime() *gomock.Call

GetUpdateTime indicates an expected call of GetUpdateTime.

func (*MockReplicatePieceTaskMockRecorder) GetUserAddress added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) GetUserAddress() *gomock.Call

GetUserAddress indicates an expected call of GetUserAddress.

func (*MockReplicatePieceTaskMockRecorder) IncRetry added in v0.2.4

IncRetry indicates an expected call of IncRetry.

func (*MockReplicatePieceTaskMockRecorder) Info added in v0.2.4

Info indicates an expected call of Info.

func (*MockReplicatePieceTaskMockRecorder) InitReplicatePieceTask added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) InitReplicatePieceTask(object, params, priority, timeout, retry interface{}) *gomock.Call

InitReplicatePieceTask indicates an expected call of InitReplicatePieceTask.

func (*MockReplicatePieceTaskMockRecorder) Key added in v0.2.4

Key indicates an expected call of Key.

func (*MockReplicatePieceTaskMockRecorder) SetAddress added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) SetAddress(arg0 interface{}) *gomock.Call

SetAddress indicates an expected call of SetAddress.

func (*MockReplicatePieceTaskMockRecorder) SetCreateTime added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) SetCreateTime(arg0 interface{}) *gomock.Call

SetCreateTime indicates an expected call of SetCreateTime.

func (*MockReplicatePieceTaskMockRecorder) SetError added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) SetError(arg0 interface{}) *gomock.Call

SetError indicates an expected call of SetError.

func (*MockReplicatePieceTaskMockRecorder) SetLogs added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) SetLogs(logs interface{}) *gomock.Call

SetLogs indicates an expected call of SetLogs.

func (*MockReplicatePieceTaskMockRecorder) SetMaxRetry added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) SetMaxRetry(arg0 interface{}) *gomock.Call

SetMaxRetry indicates an expected call of SetMaxRetry.

func (*MockReplicatePieceTaskMockRecorder) SetNotAvailableSpIdx added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) SetNotAvailableSpIdx(arg0 interface{}) *gomock.Call

SetNotAvailableSpIdx indicates an expected call of SetNotAvailableSpIdx.

func (*MockReplicatePieceTaskMockRecorder) SetObjectInfo added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) SetObjectInfo(arg0 interface{}) *gomock.Call

SetObjectInfo indicates an expected call of SetObjectInfo.

func (*MockReplicatePieceTaskMockRecorder) SetPriority added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) SetPriority(arg0 interface{}) *gomock.Call

SetPriority indicates an expected call of SetPriority.

func (*MockReplicatePieceTaskMockRecorder) SetRetry added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) SetRetry(arg0 interface{}) *gomock.Call

SetRetry indicates an expected call of SetRetry.

func (*MockReplicatePieceTaskMockRecorder) SetSealed added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) SetSealed(arg0 interface{}) *gomock.Call

SetSealed indicates an expected call of SetSealed.

func (*MockReplicatePieceTaskMockRecorder) SetSecondaryAddresses added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) SetSecondaryAddresses(arg0 interface{}) *gomock.Call

SetSecondaryAddresses indicates an expected call of SetSecondaryAddresses.

func (*MockReplicatePieceTaskMockRecorder) SetSecondarySignatures added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) SetSecondarySignatures(arg0 interface{}) *gomock.Call

SetSecondarySignatures indicates an expected call of SetSecondarySignatures.

func (*MockReplicatePieceTaskMockRecorder) SetStorageParams added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) SetStorageParams(arg0 interface{}) *gomock.Call

SetStorageParams indicates an expected call of SetStorageParams.

func (*MockReplicatePieceTaskMockRecorder) SetTimeout added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call

SetTimeout indicates an expected call of SetTimeout.

func (*MockReplicatePieceTaskMockRecorder) SetUpdateTime added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) SetUpdateTime(arg0 interface{}) *gomock.Call

SetUpdateTime indicates an expected call of SetUpdateTime.

func (*MockReplicatePieceTaskMockRecorder) SetUserAddress added in v0.2.4

func (mr *MockReplicatePieceTaskMockRecorder) SetUserAddress(arg0 interface{}) *gomock.Call

SetUserAddress indicates an expected call of SetUserAddress.

func (*MockReplicatePieceTaskMockRecorder) Type added in v0.2.4

Type indicates an expected call of Type.

type MockResumableUploadObjectTask added in v0.2.4

type MockResumableUploadObjectTask struct {
	// contains filtered or unexported fields
}

MockResumableUploadObjectTask is a mock of ResumableUploadObjectTask interface.

func NewMockResumableUploadObjectTask added in v0.2.4

func NewMockResumableUploadObjectTask(ctrl *gomock.Controller) *MockResumableUploadObjectTask

NewMockResumableUploadObjectTask creates a new mock instance.

func (*MockResumableUploadObjectTask) AppendLog added in v0.2.4

func (m *MockResumableUploadObjectTask) AppendLog(log string)

AppendLog mocks base method.

func (*MockResumableUploadObjectTask) EXPECT added in v0.2.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockResumableUploadObjectTask) Error added in v0.2.4

Error mocks base method.

func (*MockResumableUploadObjectTask) EstimateLimit added in v0.2.4

func (m *MockResumableUploadObjectTask) EstimateLimit() rcmgr.Limit

EstimateLimit mocks base method.

func (*MockResumableUploadObjectTask) ExceedRetry added in v0.2.4

func (m *MockResumableUploadObjectTask) ExceedRetry() bool

ExceedRetry mocks base method.

func (*MockResumableUploadObjectTask) ExceedTimeout added in v0.2.4

func (m *MockResumableUploadObjectTask) ExceedTimeout() bool

ExceedTimeout mocks base method.

func (*MockResumableUploadObjectTask) Expired added in v0.2.4

func (m *MockResumableUploadObjectTask) Expired() bool

Expired mocks base method.

func (*MockResumableUploadObjectTask) GetAddress added in v0.2.4

func (m *MockResumableUploadObjectTask) GetAddress() string

GetAddress mocks base method.

func (*MockResumableUploadObjectTask) GetCompleted added in v0.2.4

func (m *MockResumableUploadObjectTask) GetCompleted() bool

GetCompleted mocks base method.

func (*MockResumableUploadObjectTask) GetCreateTime added in v0.2.4

func (m *MockResumableUploadObjectTask) GetCreateTime() int64

GetCreateTime mocks base method.

func (*MockResumableUploadObjectTask) GetLogs added in v0.2.4

GetLogs mocks base method.

func (*MockResumableUploadObjectTask) GetMaxRetry added in v0.2.4

func (m *MockResumableUploadObjectTask) GetMaxRetry() int64

GetMaxRetry mocks base method.

func (*MockResumableUploadObjectTask) GetObjectInfo added in v0.2.4

func (m *MockResumableUploadObjectTask) GetObjectInfo() *types0.ObjectInfo

GetObjectInfo mocks base method.

func (*MockResumableUploadObjectTask) GetPriority added in v0.2.4

func (m *MockResumableUploadObjectTask) GetPriority() TPriority

GetPriority mocks base method.

func (*MockResumableUploadObjectTask) GetResumeOffset added in v0.2.4

func (m *MockResumableUploadObjectTask) GetResumeOffset() uint64

GetResumeOffset mocks base method.

func (*MockResumableUploadObjectTask) GetRetry added in v0.2.4

func (m *MockResumableUploadObjectTask) GetRetry() int64

GetRetry mocks base method.

func (*MockResumableUploadObjectTask) GetStorageParams added in v0.2.4

func (m *MockResumableUploadObjectTask) GetStorageParams() *types0.Params

GetStorageParams mocks base method.

func (*MockResumableUploadObjectTask) GetTimeout added in v0.2.4

func (m *MockResumableUploadObjectTask) GetTimeout() int64

GetTimeout mocks base method.

func (*MockResumableUploadObjectTask) GetUpdateTime added in v0.2.4

func (m *MockResumableUploadObjectTask) GetUpdateTime() int64

GetUpdateTime mocks base method.

func (*MockResumableUploadObjectTask) GetUserAddress added in v0.2.4

func (m *MockResumableUploadObjectTask) GetUserAddress() string

GetUserAddress mocks base method.

func (*MockResumableUploadObjectTask) GetVirtualGroupFamilyId added in v0.2.4

func (m *MockResumableUploadObjectTask) GetVirtualGroupFamilyId() uint32

GetVirtualGroupFamilyId mocks base method.

func (*MockResumableUploadObjectTask) IncRetry added in v0.2.4

func (m *MockResumableUploadObjectTask) IncRetry()

IncRetry mocks base method.

func (*MockResumableUploadObjectTask) Info added in v0.2.4

Info mocks base method.

func (*MockResumableUploadObjectTask) InitResumableUploadObjectTask added in v0.2.4

func (m *MockResumableUploadObjectTask) InitResumableUploadObjectTask(vgfID uint32, object *types0.ObjectInfo, params *types0.Params, timeout int64, complete bool, offset uint64)

InitResumableUploadObjectTask mocks base method.

func (*MockResumableUploadObjectTask) Key added in v0.2.4

Key mocks base method.

func (*MockResumableUploadObjectTask) SetAddress added in v0.2.4

func (m *MockResumableUploadObjectTask) SetAddress(arg0 string)

SetAddress mocks base method.

func (*MockResumableUploadObjectTask) SetCompleted added in v0.2.4

func (m *MockResumableUploadObjectTask) SetCompleted(completed bool)

SetCompleted mocks base method.

func (*MockResumableUploadObjectTask) SetCreateTime added in v0.2.4

func (m *MockResumableUploadObjectTask) SetCreateTime(arg0 int64)

SetCreateTime mocks base method.

func (*MockResumableUploadObjectTask) SetError added in v0.2.4

func (m *MockResumableUploadObjectTask) SetError(arg0 error)

SetError mocks base method.

func (*MockResumableUploadObjectTask) SetLogs added in v0.2.4

func (m *MockResumableUploadObjectTask) SetLogs(logs string)

SetLogs mocks base method.

func (*MockResumableUploadObjectTask) SetMaxRetry added in v0.2.4

func (m *MockResumableUploadObjectTask) SetMaxRetry(arg0 int64)

SetMaxRetry mocks base method.

func (*MockResumableUploadObjectTask) SetObjectInfo added in v0.2.4

func (m *MockResumableUploadObjectTask) SetObjectInfo(arg0 *types0.ObjectInfo)

SetObjectInfo mocks base method.

func (*MockResumableUploadObjectTask) SetPriority added in v0.2.4

func (m *MockResumableUploadObjectTask) SetPriority(arg0 TPriority)

SetPriority mocks base method.

func (*MockResumableUploadObjectTask) SetResumeOffset added in v0.2.4

func (m *MockResumableUploadObjectTask) SetResumeOffset(offset uint64)

SetResumeOffset mocks base method.

func (*MockResumableUploadObjectTask) SetRetry added in v0.2.4

func (m *MockResumableUploadObjectTask) SetRetry(arg0 int64)

SetRetry mocks base method.

func (*MockResumableUploadObjectTask) SetStorageParams added in v0.2.4

func (m *MockResumableUploadObjectTask) SetStorageParams(arg0 *types0.Params)

SetStorageParams mocks base method.

func (*MockResumableUploadObjectTask) SetTimeout added in v0.2.4

func (m *MockResumableUploadObjectTask) SetTimeout(arg0 int64)

SetTimeout mocks base method.

func (*MockResumableUploadObjectTask) SetUpdateTime added in v0.2.4

func (m *MockResumableUploadObjectTask) SetUpdateTime(arg0 int64)

SetUpdateTime mocks base method.

func (*MockResumableUploadObjectTask) SetUserAddress added in v0.2.4

func (m *MockResumableUploadObjectTask) SetUserAddress(arg0 string)

SetUserAddress mocks base method.

func (*MockResumableUploadObjectTask) Type added in v0.2.4

Type mocks base method.

type MockResumableUploadObjectTaskMockRecorder added in v0.2.4

type MockResumableUploadObjectTaskMockRecorder struct {
	// contains filtered or unexported fields
}

MockResumableUploadObjectTaskMockRecorder is the mock recorder for MockResumableUploadObjectTask.

func (*MockResumableUploadObjectTaskMockRecorder) AppendLog added in v0.2.4

func (mr *MockResumableUploadObjectTaskMockRecorder) AppendLog(log interface{}) *gomock.Call

AppendLog indicates an expected call of AppendLog.

func (*MockResumableUploadObjectTaskMockRecorder) Error added in v0.2.4

Error indicates an expected call of Error.

func (*MockResumableUploadObjectTaskMockRecorder) EstimateLimit added in v0.2.4

EstimateLimit indicates an expected call of EstimateLimit.

func (*MockResumableUploadObjectTaskMockRecorder) ExceedRetry added in v0.2.4

ExceedRetry indicates an expected call of ExceedRetry.

func (*MockResumableUploadObjectTaskMockRecorder) ExceedTimeout added in v0.2.4

ExceedTimeout indicates an expected call of ExceedTimeout.

func (*MockResumableUploadObjectTaskMockRecorder) Expired added in v0.2.4

Expired indicates an expected call of Expired.

func (*MockResumableUploadObjectTaskMockRecorder) GetAddress added in v0.2.4

GetAddress indicates an expected call of GetAddress.

func (*MockResumableUploadObjectTaskMockRecorder) GetCompleted added in v0.2.4

GetCompleted indicates an expected call of GetCompleted.

func (*MockResumableUploadObjectTaskMockRecorder) GetCreateTime added in v0.2.4

GetCreateTime indicates an expected call of GetCreateTime.

func (*MockResumableUploadObjectTaskMockRecorder) GetLogs added in v0.2.4

GetLogs indicates an expected call of GetLogs.

func (*MockResumableUploadObjectTaskMockRecorder) GetMaxRetry added in v0.2.4

GetMaxRetry indicates an expected call of GetMaxRetry.

func (*MockResumableUploadObjectTaskMockRecorder) GetObjectInfo added in v0.2.4

GetObjectInfo indicates an expected call of GetObjectInfo.

func (*MockResumableUploadObjectTaskMockRecorder) GetPriority added in v0.2.4

GetPriority indicates an expected call of GetPriority.

func (*MockResumableUploadObjectTaskMockRecorder) GetResumeOffset added in v0.2.4

func (mr *MockResumableUploadObjectTaskMockRecorder) GetResumeOffset() *gomock.Call

GetResumeOffset indicates an expected call of GetResumeOffset.

func (*MockResumableUploadObjectTaskMockRecorder) GetRetry added in v0.2.4

GetRetry indicates an expected call of GetRetry.

func (*MockResumableUploadObjectTaskMockRecorder) GetStorageParams added in v0.2.4

func (mr *MockResumableUploadObjectTaskMockRecorder) GetStorageParams() *gomock.Call

GetStorageParams indicates an expected call of GetStorageParams.

func (*MockResumableUploadObjectTaskMockRecorder) GetTimeout added in v0.2.4

GetTimeout indicates an expected call of GetTimeout.

func (*MockResumableUploadObjectTaskMockRecorder) GetUpdateTime added in v0.2.4

GetUpdateTime indicates an expected call of GetUpdateTime.

func (*MockResumableUploadObjectTaskMockRecorder) GetUserAddress added in v0.2.4

GetUserAddress indicates an expected call of GetUserAddress.

func (*MockResumableUploadObjectTaskMockRecorder) GetVirtualGroupFamilyId added in v0.2.4

func (mr *MockResumableUploadObjectTaskMockRecorder) GetVirtualGroupFamilyId() *gomock.Call

GetVirtualGroupFamilyId indicates an expected call of GetVirtualGroupFamilyId.

func (*MockResumableUploadObjectTaskMockRecorder) IncRetry added in v0.2.4

IncRetry indicates an expected call of IncRetry.

func (*MockResumableUploadObjectTaskMockRecorder) Info added in v0.2.4

Info indicates an expected call of Info.

func (*MockResumableUploadObjectTaskMockRecorder) InitResumableUploadObjectTask added in v0.2.4

func (mr *MockResumableUploadObjectTaskMockRecorder) InitResumableUploadObjectTask(vgfID, object, params, timeout, complete, offset interface{}) *gomock.Call

InitResumableUploadObjectTask indicates an expected call of InitResumableUploadObjectTask.

func (*MockResumableUploadObjectTaskMockRecorder) Key added in v0.2.4

Key indicates an expected call of Key.

func (*MockResumableUploadObjectTaskMockRecorder) SetAddress added in v0.2.4

func (mr *MockResumableUploadObjectTaskMockRecorder) SetAddress(arg0 interface{}) *gomock.Call

SetAddress indicates an expected call of SetAddress.

func (*MockResumableUploadObjectTaskMockRecorder) SetCompleted added in v0.2.4

func (mr *MockResumableUploadObjectTaskMockRecorder) SetCompleted(completed interface{}) *gomock.Call

SetCompleted indicates an expected call of SetCompleted.

func (*MockResumableUploadObjectTaskMockRecorder) SetCreateTime added in v0.2.4

func (mr *MockResumableUploadObjectTaskMockRecorder) SetCreateTime(arg0 interface{}) *gomock.Call

SetCreateTime indicates an expected call of SetCreateTime.

func (*MockResumableUploadObjectTaskMockRecorder) SetError added in v0.2.4

func (mr *MockResumableUploadObjectTaskMockRecorder) SetError(arg0 interface{}) *gomock.Call

SetError indicates an expected call of SetError.

func (*MockResumableUploadObjectTaskMockRecorder) SetLogs added in v0.2.4

func (mr *MockResumableUploadObjectTaskMockRecorder) SetLogs(logs interface{}) *gomock.Call

SetLogs indicates an expected call of SetLogs.

func (*MockResumableUploadObjectTaskMockRecorder) SetMaxRetry added in v0.2.4

func (mr *MockResumableUploadObjectTaskMockRecorder) SetMaxRetry(arg0 interface{}) *gomock.Call

SetMaxRetry indicates an expected call of SetMaxRetry.

func (*MockResumableUploadObjectTaskMockRecorder) SetObjectInfo added in v0.2.4

func (mr *MockResumableUploadObjectTaskMockRecorder) SetObjectInfo(arg0 interface{}) *gomock.Call

SetObjectInfo indicates an expected call of SetObjectInfo.

func (*MockResumableUploadObjectTaskMockRecorder) SetPriority added in v0.2.4

func (mr *MockResumableUploadObjectTaskMockRecorder) SetPriority(arg0 interface{}) *gomock.Call

SetPriority indicates an expected call of SetPriority.

func (*MockResumableUploadObjectTaskMockRecorder) SetResumeOffset added in v0.2.4

func (mr *MockResumableUploadObjectTaskMockRecorder) SetResumeOffset(offset interface{}) *gomock.Call

SetResumeOffset indicates an expected call of SetResumeOffset.

func (*MockResumableUploadObjectTaskMockRecorder) SetRetry added in v0.2.4

func (mr *MockResumableUploadObjectTaskMockRecorder) SetRetry(arg0 interface{}) *gomock.Call

SetRetry indicates an expected call of SetRetry.

func (*MockResumableUploadObjectTaskMockRecorder) SetStorageParams added in v0.2.4

func (mr *MockResumableUploadObjectTaskMockRecorder) SetStorageParams(arg0 interface{}) *gomock.Call

SetStorageParams indicates an expected call of SetStorageParams.

func (*MockResumableUploadObjectTaskMockRecorder) SetTimeout added in v0.2.4

func (mr *MockResumableUploadObjectTaskMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call

SetTimeout indicates an expected call of SetTimeout.

func (*MockResumableUploadObjectTaskMockRecorder) SetUpdateTime added in v0.2.4

func (mr *MockResumableUploadObjectTaskMockRecorder) SetUpdateTime(arg0 interface{}) *gomock.Call

SetUpdateTime indicates an expected call of SetUpdateTime.

func (*MockResumableUploadObjectTaskMockRecorder) SetUserAddress added in v0.2.4

func (mr *MockResumableUploadObjectTaskMockRecorder) SetUserAddress(arg0 interface{}) *gomock.Call

SetUserAddress indicates an expected call of SetUserAddress.

func (*MockResumableUploadObjectTaskMockRecorder) Type added in v0.2.4

Type indicates an expected call of Type.

type MockSealObjectTask added in v0.2.4

type MockSealObjectTask struct {
	// contains filtered or unexported fields
}

MockSealObjectTask is a mock of SealObjectTask interface.

func NewMockSealObjectTask added in v0.2.4

func NewMockSealObjectTask(ctrl *gomock.Controller) *MockSealObjectTask

NewMockSealObjectTask creates a new mock instance.

func (*MockSealObjectTask) AppendLog added in v0.2.4

func (m *MockSealObjectTask) AppendLog(log string)

AppendLog mocks base method.

func (*MockSealObjectTask) EXPECT added in v0.2.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSealObjectTask) Error added in v0.2.4

func (m *MockSealObjectTask) Error() error

Error mocks base method.

func (*MockSealObjectTask) EstimateLimit added in v0.2.4

func (m *MockSealObjectTask) EstimateLimit() rcmgr.Limit

EstimateLimit mocks base method.

func (*MockSealObjectTask) ExceedRetry added in v0.2.4

func (m *MockSealObjectTask) ExceedRetry() bool

ExceedRetry mocks base method.

func (*MockSealObjectTask) ExceedTimeout added in v0.2.4

func (m *MockSealObjectTask) ExceedTimeout() bool

ExceedTimeout mocks base method.

func (*MockSealObjectTask) Expired added in v0.2.4

func (m *MockSealObjectTask) Expired() bool

Expired mocks base method.

func (*MockSealObjectTask) GetAddress added in v0.2.4

func (m *MockSealObjectTask) GetAddress() string

GetAddress mocks base method.

func (*MockSealObjectTask) GetCreateTime added in v0.2.4

func (m *MockSealObjectTask) GetCreateTime() int64

GetCreateTime mocks base method.

func (*MockSealObjectTask) GetGlobalVirtualGroupId added in v0.2.4

func (m *MockSealObjectTask) GetGlobalVirtualGroupId() uint32

GetGlobalVirtualGroupId mocks base method.

func (*MockSealObjectTask) GetLogs added in v0.2.4

func (m *MockSealObjectTask) GetLogs() string

GetLogs mocks base method.

func (*MockSealObjectTask) GetMaxRetry added in v0.2.4

func (m *MockSealObjectTask) GetMaxRetry() int64

GetMaxRetry mocks base method.

func (*MockSealObjectTask) GetObjectInfo added in v0.2.4

func (m *MockSealObjectTask) GetObjectInfo() *types0.ObjectInfo

GetObjectInfo mocks base method.

func (*MockSealObjectTask) GetPriority added in v0.2.4

func (m *MockSealObjectTask) GetPriority() TPriority

GetPriority mocks base method.

func (*MockSealObjectTask) GetRetry added in v0.2.4

func (m *MockSealObjectTask) GetRetry() int64

GetRetry mocks base method.

func (*MockSealObjectTask) GetSecondaryAddresses added in v0.2.4

func (m *MockSealObjectTask) GetSecondaryAddresses() []string

GetSecondaryAddresses mocks base method.

func (*MockSealObjectTask) GetSecondarySignatures added in v0.2.4

func (m *MockSealObjectTask) GetSecondarySignatures() [][]byte

GetSecondarySignatures mocks base method.

func (*MockSealObjectTask) GetStorageParams added in v0.2.4

func (m *MockSealObjectTask) GetStorageParams() *types0.Params

GetStorageParams mocks base method.

func (*MockSealObjectTask) GetTimeout added in v0.2.4

func (m *MockSealObjectTask) GetTimeout() int64

GetTimeout mocks base method.

func (*MockSealObjectTask) GetUpdateTime added in v0.2.4

func (m *MockSealObjectTask) GetUpdateTime() int64

GetUpdateTime mocks base method.

func (*MockSealObjectTask) GetUserAddress added in v0.2.4

func (m *MockSealObjectTask) GetUserAddress() string

GetUserAddress mocks base method.

func (*MockSealObjectTask) IncRetry added in v0.2.4

func (m *MockSealObjectTask) IncRetry()

IncRetry mocks base method.

func (*MockSealObjectTask) Info added in v0.2.4

func (m *MockSealObjectTask) Info() string

Info mocks base method.

func (*MockSealObjectTask) InitSealObjectTask added in v0.2.4

func (m *MockSealObjectTask) InitSealObjectTask(vgfID uint32, object *types0.ObjectInfo, params *types0.Params, priority TPriority, addresses []string, signatures [][]byte, timeout, retry int64)

InitSealObjectTask mocks base method.

func (*MockSealObjectTask) Key added in v0.2.4

func (m *MockSealObjectTask) Key() TKey

Key mocks base method.

func (*MockSealObjectTask) SetAddress added in v0.2.4

func (m *MockSealObjectTask) SetAddress(arg0 string)

SetAddress mocks base method.

func (*MockSealObjectTask) SetCreateTime added in v0.2.4

func (m *MockSealObjectTask) SetCreateTime(arg0 int64)

SetCreateTime mocks base method.

func (*MockSealObjectTask) SetError added in v0.2.4

func (m *MockSealObjectTask) SetError(arg0 error)

SetError mocks base method.

func (*MockSealObjectTask) SetLogs added in v0.2.4

func (m *MockSealObjectTask) SetLogs(logs string)

SetLogs mocks base method.

func (*MockSealObjectTask) SetMaxRetry added in v0.2.4

func (m *MockSealObjectTask) SetMaxRetry(arg0 int64)

SetMaxRetry mocks base method.

func (*MockSealObjectTask) SetObjectInfo added in v0.2.4

func (m *MockSealObjectTask) SetObjectInfo(arg0 *types0.ObjectInfo)

SetObjectInfo mocks base method.

func (*MockSealObjectTask) SetPriority added in v0.2.4

func (m *MockSealObjectTask) SetPriority(arg0 TPriority)

SetPriority mocks base method.

func (*MockSealObjectTask) SetRetry added in v0.2.4

func (m *MockSealObjectTask) SetRetry(arg0 int64)

SetRetry mocks base method.

func (*MockSealObjectTask) SetStorageParams added in v0.2.4

func (m *MockSealObjectTask) SetStorageParams(arg0 *types0.Params)

SetStorageParams mocks base method.

func (*MockSealObjectTask) SetTimeout added in v0.2.4

func (m *MockSealObjectTask) SetTimeout(arg0 int64)

SetTimeout mocks base method.

func (*MockSealObjectTask) SetUpdateTime added in v0.2.4

func (m *MockSealObjectTask) SetUpdateTime(arg0 int64)

SetUpdateTime mocks base method.

func (*MockSealObjectTask) SetUserAddress added in v0.2.4

func (m *MockSealObjectTask) SetUserAddress(arg0 string)

SetUserAddress mocks base method.

func (*MockSealObjectTask) Type added in v0.2.4

func (m *MockSealObjectTask) Type() TType

Type mocks base method.

type MockSealObjectTaskMockRecorder added in v0.2.4

type MockSealObjectTaskMockRecorder struct {
	// contains filtered or unexported fields
}

MockSealObjectTaskMockRecorder is the mock recorder for MockSealObjectTask.

func (*MockSealObjectTaskMockRecorder) AppendLog added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) AppendLog(log interface{}) *gomock.Call

AppendLog indicates an expected call of AppendLog.

func (*MockSealObjectTaskMockRecorder) Error added in v0.2.4

Error indicates an expected call of Error.

func (*MockSealObjectTaskMockRecorder) EstimateLimit added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) EstimateLimit() *gomock.Call

EstimateLimit indicates an expected call of EstimateLimit.

func (*MockSealObjectTaskMockRecorder) ExceedRetry added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) ExceedRetry() *gomock.Call

ExceedRetry indicates an expected call of ExceedRetry.

func (*MockSealObjectTaskMockRecorder) ExceedTimeout added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) ExceedTimeout() *gomock.Call

ExceedTimeout indicates an expected call of ExceedTimeout.

func (*MockSealObjectTaskMockRecorder) Expired added in v0.2.4

Expired indicates an expected call of Expired.

func (*MockSealObjectTaskMockRecorder) GetAddress added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) GetAddress() *gomock.Call

GetAddress indicates an expected call of GetAddress.

func (*MockSealObjectTaskMockRecorder) GetCreateTime added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) GetCreateTime() *gomock.Call

GetCreateTime indicates an expected call of GetCreateTime.

func (*MockSealObjectTaskMockRecorder) GetGlobalVirtualGroupId added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) GetGlobalVirtualGroupId() *gomock.Call

GetGlobalVirtualGroupId indicates an expected call of GetGlobalVirtualGroupId.

func (*MockSealObjectTaskMockRecorder) GetLogs added in v0.2.4

GetLogs indicates an expected call of GetLogs.

func (*MockSealObjectTaskMockRecorder) GetMaxRetry added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) GetMaxRetry() *gomock.Call

GetMaxRetry indicates an expected call of GetMaxRetry.

func (*MockSealObjectTaskMockRecorder) GetObjectInfo added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) GetObjectInfo() *gomock.Call

GetObjectInfo indicates an expected call of GetObjectInfo.

func (*MockSealObjectTaskMockRecorder) GetPriority added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) GetPriority() *gomock.Call

GetPriority indicates an expected call of GetPriority.

func (*MockSealObjectTaskMockRecorder) GetRetry added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) GetRetry() *gomock.Call

GetRetry indicates an expected call of GetRetry.

func (*MockSealObjectTaskMockRecorder) GetSecondaryAddresses added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) GetSecondaryAddresses() *gomock.Call

GetSecondaryAddresses indicates an expected call of GetSecondaryAddresses.

func (*MockSealObjectTaskMockRecorder) GetSecondarySignatures added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) GetSecondarySignatures() *gomock.Call

GetSecondarySignatures indicates an expected call of GetSecondarySignatures.

func (*MockSealObjectTaskMockRecorder) GetStorageParams added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) GetStorageParams() *gomock.Call

GetStorageParams indicates an expected call of GetStorageParams.

func (*MockSealObjectTaskMockRecorder) GetTimeout added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) GetTimeout() *gomock.Call

GetTimeout indicates an expected call of GetTimeout.

func (*MockSealObjectTaskMockRecorder) GetUpdateTime added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) GetUpdateTime() *gomock.Call

GetUpdateTime indicates an expected call of GetUpdateTime.

func (*MockSealObjectTaskMockRecorder) GetUserAddress added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) GetUserAddress() *gomock.Call

GetUserAddress indicates an expected call of GetUserAddress.

func (*MockSealObjectTaskMockRecorder) IncRetry added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) IncRetry() *gomock.Call

IncRetry indicates an expected call of IncRetry.

func (*MockSealObjectTaskMockRecorder) Info added in v0.2.4

Info indicates an expected call of Info.

func (*MockSealObjectTaskMockRecorder) InitSealObjectTask added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) InitSealObjectTask(vgfID, object, params, priority, addresses, signatures, timeout, retry interface{}) *gomock.Call

InitSealObjectTask indicates an expected call of InitSealObjectTask.

func (*MockSealObjectTaskMockRecorder) Key added in v0.2.4

Key indicates an expected call of Key.

func (*MockSealObjectTaskMockRecorder) SetAddress added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) SetAddress(arg0 interface{}) *gomock.Call

SetAddress indicates an expected call of SetAddress.

func (*MockSealObjectTaskMockRecorder) SetCreateTime added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) SetCreateTime(arg0 interface{}) *gomock.Call

SetCreateTime indicates an expected call of SetCreateTime.

func (*MockSealObjectTaskMockRecorder) SetError added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) SetError(arg0 interface{}) *gomock.Call

SetError indicates an expected call of SetError.

func (*MockSealObjectTaskMockRecorder) SetLogs added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) SetLogs(logs interface{}) *gomock.Call

SetLogs indicates an expected call of SetLogs.

func (*MockSealObjectTaskMockRecorder) SetMaxRetry added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) SetMaxRetry(arg0 interface{}) *gomock.Call

SetMaxRetry indicates an expected call of SetMaxRetry.

func (*MockSealObjectTaskMockRecorder) SetObjectInfo added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) SetObjectInfo(arg0 interface{}) *gomock.Call

SetObjectInfo indicates an expected call of SetObjectInfo.

func (*MockSealObjectTaskMockRecorder) SetPriority added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) SetPriority(arg0 interface{}) *gomock.Call

SetPriority indicates an expected call of SetPriority.

func (*MockSealObjectTaskMockRecorder) SetRetry added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) SetRetry(arg0 interface{}) *gomock.Call

SetRetry indicates an expected call of SetRetry.

func (*MockSealObjectTaskMockRecorder) SetStorageParams added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) SetStorageParams(arg0 interface{}) *gomock.Call

SetStorageParams indicates an expected call of SetStorageParams.

func (*MockSealObjectTaskMockRecorder) SetTimeout added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call

SetTimeout indicates an expected call of SetTimeout.

func (*MockSealObjectTaskMockRecorder) SetUpdateTime added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) SetUpdateTime(arg0 interface{}) *gomock.Call

SetUpdateTime indicates an expected call of SetUpdateTime.

func (*MockSealObjectTaskMockRecorder) SetUserAddress added in v0.2.4

func (mr *MockSealObjectTaskMockRecorder) SetUserAddress(arg0 interface{}) *gomock.Call

SetUserAddress indicates an expected call of SetUserAddress.

func (*MockSealObjectTaskMockRecorder) Type added in v0.2.4

Type indicates an expected call of Type.

type MockTask added in v0.2.4

type MockTask struct {
	// contains filtered or unexported fields
}

MockTask is a mock of Task interface.

func NewMockTask added in v0.2.4

func NewMockTask(ctrl *gomock.Controller) *MockTask

NewMockTask creates a new mock instance.

func (*MockTask) AppendLog added in v0.2.4

func (m *MockTask) AppendLog(log string)

AppendLog mocks base method.

func (*MockTask) EXPECT added in v0.2.4

func (m *MockTask) EXPECT() *MockTaskMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTask) Error added in v0.2.4

func (m *MockTask) Error() error

Error mocks base method.

func (*MockTask) EstimateLimit added in v0.2.4

func (m *MockTask) EstimateLimit() rcmgr.Limit

EstimateLimit mocks base method.

func (*MockTask) ExceedRetry added in v0.2.4

func (m *MockTask) ExceedRetry() bool

ExceedRetry mocks base method.

func (*MockTask) ExceedTimeout added in v0.2.4

func (m *MockTask) ExceedTimeout() bool

ExceedTimeout mocks base method.

func (*MockTask) Expired added in v0.2.4

func (m *MockTask) Expired() bool

Expired mocks base method.

func (*MockTask) GetAddress added in v0.2.4

func (m *MockTask) GetAddress() string

GetAddress mocks base method.

func (*MockTask) GetCreateTime added in v0.2.4

func (m *MockTask) GetCreateTime() int64

GetCreateTime mocks base method.

func (*MockTask) GetLogs added in v0.2.4

func (m *MockTask) GetLogs() string

GetLogs mocks base method.

func (*MockTask) GetMaxRetry added in v0.2.4

func (m *MockTask) GetMaxRetry() int64

GetMaxRetry mocks base method.

func (*MockTask) GetPriority added in v0.2.4

func (m *MockTask) GetPriority() TPriority

GetPriority mocks base method.

func (*MockTask) GetRetry added in v0.2.4

func (m *MockTask) GetRetry() int64

GetRetry mocks base method.

func (*MockTask) GetTimeout added in v0.2.4

func (m *MockTask) GetTimeout() int64

GetTimeout mocks base method.

func (*MockTask) GetUpdateTime added in v0.2.4

func (m *MockTask) GetUpdateTime() int64

GetUpdateTime mocks base method.

func (*MockTask) GetUserAddress added in v0.2.4

func (m *MockTask) GetUserAddress() string

GetUserAddress mocks base method.

func (*MockTask) IncRetry added in v0.2.4

func (m *MockTask) IncRetry()

IncRetry mocks base method.

func (*MockTask) Info added in v0.2.4

func (m *MockTask) Info() string

Info mocks base method.

func (*MockTask) Key added in v0.2.4

func (m *MockTask) Key() TKey

Key mocks base method.

func (*MockTask) SetAddress added in v0.2.4

func (m *MockTask) SetAddress(arg0 string)

SetAddress mocks base method.

func (*MockTask) SetCreateTime added in v0.2.4

func (m *MockTask) SetCreateTime(arg0 int64)

SetCreateTime mocks base method.

func (*MockTask) SetError added in v0.2.4

func (m *MockTask) SetError(arg0 error)

SetError mocks base method.

func (*MockTask) SetLogs added in v0.2.4

func (m *MockTask) SetLogs(logs string)

SetLogs mocks base method.

func (*MockTask) SetMaxRetry added in v0.2.4

func (m *MockTask) SetMaxRetry(arg0 int64)

SetMaxRetry mocks base method.

func (*MockTask) SetPriority added in v0.2.4

func (m *MockTask) SetPriority(arg0 TPriority)

SetPriority mocks base method.

func (*MockTask) SetRetry added in v0.2.4

func (m *MockTask) SetRetry(arg0 int64)

SetRetry mocks base method.

func (*MockTask) SetTimeout added in v0.2.4

func (m *MockTask) SetTimeout(arg0 int64)

SetTimeout mocks base method.

func (*MockTask) SetUpdateTime added in v0.2.4

func (m *MockTask) SetUpdateTime(arg0 int64)

SetUpdateTime mocks base method.

func (*MockTask) SetUserAddress added in v0.2.4

func (m *MockTask) SetUserAddress(arg0 string)

SetUserAddress mocks base method.

func (*MockTask) Type added in v0.2.4

func (m *MockTask) Type() TType

Type mocks base method.

type MockTaskMockRecorder added in v0.2.4

type MockTaskMockRecorder struct {
	// contains filtered or unexported fields
}

MockTaskMockRecorder is the mock recorder for MockTask.

func (*MockTaskMockRecorder) AppendLog added in v0.2.4

func (mr *MockTaskMockRecorder) AppendLog(log interface{}) *gomock.Call

AppendLog indicates an expected call of AppendLog.

func (*MockTaskMockRecorder) Error added in v0.2.4

func (mr *MockTaskMockRecorder) Error() *gomock.Call

Error indicates an expected call of Error.

func (*MockTaskMockRecorder) EstimateLimit added in v0.2.4

func (mr *MockTaskMockRecorder) EstimateLimit() *gomock.Call

EstimateLimit indicates an expected call of EstimateLimit.

func (*MockTaskMockRecorder) ExceedRetry added in v0.2.4

func (mr *MockTaskMockRecorder) ExceedRetry() *gomock.Call

ExceedRetry indicates an expected call of ExceedRetry.

func (*MockTaskMockRecorder) ExceedTimeout added in v0.2.4

func (mr *MockTaskMockRecorder) ExceedTimeout() *gomock.Call

ExceedTimeout indicates an expected call of ExceedTimeout.

func (*MockTaskMockRecorder) Expired added in v0.2.4

func (mr *MockTaskMockRecorder) Expired() *gomock.Call

Expired indicates an expected call of Expired.

func (*MockTaskMockRecorder) GetAddress added in v0.2.4

func (mr *MockTaskMockRecorder) GetAddress() *gomock.Call

GetAddress indicates an expected call of GetAddress.

func (*MockTaskMockRecorder) GetCreateTime added in v0.2.4

func (mr *MockTaskMockRecorder) GetCreateTime() *gomock.Call

GetCreateTime indicates an expected call of GetCreateTime.

func (*MockTaskMockRecorder) GetLogs added in v0.2.4

func (mr *MockTaskMockRecorder) GetLogs() *gomock.Call

GetLogs indicates an expected call of GetLogs.

func (*MockTaskMockRecorder) GetMaxRetry added in v0.2.4

func (mr *MockTaskMockRecorder) GetMaxRetry() *gomock.Call

GetMaxRetry indicates an expected call of GetMaxRetry.

func (*MockTaskMockRecorder) GetPriority added in v0.2.4

func (mr *MockTaskMockRecorder) GetPriority() *gomock.Call

GetPriority indicates an expected call of GetPriority.

func (*MockTaskMockRecorder) GetRetry added in v0.2.4

func (mr *MockTaskMockRecorder) GetRetry() *gomock.Call

GetRetry indicates an expected call of GetRetry.

func (*MockTaskMockRecorder) GetTimeout added in v0.2.4

func (mr *MockTaskMockRecorder) GetTimeout() *gomock.Call

GetTimeout indicates an expected call of GetTimeout.

func (*MockTaskMockRecorder) GetUpdateTime added in v0.2.4

func (mr *MockTaskMockRecorder) GetUpdateTime() *gomock.Call

GetUpdateTime indicates an expected call of GetUpdateTime.

func (*MockTaskMockRecorder) GetUserAddress added in v0.2.4

func (mr *MockTaskMockRecorder) GetUserAddress() *gomock.Call

GetUserAddress indicates an expected call of GetUserAddress.

func (*MockTaskMockRecorder) IncRetry added in v0.2.4

func (mr *MockTaskMockRecorder) IncRetry() *gomock.Call

IncRetry indicates an expected call of IncRetry.

func (*MockTaskMockRecorder) Info added in v0.2.4

func (mr *MockTaskMockRecorder) Info() *gomock.Call

Info indicates an expected call of Info.

func (*MockTaskMockRecorder) Key added in v0.2.4

func (mr *MockTaskMockRecorder) Key() *gomock.Call

Key indicates an expected call of Key.

func (*MockTaskMockRecorder) SetAddress added in v0.2.4

func (mr *MockTaskMockRecorder) SetAddress(arg0 interface{}) *gomock.Call

SetAddress indicates an expected call of SetAddress.

func (*MockTaskMockRecorder) SetCreateTime added in v0.2.4

func (mr *MockTaskMockRecorder) SetCreateTime(arg0 interface{}) *gomock.Call

SetCreateTime indicates an expected call of SetCreateTime.

func (*MockTaskMockRecorder) SetError added in v0.2.4

func (mr *MockTaskMockRecorder) SetError(arg0 interface{}) *gomock.Call

SetError indicates an expected call of SetError.

func (*MockTaskMockRecorder) SetLogs added in v0.2.4

func (mr *MockTaskMockRecorder) SetLogs(logs interface{}) *gomock.Call

SetLogs indicates an expected call of SetLogs.

func (*MockTaskMockRecorder) SetMaxRetry added in v0.2.4

func (mr *MockTaskMockRecorder) SetMaxRetry(arg0 interface{}) *gomock.Call

SetMaxRetry indicates an expected call of SetMaxRetry.

func (*MockTaskMockRecorder) SetPriority added in v0.2.4

func (mr *MockTaskMockRecorder) SetPriority(arg0 interface{}) *gomock.Call

SetPriority indicates an expected call of SetPriority.

func (*MockTaskMockRecorder) SetRetry added in v0.2.4

func (mr *MockTaskMockRecorder) SetRetry(arg0 interface{}) *gomock.Call

SetRetry indicates an expected call of SetRetry.

func (*MockTaskMockRecorder) SetTimeout added in v0.2.4

func (mr *MockTaskMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call

SetTimeout indicates an expected call of SetTimeout.

func (*MockTaskMockRecorder) SetUpdateTime added in v0.2.4

func (mr *MockTaskMockRecorder) SetUpdateTime(arg0 interface{}) *gomock.Call

SetUpdateTime indicates an expected call of SetUpdateTime.

func (*MockTaskMockRecorder) SetUserAddress added in v0.2.4

func (mr *MockTaskMockRecorder) SetUserAddress(arg0 interface{}) *gomock.Call

SetUserAddress indicates an expected call of SetUserAddress.

func (*MockTaskMockRecorder) Type added in v0.2.4

func (mr *MockTaskMockRecorder) Type() *gomock.Call

Type indicates an expected call of Type.

type MockUploadObjectTask added in v0.2.4

type MockUploadObjectTask struct {
	// contains filtered or unexported fields
}

MockUploadObjectTask is a mock of UploadObjectTask interface.

func NewMockUploadObjectTask added in v0.2.4

func NewMockUploadObjectTask(ctrl *gomock.Controller) *MockUploadObjectTask

NewMockUploadObjectTask creates a new mock instance.

func (*MockUploadObjectTask) AppendLog added in v0.2.4

func (m *MockUploadObjectTask) AppendLog(log string)

AppendLog mocks base method.

func (*MockUploadObjectTask) EXPECT added in v0.2.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockUploadObjectTask) Error added in v0.2.4

func (m *MockUploadObjectTask) Error() error

Error mocks base method.

func (*MockUploadObjectTask) EstimateLimit added in v0.2.4

func (m *MockUploadObjectTask) EstimateLimit() rcmgr.Limit

EstimateLimit mocks base method.

func (*MockUploadObjectTask) ExceedRetry added in v0.2.4

func (m *MockUploadObjectTask) ExceedRetry() bool

ExceedRetry mocks base method.

func (*MockUploadObjectTask) ExceedTimeout added in v0.2.4

func (m *MockUploadObjectTask) ExceedTimeout() bool

ExceedTimeout mocks base method.

func (*MockUploadObjectTask) Expired added in v0.2.4

func (m *MockUploadObjectTask) Expired() bool

Expired mocks base method.

func (*MockUploadObjectTask) GetAddress added in v0.2.4

func (m *MockUploadObjectTask) GetAddress() string

GetAddress mocks base method.

func (*MockUploadObjectTask) GetCreateTime added in v0.2.4

func (m *MockUploadObjectTask) GetCreateTime() int64

GetCreateTime mocks base method.

func (*MockUploadObjectTask) GetLogs added in v0.2.4

func (m *MockUploadObjectTask) GetLogs() string

GetLogs mocks base method.

func (*MockUploadObjectTask) GetMaxRetry added in v0.2.4

func (m *MockUploadObjectTask) GetMaxRetry() int64

GetMaxRetry mocks base method.

func (*MockUploadObjectTask) GetObjectInfo added in v0.2.4

func (m *MockUploadObjectTask) GetObjectInfo() *types0.ObjectInfo

GetObjectInfo mocks base method.

func (*MockUploadObjectTask) GetPriority added in v0.2.4

func (m *MockUploadObjectTask) GetPriority() TPriority

GetPriority mocks base method.

func (*MockUploadObjectTask) GetRetry added in v0.2.4

func (m *MockUploadObjectTask) GetRetry() int64

GetRetry mocks base method.

func (*MockUploadObjectTask) GetStorageParams added in v0.2.4

func (m *MockUploadObjectTask) GetStorageParams() *types0.Params

GetStorageParams mocks base method.

func (*MockUploadObjectTask) GetTimeout added in v0.2.4

func (m *MockUploadObjectTask) GetTimeout() int64

GetTimeout mocks base method.

func (*MockUploadObjectTask) GetUpdateTime added in v0.2.4

func (m *MockUploadObjectTask) GetUpdateTime() int64

GetUpdateTime mocks base method.

func (*MockUploadObjectTask) GetUserAddress added in v0.2.4

func (m *MockUploadObjectTask) GetUserAddress() string

GetUserAddress mocks base method.

func (*MockUploadObjectTask) GetVirtualGroupFamilyId added in v0.2.4

func (m *MockUploadObjectTask) GetVirtualGroupFamilyId() uint32

GetVirtualGroupFamilyId mocks base method.

func (*MockUploadObjectTask) IncRetry added in v0.2.4

func (m *MockUploadObjectTask) IncRetry()

IncRetry mocks base method.

func (*MockUploadObjectTask) Info added in v0.2.4

func (m *MockUploadObjectTask) Info() string

Info mocks base method.

func (*MockUploadObjectTask) InitUploadObjectTask added in v0.2.4

func (m *MockUploadObjectTask) InitUploadObjectTask(vgfID uint32, object *types0.ObjectInfo, params *types0.Params, timeout int64)

InitUploadObjectTask mocks base method.

func (*MockUploadObjectTask) Key added in v0.2.4

func (m *MockUploadObjectTask) Key() TKey

Key mocks base method.

func (*MockUploadObjectTask) SetAddress added in v0.2.4

func (m *MockUploadObjectTask) SetAddress(arg0 string)

SetAddress mocks base method.

func (*MockUploadObjectTask) SetCreateTime added in v0.2.4

func (m *MockUploadObjectTask) SetCreateTime(arg0 int64)

SetCreateTime mocks base method.

func (*MockUploadObjectTask) SetError added in v0.2.4

func (m *MockUploadObjectTask) SetError(arg0 error)

SetError mocks base method.

func (*MockUploadObjectTask) SetLogs added in v0.2.4

func (m *MockUploadObjectTask) SetLogs(logs string)

SetLogs mocks base method.

func (*MockUploadObjectTask) SetMaxRetry added in v0.2.4

func (m *MockUploadObjectTask) SetMaxRetry(arg0 int64)

SetMaxRetry mocks base method.

func (*MockUploadObjectTask) SetObjectInfo added in v0.2.4

func (m *MockUploadObjectTask) SetObjectInfo(arg0 *types0.ObjectInfo)

SetObjectInfo mocks base method.

func (*MockUploadObjectTask) SetPriority added in v0.2.4

func (m *MockUploadObjectTask) SetPriority(arg0 TPriority)

SetPriority mocks base method.

func (*MockUploadObjectTask) SetRetry added in v0.2.4

func (m *MockUploadObjectTask) SetRetry(arg0 int64)

SetRetry mocks base method.

func (*MockUploadObjectTask) SetStorageParams added in v0.2.4

func (m *MockUploadObjectTask) SetStorageParams(arg0 *types0.Params)

SetStorageParams mocks base method.

func (*MockUploadObjectTask) SetTimeout added in v0.2.4

func (m *MockUploadObjectTask) SetTimeout(arg0 int64)

SetTimeout mocks base method.

func (*MockUploadObjectTask) SetUpdateTime added in v0.2.4

func (m *MockUploadObjectTask) SetUpdateTime(arg0 int64)

SetUpdateTime mocks base method.

func (*MockUploadObjectTask) SetUserAddress added in v0.2.4

func (m *MockUploadObjectTask) SetUserAddress(arg0 string)

SetUserAddress mocks base method.

func (*MockUploadObjectTask) Type added in v0.2.4

func (m *MockUploadObjectTask) Type() TType

Type mocks base method.

type MockUploadObjectTaskMockRecorder added in v0.2.4

type MockUploadObjectTaskMockRecorder struct {
	// contains filtered or unexported fields
}

MockUploadObjectTaskMockRecorder is the mock recorder for MockUploadObjectTask.

func (*MockUploadObjectTaskMockRecorder) AppendLog added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) AppendLog(log interface{}) *gomock.Call

AppendLog indicates an expected call of AppendLog.

func (*MockUploadObjectTaskMockRecorder) Error added in v0.2.4

Error indicates an expected call of Error.

func (*MockUploadObjectTaskMockRecorder) EstimateLimit added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) EstimateLimit() *gomock.Call

EstimateLimit indicates an expected call of EstimateLimit.

func (*MockUploadObjectTaskMockRecorder) ExceedRetry added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) ExceedRetry() *gomock.Call

ExceedRetry indicates an expected call of ExceedRetry.

func (*MockUploadObjectTaskMockRecorder) ExceedTimeout added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) ExceedTimeout() *gomock.Call

ExceedTimeout indicates an expected call of ExceedTimeout.

func (*MockUploadObjectTaskMockRecorder) Expired added in v0.2.4

Expired indicates an expected call of Expired.

func (*MockUploadObjectTaskMockRecorder) GetAddress added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) GetAddress() *gomock.Call

GetAddress indicates an expected call of GetAddress.

func (*MockUploadObjectTaskMockRecorder) GetCreateTime added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) GetCreateTime() *gomock.Call

GetCreateTime indicates an expected call of GetCreateTime.

func (*MockUploadObjectTaskMockRecorder) GetLogs added in v0.2.4

GetLogs indicates an expected call of GetLogs.

func (*MockUploadObjectTaskMockRecorder) GetMaxRetry added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) GetMaxRetry() *gomock.Call

GetMaxRetry indicates an expected call of GetMaxRetry.

func (*MockUploadObjectTaskMockRecorder) GetObjectInfo added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) GetObjectInfo() *gomock.Call

GetObjectInfo indicates an expected call of GetObjectInfo.

func (*MockUploadObjectTaskMockRecorder) GetPriority added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) GetPriority() *gomock.Call

GetPriority indicates an expected call of GetPriority.

func (*MockUploadObjectTaskMockRecorder) GetRetry added in v0.2.4

GetRetry indicates an expected call of GetRetry.

func (*MockUploadObjectTaskMockRecorder) GetStorageParams added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) GetStorageParams() *gomock.Call

GetStorageParams indicates an expected call of GetStorageParams.

func (*MockUploadObjectTaskMockRecorder) GetTimeout added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) GetTimeout() *gomock.Call

GetTimeout indicates an expected call of GetTimeout.

func (*MockUploadObjectTaskMockRecorder) GetUpdateTime added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) GetUpdateTime() *gomock.Call

GetUpdateTime indicates an expected call of GetUpdateTime.

func (*MockUploadObjectTaskMockRecorder) GetUserAddress added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) GetUserAddress() *gomock.Call

GetUserAddress indicates an expected call of GetUserAddress.

func (*MockUploadObjectTaskMockRecorder) GetVirtualGroupFamilyId added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) GetVirtualGroupFamilyId() *gomock.Call

GetVirtualGroupFamilyId indicates an expected call of GetVirtualGroupFamilyId.

func (*MockUploadObjectTaskMockRecorder) IncRetry added in v0.2.4

IncRetry indicates an expected call of IncRetry.

func (*MockUploadObjectTaskMockRecorder) Info added in v0.2.4

Info indicates an expected call of Info.

func (*MockUploadObjectTaskMockRecorder) InitUploadObjectTask added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) InitUploadObjectTask(vgfID, object, params, timeout interface{}) *gomock.Call

InitUploadObjectTask indicates an expected call of InitUploadObjectTask.

func (*MockUploadObjectTaskMockRecorder) Key added in v0.2.4

Key indicates an expected call of Key.

func (*MockUploadObjectTaskMockRecorder) SetAddress added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) SetAddress(arg0 interface{}) *gomock.Call

SetAddress indicates an expected call of SetAddress.

func (*MockUploadObjectTaskMockRecorder) SetCreateTime added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) SetCreateTime(arg0 interface{}) *gomock.Call

SetCreateTime indicates an expected call of SetCreateTime.

func (*MockUploadObjectTaskMockRecorder) SetError added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) SetError(arg0 interface{}) *gomock.Call

SetError indicates an expected call of SetError.

func (*MockUploadObjectTaskMockRecorder) SetLogs added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) SetLogs(logs interface{}) *gomock.Call

SetLogs indicates an expected call of SetLogs.

func (*MockUploadObjectTaskMockRecorder) SetMaxRetry added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) SetMaxRetry(arg0 interface{}) *gomock.Call

SetMaxRetry indicates an expected call of SetMaxRetry.

func (*MockUploadObjectTaskMockRecorder) SetObjectInfo added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) SetObjectInfo(arg0 interface{}) *gomock.Call

SetObjectInfo indicates an expected call of SetObjectInfo.

func (*MockUploadObjectTaskMockRecorder) SetPriority added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) SetPriority(arg0 interface{}) *gomock.Call

SetPriority indicates an expected call of SetPriority.

func (*MockUploadObjectTaskMockRecorder) SetRetry added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) SetRetry(arg0 interface{}) *gomock.Call

SetRetry indicates an expected call of SetRetry.

func (*MockUploadObjectTaskMockRecorder) SetStorageParams added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) SetStorageParams(arg0 interface{}) *gomock.Call

SetStorageParams indicates an expected call of SetStorageParams.

func (*MockUploadObjectTaskMockRecorder) SetTimeout added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call

SetTimeout indicates an expected call of SetTimeout.

func (*MockUploadObjectTaskMockRecorder) SetUpdateTime added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) SetUpdateTime(arg0 interface{}) *gomock.Call

SetUpdateTime indicates an expected call of SetUpdateTime.

func (*MockUploadObjectTaskMockRecorder) SetUserAddress added in v0.2.4

func (mr *MockUploadObjectTaskMockRecorder) SetUserAddress(arg0 interface{}) *gomock.Call

SetUserAddress indicates an expected call of SetUserAddress.

func (*MockUploadObjectTaskMockRecorder) Type added in v0.2.4

Type indicates an expected call of Type.

type NullTask

type NullTask struct{}

func (NullTask) AppendLog added in v0.2.3

func (NullTask) AppendLog(log string)

func (*NullTask) Error

func (*NullTask) Error() error

func (*NullTask) EstimateLimit

func (*NullTask) EstimateLimit() rcmgr.Limit

func (*NullTask) ExceedRetry

func (*NullTask) ExceedRetry() bool

func (*NullTask) ExceedTimeout

func (*NullTask) ExceedTimeout() bool

func (*NullTask) Expired

func (*NullTask) Expired() bool

func (*NullTask) GetAddress

func (*NullTask) GetAddress() string

func (*NullTask) GetApprovedSignature

func (*NullTask) GetApprovedSignature() []byte

func (*NullTask) GetApprovedSpApprovalAddress

func (*NullTask) GetApprovedSpApprovalAddress() string

func (*NullTask) GetApprovedSpEndpoint

func (*NullTask) GetApprovedSpEndpoint() string

func (*NullTask) GetApprovedSpOperatorAddress

func (*NullTask) GetApprovedSpOperatorAddress() string

func (*NullTask) GetAskSignature

func (*NullTask) GetAskSignature() []byte

func (*NullTask) GetAskSpOperatorAddress

func (*NullTask) GetAskSpOperatorAddress() string

func (*NullTask) GetBucketID added in v0.2.3

func (*NullTask) GetBucketID() uint64

func (*NullTask) GetBucketInfo

func (*NullTask) GetBucketInfo() *storagetypes.BucketInfo

func (*NullTask) GetBucketMigration added in v0.2.3

func (*NullTask) GetBucketMigration() bool

func (*NullTask) GetCreateBucketInfo

func (*NullTask) GetCreateBucketInfo() *storagetypes.MsgCreateBucket

func (*NullTask) GetCreateObjectInfo

func (*NullTask) GetCreateObjectInfo() *storagetypes.MsgCreateObject

func (*NullTask) GetCreateTime

func (*NullTask) GetCreateTime() int64

func (*NullTask) GetCurrentBlockNumber added in v1.2.0

func (*NullTask) GetCurrentBlockNumber() uint64

func (*NullTask) GetDestGvg added in v0.2.3

func (*NullTask) GetDestSp added in v0.2.3

func (*NullTask) GetDestSp() *sptypes.StorageProvider

func (*NullTask) GetEcIdx added in v0.2.3

func (*NullTask) GetEcIdx() int32

func (*NullTask) GetEndBlockNumber added in v1.2.0

func (*NullTask) GetEndBlockNumber() uint64

func (*NullTask) GetEndObjectId added in v1.2.0

func (*NullTask) GetEndObjectId() uint64

func (*NullTask) GetExpiredHeight

func (*NullTask) GetExpiredHeight() uint64

func (*NullTask) GetFinished added in v0.2.3

func (*NullTask) GetFinished() bool

func (*NullTask) GetGCMetaStatus

func (*NullTask) GetGCMetaStatus() (uint64, uint64)

func (*NullTask) GetGCObjectProgress added in v1.2.0

func (*NullTask) GetGCObjectProgress() (uint64, uint64)

func (*NullTask) GetGlobalVirtualGroupId added in v0.2.3

func (*NullTask) GetGlobalVirtualGroupId() uint32

func (*NullTask) GetHigh

func (*NullTask) GetHigh() int64

func (*NullTask) GetIntegrityHash

func (*NullTask) GetIntegrityHash() []byte

func (*NullTask) GetLastDeletedObjectId added in v1.2.0

func (*NullTask) GetLastDeletedObjectId() uint64

func (*NullTask) GetLastMigratedObjectID added in v0.2.3

func (*NullTask) GetLastMigratedObjectID() uint64

func (NullTask) GetLogs added in v0.2.3

func (NullTask) GetLogs() string

func (*NullTask) GetLow

func (*NullTask) GetLow() int64

func (*NullTask) GetMaxRetry

func (*NullTask) GetMaxRetry() int64

func (*NullTask) GetMigratedBytesSize added in v1.1.0

func (*NullTask) GetMigratedBytesSize() uint64

func (*NullTask) GetNotAvailableSpIdx added in v0.2.4

func (*NullTask) GetNotAvailableSpIdx() int32

func (*NullTask) GetObjectInfo

func (*NullTask) GetObjectInfo() *storagetypes.ObjectInfo

func (*NullTask) GetPieceChecksum

func (*NullTask) GetPieceChecksum() []byte

func (*NullTask) GetPieceDataSize

func (*NullTask) GetPieceDataSize() int64

func (*NullTask) GetPieceHash

func (*NullTask) GetPieceHash() [][]byte

func (*NullTask) GetPieceIdx

func (*NullTask) GetPieceIdx() int32

func (*NullTask) GetPieceSize

func (*NullTask) GetPieceSize() int64

func (*NullTask) GetPriority

func (*NullTask) GetPriority() TPriority

func (*NullTask) GetRecovered added in v0.2.3

func (*NullTask) GetRecovered() bool

func (*NullTask) GetRedundancyIdx

func (*NullTask) GetRedundancyIdx() int32

func (*NullTask) GetReplicateIdx

func (*NullTask) GetReplicateIdx() uint32

func (*NullTask) GetRetry

func (*NullTask) GetRetry() int64

func (*NullTask) GetSealed

func (*NullTask) GetSealed() bool

func (*NullTask) GetSecondaryAddresses

func (*NullTask) GetSecondaryAddresses() []string

func (*NullTask) GetSecondaryEndpoints added in v0.2.3

func (*NullTask) GetSecondaryEndpoints() []string

func (*NullTask) GetSecondarySignatures

func (*NullTask) GetSecondarySignatures() [][]byte

func (*NullTask) GetSegmentIdx

func (*NullTask) GetSegmentIdx() uint32

func (*NullTask) GetSignBytes

func (*NullTask) GetSignBytes() []byte

func (*NullTask) GetSignature

func (*NullTask) GetSignature() []byte

func (*NullTask) GetSize

func (*NullTask) GetSize() int64

func (*NullTask) GetSrcGvg added in v0.2.3

func (*NullTask) GetSrcSp added in v0.2.3

func (*NullTask) GetSrcSp() *sptypes.StorageProvider

func (*NullTask) GetStartBlockNumber added in v1.2.0

func (*NullTask) GetStartBlockNumber() uint64

func (*NullTask) GetStartObjectId added in v1.2.0

func (*NullTask) GetStartObjectId() uint64

func (*NullTask) GetStorageParams

func (*NullTask) GetStorageParams() *storagetypes.Params

func (*NullTask) GetTimeout

func (*NullTask) GetTimeout() int64

func (*NullTask) GetUpdateTime

func (*NullTask) GetUpdateTime() int64

func (*NullTask) GetUserAddress

func (*NullTask) GetUserAddress() string

func (*NullTask) GetVirtualGroupFamilyId added in v0.2.3

func (*NullTask) GetVirtualGroupFamilyId() uint32

func (*NullTask) IncRetry

func (*NullTask) IncRetry()

func (*NullTask) Info

func (*NullTask) Info() string

func (*NullTask) InitApprovalCreateBucketTask

func (*NullTask) InitApprovalCreateBucketTask(string, *storagetypes.MsgCreateBucket, []byte, TPriority)

func (*NullTask) InitApprovalCreateObjectTask

func (*NullTask) InitApprovalCreateObjectTask(string, *storagetypes.MsgCreateObject, []byte, TPriority)

func (*NullTask) InitApprovalReplicatePieceTask

func (*NullTask) InitApprovalReplicatePieceTask(*storagetypes.ObjectInfo, *storagetypes.Params, TPriority, string)

func (*NullTask) InitGCBucketMigrationTask added in v1.2.0

func (t *NullTask) InitGCBucketMigrationTask(priority TPriority, bucketID uint64, timeout, retry int64)

func (*NullTask) InitGCZombiePieceTask added in v1.2.0

func (*NullTask) InitGCZombiePieceTask(priority TPriority, start, end uint64, timeout int64)

func (*NullTask) InitMigrateGVGTask added in v0.2.3

func (*NullTask) InitMigrateGVGTask(priority TPriority, bucketID uint64, srcGvg *virtualgrouptypes.GlobalVirtualGroup,
	redundancyIndex int32, srcSP *sptypes.StorageProvider, timeout int64, retry int64)

func (*NullTask) InitReceivePieceTask

func (*NullTask) InitRecoverPieceTask added in v0.2.3

func (*NullTask) InitReplicatePieceTask

func (*NullTask) InitReplicatePieceTask(*storagetypes.ObjectInfo, *storagetypes.Params, TPriority, int64, int64)

func (*NullTask) InitSealObjectTask

func (*NullTask) InitUploadObjectTask

func (*NullTask) InitUploadObjectTask(uint32, *storagetypes.ObjectInfo, *storagetypes.Params, int64)

func (*NullTask) Key

func (*NullTask) Key() TKey

func (*NullTask) SetAddress

func (*NullTask) SetAddress(string)

func (*NullTask) SetApprovedSignature

func (*NullTask) SetApprovedSignature([]byte)

func (*NullTask) SetApprovedSpApprovalAddress

func (*NullTask) SetApprovedSpApprovalAddress(string)

func (*NullTask) SetApprovedSpEndpoint

func (*NullTask) SetApprovedSpEndpoint(string)

func (*NullTask) SetApprovedSpOperatorAddress

func (*NullTask) SetApprovedSpOperatorAddress(string)

func (*NullTask) SetAskSignature

func (*NullTask) SetAskSignature([]byte)

func (*NullTask) SetAskSpOperatorAddress

func (*NullTask) SetAskSpOperatorAddress(string)

func (*NullTask) SetBucketID added in v0.2.3

func (*NullTask) SetBucketID(uint64)

func (*NullTask) SetBucketInfo

func (*NullTask) SetBucketInfo(*storagetypes.BucketInfo)

func (*NullTask) SetBucketMigration added in v0.2.3

func (*NullTask) SetBucketMigration(migration bool)

func (*NullTask) SetCreateBucketInfo

func (*NullTask) SetCreateBucketInfo(*storagetypes.MsgCreateBucket)

func (*NullTask) SetCreateObjectInfo

func (*NullTask) SetCreateObjectInfo(*storagetypes.MsgCreateObject)

func (*NullTask) SetCreateTime

func (*NullTask) SetCreateTime(int64)

func (*NullTask) SetCurrentBlockNumber added in v1.2.0

func (*NullTask) SetCurrentBlockNumber(uint64)

func (*NullTask) SetDestGvg added in v0.2.3

func (*NullTask) SetDestSp added in v0.2.3

func (*NullTask) SetDestSp(*sptypes.StorageProvider)

func (*NullTask) SetEndBlockNumber added in v1.2.0

func (*NullTask) SetEndBlockNumber(uint64)

func (*NullTask) SetEndObjectID added in v1.2.0

func (*NullTask) SetEndObjectID(uint64)

func (*NullTask) SetError

func (*NullTask) SetError(error)

func (*NullTask) SetExpiredHeight

func (*NullTask) SetExpiredHeight(uint64)

func (*NullTask) SetFinished added in v0.2.3

func (*NullTask) SetFinished(bool)

func (*NullTask) SetGCMetaStatus

func (*NullTask) SetGCMetaStatus(uint64, uint64)

func (*NullTask) SetGCObjectProgress added in v1.2.0

func (*NullTask) SetGCObjectProgress(uint64, uint64)

func (*NullTask) SetGlobalVirtualGroupID added in v0.2.3

func (*NullTask) SetGlobalVirtualGroupID(uint32)

func (*NullTask) SetIntegrityHash

func (*NullTask) SetIntegrityHash([]byte)

func (*NullTask) SetLastDeletedObjectId added in v1.2.0

func (*NullTask) SetLastDeletedObjectId(uint64)

func (*NullTask) SetLastMigratedObjectID added in v0.2.3

func (*NullTask) SetLastMigratedObjectID(uint64)

func (NullTask) SetLogs added in v0.2.3

func (NullTask) SetLogs(logs string)

func (*NullTask) SetMaxRetry

func (*NullTask) SetMaxRetry(int64)

func (*NullTask) SetMigratedBytesSize added in v1.1.0

func (*NullTask) SetMigratedBytesSize(uint64)

func (*NullTask) SetNotAvailableSpIdx added in v0.2.4

func (*NullTask) SetNotAvailableSpIdx(i int32)

func (*NullTask) SetObjectInfo

func (*NullTask) SetObjectInfo(*storagetypes.ObjectInfo)

func (*NullTask) SetPieceChecksum

func (*NullTask) SetPieceChecksum([]byte)

func (*NullTask) SetPieceDataSize

func (*NullTask) SetPieceDataSize(int64)

func (*NullTask) SetPieceHash

func (*NullTask) SetPieceHash([][]byte)

func (*NullTask) SetPieceIdx

func (*NullTask) SetPieceIdx(int32)

func (*NullTask) SetPieceSize

func (*NullTask) SetPieceSize(int64)

func (*NullTask) SetPriority

func (*NullTask) SetPriority(TPriority)

func (*NullTask) SetRecoverDone added in v0.2.3

func (*NullTask) SetRecoverDone()

func (*NullTask) SetRedundancyIdx

func (*NullTask) SetRedundancyIdx(idx int32)

func (*NullTask) SetReplicateIdx

func (*NullTask) SetReplicateIdx(uint32)

func (*NullTask) SetRetry

func (*NullTask) SetRetry(int64)

func (*NullTask) SetSealed

func (*NullTask) SetSealed(bool)

func (*NullTask) SetSecondaryAddresses

func (*NullTask) SetSecondaryAddresses([]string)

func (*NullTask) SetSecondarySignatures

func (*NullTask) SetSecondarySignatures([][]byte)

func (*NullTask) SetSegmentIdx

func (*NullTask) SetSegmentIdx(uint32)

func (*NullTask) SetSignature

func (*NullTask) SetSignature([]byte)

func (*NullTask) SetSrcGvg added in v0.2.3

func (*NullTask) SetSrcSp added in v0.2.3

func (*NullTask) SetSrcSp(*sptypes.StorageProvider)

func (*NullTask) SetStartBlockNumber added in v1.2.0

func (*NullTask) SetStartBlockNumber(uint64)

func (*NullTask) SetStartObjectID added in v1.2.0

func (*NullTask) SetStartObjectID(uint64)

func (*NullTask) SetStorageParams

func (*NullTask) SetStorageParams(*storagetypes.Params)

func (*NullTask) SetTimeout

func (*NullTask) SetTimeout(int64)

func (*NullTask) SetUpdateTime

func (*NullTask) SetUpdateTime(int64)

func (*NullTask) SetUserAddress

func (*NullTask) SetUserAddress(string)

func (*NullTask) Type

func (*NullTask) Type() TType

type ObjectTask

type ObjectTask interface {
	Task
	// GetObjectInfo returns the associated object.
	GetObjectInfo() *storagetypes.ObjectInfo
	// SetObjectInfo set the  associated object.
	SetObjectInfo(*storagetypes.ObjectInfo)
	// GetStorageParams returns the storage params.
	GetStorageParams() *storagetypes.Params
	// SetStorageParams sets the storage params.Should try to avoid calling this
	// method, it will change the task base information.
	// For example: it will change resource estimate for UploadObjectTask and so on.
	SetStorageParams(*storagetypes.Params)
}

ObjectTask associated with an object and storage params, and records the information of different stages of the object. Considering the change of storage params on the greenfield, the storage params of each object should be determined when it is created, and it should not be queried during the task flow, which is inefficient and error-prone.

type ReceivePieceTask

type ReceivePieceTask interface {
	ObjectTask
	// InitReceivePieceTask init the ReceivePieceTask.
	InitReceivePieceTask(vgfID uint32, object *storagetypes.ObjectInfo, params *storagetypes.Params, priority TPriority,
		segmentIdx uint32, redundancyIdx int32, pieceSize int64)
	// GetSegmentIdx returns the piece index. The piece index identifies the serial number
	// of segment of object payload data for object piece copy.
	GetSegmentIdx() uint32
	// SetSegmentIdx sets the segment index.
	SetSegmentIdx(uint32)
	// GetRedundancyIdx returns the redundancy index. The redundancy index identifies the
	// serial number of the secondary SP for object piece copy.
	GetRedundancyIdx() int32
	// SetRedundancyIdx sets the redundancy index.
	SetRedundancyIdx(int32)
	// GetPieceSize returns the received piece data size, it is used to resource estimate.
	GetPieceSize() int64
	// SetPieceSize sets the received piece data size.
	SetPieceSize(int64)
	// GetPieceChecksum returns the checksum of received piece data, it is used to check
	// the piece data is correct.
	GetPieceChecksum() []byte
	// SetPieceChecksum set the checksum of received piece data.
	SetPieceChecksum([]byte)
	// GetSignature returns the primary signature of SP, because the InitReceivePieceTask
	// will be transfer to secondary SP, It is necessary to prove that the task was
	// sent by a legitimate SP.
	GetSignature() []byte
	// SetSignature sets the primary signature of SP.
	SetSignature([]byte)
	// GetSignBytes returns the bytes from the task for primary SP to sign.
	GetSignBytes() []byte
	// GetSealed returns an indicator whether the object of receiving piece data is
	// sealed on greenfield, the secondary SP has an incentive to confirm that otherwise
	// it wastes its storage resources
	GetSealed() bool
	// SetSealed sets the object of receiving piece data whether is successfully sealed.
	SetSealed(bool)
	// GetFinished returns whether replicate piece is done
	GetFinished() bool
	// SetFinished sets finished field
	SetFinished(bool)
	// GetGlobalVirtualGroupId returns the object's global virtual group id.
	GetGlobalVirtualGroupId() uint32
	// SetGlobalVirtualGroupID sets the object's global virtual group id.
	SetGlobalVirtualGroupID(uint32)
	// GetBucketMigration returns whether receiver does bucket migration
	GetBucketMigration() bool
	// SetBucketMigration sets the bucket migration
	SetBucketMigration(bool)
}

ReceivePieceTask is an abstract interface to record the information for receiving pieces of object payload data from primary SP, it exists only in secondary SP.

type RecoveryPieceTask added in v0.2.3

type RecoveryPieceTask interface {
	ObjectTask
	// InitRecoverPieceTask inits the RecoveryPieceTask by ObjectInfo, params,
	// task priority, pieceIndex, timeout and max retry.
	InitRecoverPieceTask(object *storagetypes.ObjectInfo, params *storagetypes.Params,
		priority TPriority, pieceIdx uint32, ecIdx int32, pieceSize uint64, timeout int64, retry int64)

	// GetSegmentIdx return the segment index of recovery object segment
	GetSegmentIdx() uint32
	// GetEcIdx return the ec index of recovery ec chunk
	GetEcIdx() int32
	// GetSignature returns the primary SP's signature
	GetSignature() []byte
	// SetSignature sets the primary SP's signature.
	SetSignature([]byte)
	// GetSignBytes returns the bytes from the task for primary SP to sign.
	GetSignBytes() []byte
	GetRecovered() bool
	// SetRecoverDone set the recovery status as finish
	SetRecoverDone()
}

The RecoveryPieceTask is the interface to record the information for recovering TODO consider recovery secondary SP task

type ReplicatePieceTask

type ReplicatePieceTask interface {
	ObjectTask
	// InitReplicatePieceTask inits the ReplicatePieceTask by ObjectInfo, params,
	// task priority, timeout and max retry.
	InitReplicatePieceTask(object *storagetypes.ObjectInfo, params *storagetypes.Params, priority TPriority, timeout int64, retry int64)
	// GetSealed returns an indicator whether successful seal object on greenfield
	// after replicate pieces, it is an optimization method. ReplicatePieceTask and
	// SealObjectTask are combined. Otherwise, the two tasks will be completed in
	// two stages. If the combination is successful and the seal object is successful,
	// the number of SealObjectTask can be reduced, saving resource overhead.
	GetSealed() bool
	// SetSealed sets the state successful seal object after replicating piece.
	SetSealed(bool)
	// GetSecondaryAddresses returns the secondary SP's addresses. It is used to
	// generate MsgSealObject.
	GetSecondaryAddresses() []string
	// SetSecondaryAddresses sets the secondary SP's addresses.
	SetSecondaryAddresses([]string)
	// GetSecondarySignatures returns the secondary SP's signatures. It is used to
	// generate MsgSealObject.
	GetSecondarySignatures() [][]byte
	// SetSecondarySignatures sets the secondary SP's signatures.
	SetSecondarySignatures([][]byte)
	// GetGlobalVirtualGroupId returns the object's global virtual group id.
	GetGlobalVirtualGroupId() uint32
	// GetSecondaryEndpoints return the secondary sp domain.
	GetSecondaryEndpoints() []string
	// GetNotAvailableSpIdx gets the secondary sp Index in GVG if fail to replicate data
	GetNotAvailableSpIdx() int32
	// SetNotAvailableSpIdx sets the secondary sp Index in GVG if fail to replicate data
	SetNotAvailableSpIdx(int32)
}

The ReplicatePieceTask is the interface to record the information for replicating pieces of object pieces data to secondary SPs.

type ResumableUploadObjectTask added in v0.2.3

type ResumableUploadObjectTask interface {
	ObjectTask
	// InitResumableUploadObjectTask inits the UploadObjectTask by ObjectInfo and Params.
	InitResumableUploadObjectTask(vgfID uint32, object *storagetypes.ObjectInfo, params *storagetypes.Params, timeout int64, complete bool, offset uint64)
	// GetVirtualGroupFamilyId returns the object's virtual group family which is bind in bucket.
	GetVirtualGroupFamilyId() uint32
	// GetResumeOffset return resumable offset user-supplied parameters
	GetResumeOffset() uint64
	// SetResumeOffset Set the `ResumeOffset` provided by the user for subsequent processing in the `HandleResumableUploadObjectTask`.
	SetResumeOffset(offset uint64)
	// GetCompleted The GetCompleted() function returns the value of completed set by the user in the request.
	// The completed parameter represents the last upload request in the resumable upload process,
	// after which integrity checks and replication procedures will be performed.
	GetCompleted() bool
	// SetCompleted sets the state from request in InitResumableUploadObjectTask
	SetCompleted(completed bool)
}

The ResumableUploadObjectTask is the interface to record the information for uploading object payload data to the primary SP.

type SealObjectTask

type SealObjectTask interface {
	ObjectTask
	// InitSealObjectTask inits the SealObjectTask.
	InitSealObjectTask(vgfID uint32, object *storagetypes.ObjectInfo, params *storagetypes.Params, priority TPriority, addresses []string,
		signatures [][]byte, timeout int64, retry int64)
	// GetSecondaryAddresses return the secondary SP's addresses.
	GetSecondaryAddresses() []string
	// GetSecondarySignatures return the secondary SP's signature, it is used to generate
	// MsgSealObject.
	GetSecondarySignatures() [][]byte
	// GetGlobalVirtualGroupId returns the object's global virtual group id.
	GetGlobalVirtualGroupId() uint32
}

SealObjectTask is an abstract interface to record the information for sealing object on Greenfield chain.

type TKey

type TKey string

TKey defines the type of task key that is the uniquely identify.

func (TKey) String

func (k TKey) String() string

String transfer TKey to string type.

type TPriority

type TPriority uint8

TPriority defines the type of task priority, the priority can be used as an important basis for task scheduling within the SP. The higher the priority, the faster it is expected to be executed, and the resources will be assigned priority for execution. The lower the priority, it can be executed later, and the resource requirements are not so urgent.

const (
	// UnKnownTaskPriority defines the default task priority.
	UnKnownTaskPriority TPriority = 0
	// UnSchedulingPriority defines the task priority that should be never scheduled.
	UnSchedulingPriority TPriority = 0
	// MaxTaskPriority defines the max task priority.
	MaxTaskPriority TPriority = 255
	// DefaultLargerTaskPriority defines the larger task priority.
	DefaultLargerTaskPriority TPriority = 170
	// DefaultSmallerPriority defines the smaller task priority.
	DefaultSmallerPriority TPriority = 85
)

type TPriorityLevel

type TPriorityLevel int32

TPriorityLevel defines the type of task priority level. The executor of the task will reserve the resources from the resource manager(rcmgr) before execution, and the rcmgr can limit the execution of concurrent tasks number according to the task priority level.

Example:

	the configuration the rcmgr:
		[TasksHighPriority: 30, TasksMediumPriority: 20, TasksLowPriority: 2]
	the executor of the task can run 30 high level tasks at the same time that the
		task priority >= DefaultLargerTaskPriority
 	the executor of the task can run 20 medium level tasks at the same time that the
		task priority between (DefaultLargerTaskPriority, DefaultSmallerPriority]
	the executor of the task can run 2 medium level tasks at the same time that the
		task priority < DefaultSmallerPriority
const (
	// TLowPriorityLevel defines the low task priority level.
	TLowPriorityLevel TPriorityLevel = iota
	// TMediumPriorityLevel defines the medium task priority level.
	TMediumPriorityLevel
	// THighPriorityLevel defines the high task priority level.
	THighPriorityLevel
)

type TType

type TType int32

TType is enum type, it defines the type of task.

const (
	// TypeTaskUnknown defines the default task type.
	TypeTaskUnknown TType = iota
	// TypeTaskCreateBucketApproval defines the type of asking create bucket approval
	// to primary SP task
	TypeTaskCreateBucketApproval
	// TypeTaskMigrateBucketApproval defines the type of asking migrate bucket approval
	// to primary SP task
	TypeTaskMigrateBucketApproval
	// TypeTaskCreateObjectApproval defines the type of asking create object approval
	// to primary SP task
	TypeTaskCreateObjectApproval
	// TypeTaskReplicatePieceApproval defines the type of asking create object approval
	// to secondary SP task
	TypeTaskReplicatePieceApproval
	// TypeTaskUpload defines the type of uploading object to primary SP task.
	TypeTaskUpload
	// TypeTaskReplicatePiece defines the type of replicating pieces to secondary SPs task.
	TypeTaskReplicatePiece
	// TypeTaskSealObject defines the type of sealing object to the chain task.
	TypeTaskSealObject
	// TypeTaskReceivePiece defines the type of receiving pieces for secondary SP task.
	TypeTaskReceivePiece
	// TypeTaskDownloadObject defines the type of downloading object task.
	TypeTaskDownloadObject
	// TypeTaskDownloadPiece defines the type of downloading piece task.
	TypeTaskDownloadPiece
	// TypeTaskChallengePiece defines the type of challenging piece task.
	TypeTaskChallengePiece
	// TypeTaskGCObject defines the type of collecting object payload data task.
	TypeTaskGCObject
	// TypeTaskGCZombiePiece defines the type of collecting zombie piece task.
	TypeTaskGCZombiePiece
	// TypeTaskGCMeta defines the type of collecting SP metadata task.
	TypeTaskGCMeta
	// TypeTaskGCBucketMigration defines the type of gc bucket migration task.
	TypeTaskGCBucketMigration
	// TypeTaskRecoverPiece defines the type of the recovering piece task.
	TypeTaskRecoverPiece
	// TypeTaskMigrateGVG defines the type of migrating gvg task.
	TypeTaskMigrateGVG
)

type Task

type Task interface {
	// Key returns the uniquely identify of the task. It is recommended that each task
	// has its own prefix. In addition, it should also include the information of the
	// task's own identity.
	// For example:
	// 1. ApprovalTask maybe includes the bucket name and object name,
	// 2. ObjectTask maybe includes the object ID,
	// 3. GCTask maybe includes the timestamp.
	Key() TKey
	// Type returns the type of the task. A task has a unique type, such as
	// TypeTaskCreateBucketApproval, TypeTaskUpload etc. has the only one TType
	// definition.
	Type() TType
	// GetAddress returns the task runner address. there is only one runner at the
	// same time, which will assist in quickly locating the running node of the task.
	GetAddress() string
	// SetAddress sets the runner address to the task.
	SetAddress(string)
	// GetCreateTime returns the creation time of the task. The creation time used to
	// judge task execution time.
	GetCreateTime() int64
	// SetCreateTime sets the creation time of the task.
	SetCreateTime(int64)
	// GetUpdateTime returns the last updated time of the task. The updated time used
	// to determine whether the task is expired with the timeout.
	GetUpdateTime() int64
	// SetUpdateTime sets last updated time of the task. Any changes in task information
	// requires to set the update time.
	SetUpdateTime(int64)
	// GetTimeout returns the timeout of the task, the timeout is a duration, if update
	// time adds timeout lesser now stands the task is expired.
	GetTimeout() int64
	// SetTimeout sets timeout duration of the task.
	SetTimeout(int64)
	// ExceedTimeout returns an indicator whether timeout, if update time adds timeout
	// lesser now returns true, otherwise returns false.
	ExceedTimeout() bool
	// GetMaxRetry returns the max retry times of the task. Each type of task has a
	// fixed max retry times.
	GetMaxRetry() int64
	// SetMaxRetry sets the max retry times of the task.
	SetMaxRetry(int64)
	// GetRetry returns the retry counter of the task.
	GetRetry() int64
	// SetRetry sets the retry counter of the task.
	SetRetry(int64)
	// IncRetry increases the retry counter of the task. Each task has the max retry
	// times, if retry counter exceed the max retry, the task should be canceled.
	IncRetry()
	// ExceedRetry returns an indicator whether retry counter greater that max retry.
	ExceedRetry() bool
	// Expired returns an indicator whether ExceedTimeout and ExceedRetry.
	Expired() bool
	// GetPriority returns the priority of the task. Each type of task has a fixed
	// priority. The higher the priority, the higher the urgency of the task, and
	// it will be executed first.
	GetPriority() TPriority
	// SetPriority sets the priority of the task. In most cases, the priority of the
	// task does not need to be set, because the priority of the task corresponds to
	// the task type one by one. Once the task type is determined, the priority is
	// determined. But some scenarios need to dynamically adjust the priority of the
	// task type, then this interface is needed.
	SetPriority(TPriority)
	// EstimateLimit returns estimated resource will be consumed. It is used for
	// application resources to the rcmgr and decide whether it can be executed
	// immediately.
	EstimateLimit() rcmgr.Limit
	// SetLogs sets the event logs to task
	SetLogs(logs string)
	// GetLogs returns the logs of task
	GetLogs() string
	// GetUserAddress returns the user account of downloading object.
	// It is used to record the read bucket information.
	GetUserAddress() string
	// SetUserAddress sets the user account of downloading object.
	SetUserAddress(string)
	// AppendLog appends the event log to task
	AppendLog(log string)
	// Info returns the task detail info for log and debug.
	Info() string
	// Error returns the task error. if the task is normal, returns nil.
	Error() error
	// SetError sets the error to task. Any errors that occur during task execution
	// will be logged through the SetError method.
	SetError(error)
}

Task is an abstract interface to describe the smallest unit of SP service how to interact.

type UploadObjectTask

type UploadObjectTask interface {
	ObjectTask
	// InitUploadObjectTask inits the UploadObjectTask by ObjectInfo and Params.
	InitUploadObjectTask(vgfID uint32, object *storagetypes.ObjectInfo, params *storagetypes.Params, timeout int64)
	// GetVirtualGroupFamilyId returns the object's virtual group family which is bind in bucket.
	GetVirtualGroupFamilyId() uint32
}

UploadObjectTask is an abstract interface to record the information for uploading object payload data to the primary SP.

Jump to

Keyboard shortcuts

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