Documentation ¶
Overview ¶
Package mock_bucket is a generated GoMock package.
Index ¶
- type MockBucket
- func (m *MockBucket) CreateJob(j *job.Job, isTTR bool) error
- func (m *MockBucket) EXPECT() *MockBucketMockRecorder
- func (m *MockBucket) GetBucketJobs(bid uint64) ([]job.NameVersion, error)
- func (m *MockBucket) GetBuckets() []uint64
- func (m *MockBucket) GetMaxFetchNum() uint64
- func (m *MockBucket) SetMaxFetchNum(num uint64)
- type MockBucketMockRecorder
- func (mr *MockBucketMockRecorder) CreateJob(j, isTTR interface{}) *gomock.Call
- func (mr *MockBucketMockRecorder) GetBucketJobs(bid interface{}) *gomock.Call
- func (mr *MockBucketMockRecorder) GetBuckets() *gomock.Call
- func (mr *MockBucketMockRecorder) GetMaxFetchNum() *gomock.Call
- func (mr *MockBucketMockRecorder) SetMaxFetchNum(num interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBucket ¶
type MockBucket struct {
// contains filtered or unexported fields
}
MockBucket is a mock of Bucket interface.
func NewMockBucket ¶
func NewMockBucket(ctrl *gomock.Controller) *MockBucket
NewMockBucket creates a new mock instance.
func (*MockBucket) CreateJob ¶
func (m *MockBucket) CreateJob(j *job.Job, isTTR bool) error
CreateJob mocks base method.
func (*MockBucket) EXPECT ¶
func (m *MockBucket) EXPECT() *MockBucketMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBucket) GetBucketJobs ¶
func (m *MockBucket) GetBucketJobs(bid uint64) ([]job.NameVersion, error)
GetBucketJobs mocks base method.
func (*MockBucket) GetBuckets ¶
func (m *MockBucket) GetBuckets() []uint64
GetBuckets mocks base method.
func (*MockBucket) GetMaxFetchNum ¶
func (m *MockBucket) GetMaxFetchNum() uint64
GetMaxFetchNum mocks base method.
func (*MockBucket) SetMaxFetchNum ¶
func (m *MockBucket) SetMaxFetchNum(num uint64)
SetMaxFetchNum mocks base method.
type MockBucketMockRecorder ¶
type MockBucketMockRecorder struct {
// contains filtered or unexported fields
}
MockBucketMockRecorder is the mock recorder for MockBucket.
func (*MockBucketMockRecorder) CreateJob ¶
func (mr *MockBucketMockRecorder) CreateJob(j, isTTR interface{}) *gomock.Call
CreateJob indicates an expected call of CreateJob.
func (*MockBucketMockRecorder) GetBucketJobs ¶
func (mr *MockBucketMockRecorder) GetBucketJobs(bid interface{}) *gomock.Call
GetBucketJobs indicates an expected call of GetBucketJobs.
func (*MockBucketMockRecorder) GetBuckets ¶
func (mr *MockBucketMockRecorder) GetBuckets() *gomock.Call
GetBuckets indicates an expected call of GetBuckets.
func (*MockBucketMockRecorder) GetMaxFetchNum ¶
func (mr *MockBucketMockRecorder) GetMaxFetchNum() *gomock.Call
GetMaxFetchNum indicates an expected call of GetMaxFetchNum.
func (*MockBucketMockRecorder) SetMaxFetchNum ¶
func (mr *MockBucketMockRecorder) SetMaxFetchNum(num interface{}) *gomock.Call
SetMaxFetchNum indicates an expected call of SetMaxFetchNum.