mock_batch

package
v1.7.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_batch is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCachedBatch

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

MockCachedBatch is a mock of CachedBatch interface.

func NewMockCachedBatch

func NewMockCachedBatch(ctrl *gomock.Controller) *MockCachedBatch

NewMockCachedBatch creates a new mock instance.

func (*MockCachedBatch) AddFillPercent added in v1.1.2

func (m *MockCachedBatch) AddFillPercent(arg0 string, arg1 float64)

AddFillPercent mocks base method.

func (*MockCachedBatch) CheckFillPercent added in v1.1.2

func (m *MockCachedBatch) CheckFillPercent(arg0 string) (float64, bool)

CheckFillPercent mocks base method.

func (*MockCachedBatch) Clear

func (m *MockCachedBatch) Clear()

Clear mocks base method.

func (*MockCachedBatch) ClearAndUnlock

func (m *MockCachedBatch) ClearAndUnlock()

ClearAndUnlock mocks base method.

func (*MockCachedBatch) Delete

func (m *MockCachedBatch) Delete(arg0 string, arg1 []byte, arg2 string, arg3 ...interface{})

Delete mocks base method.

func (*MockCachedBatch) EXPECT

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

func (*MockCachedBatch) Entry

func (m *MockCachedBatch) Entry(arg0 int) (*batch.WriteInfo, error)

Entry mocks base method.

func (*MockCachedBatch) Get

func (m *MockCachedBatch) Get(arg0 string, arg1 []byte) ([]byte, error)

Get mocks base method.

func (*MockCachedBatch) Lock

func (m *MockCachedBatch) Lock()

Lock mocks base method.

func (*MockCachedBatch) Put

func (m *MockCachedBatch) Put(arg0 string, arg1, arg2 []byte, arg3 string, arg4 ...interface{})

Put mocks base method.

func (*MockCachedBatch) Revert

func (m *MockCachedBatch) Revert(arg0 int) error

Revert mocks base method.

func (*MockCachedBatch) SerializeQueue

func (m *MockCachedBatch) SerializeQueue(arg0 batch.WriteInfoSerialize, arg1 batch.WriteInfoFilter) []byte

SerializeQueue mocks base method.

func (*MockCachedBatch) Size

func (m *MockCachedBatch) Size() int

Size mocks base method.

func (*MockCachedBatch) Snapshot

func (m *MockCachedBatch) Snapshot() int

Snapshot mocks base method.

func (*MockCachedBatch) Translate

Translate mocks base method.

func (*MockCachedBatch) Unlock

func (m *MockCachedBatch) Unlock()

Unlock mocks base method.

type MockCachedBatchMockRecorder

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

MockCachedBatchMockRecorder is the mock recorder for MockCachedBatch.

func (*MockCachedBatchMockRecorder) AddFillPercent added in v1.1.2

func (mr *MockCachedBatchMockRecorder) AddFillPercent(arg0, arg1 interface{}) *gomock.Call

AddFillPercent indicates an expected call of AddFillPercent.

func (*MockCachedBatchMockRecorder) CheckFillPercent added in v1.1.2

func (mr *MockCachedBatchMockRecorder) CheckFillPercent(arg0 interface{}) *gomock.Call

CheckFillPercent indicates an expected call of CheckFillPercent.

func (*MockCachedBatchMockRecorder) Clear

Clear indicates an expected call of Clear.

func (*MockCachedBatchMockRecorder) ClearAndUnlock

func (mr *MockCachedBatchMockRecorder) ClearAndUnlock() *gomock.Call

ClearAndUnlock indicates an expected call of ClearAndUnlock.

func (*MockCachedBatchMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockCachedBatchMockRecorder) Entry

func (mr *MockCachedBatchMockRecorder) Entry(arg0 interface{}) *gomock.Call

Entry indicates an expected call of Entry.

func (*MockCachedBatchMockRecorder) Get

func (mr *MockCachedBatchMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockCachedBatchMockRecorder) Lock

Lock indicates an expected call of Lock.

func (*MockCachedBatchMockRecorder) Put

func (mr *MockCachedBatchMockRecorder) Put(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call

Put indicates an expected call of Put.

func (*MockCachedBatchMockRecorder) Revert

func (mr *MockCachedBatchMockRecorder) Revert(arg0 interface{}) *gomock.Call

Revert indicates an expected call of Revert.

func (*MockCachedBatchMockRecorder) SerializeQueue

func (mr *MockCachedBatchMockRecorder) SerializeQueue(arg0, arg1 interface{}) *gomock.Call

SerializeQueue indicates an expected call of SerializeQueue.

func (*MockCachedBatchMockRecorder) Size

Size indicates an expected call of Size.

func (*MockCachedBatchMockRecorder) Snapshot

func (mr *MockCachedBatchMockRecorder) Snapshot() *gomock.Call

Snapshot indicates an expected call of Snapshot.

func (*MockCachedBatchMockRecorder) Translate

func (mr *MockCachedBatchMockRecorder) Translate(arg0 interface{}) *gomock.Call

Translate indicates an expected call of Translate.

func (*MockCachedBatchMockRecorder) Unlock

func (mr *MockCachedBatchMockRecorder) Unlock() *gomock.Call

Unlock indicates an expected call of Unlock.

type MockKVStoreBatch

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

MockKVStoreBatch is a mock of KVStoreBatch interface.

func NewMockKVStoreBatch

func NewMockKVStoreBatch(ctrl *gomock.Controller) *MockKVStoreBatch

NewMockKVStoreBatch creates a new mock instance.

func (*MockKVStoreBatch) AddFillPercent added in v1.1.2

func (m *MockKVStoreBatch) AddFillPercent(arg0 string, arg1 float64)

AddFillPercent mocks base method.

func (*MockKVStoreBatch) CheckFillPercent added in v1.1.2

func (m *MockKVStoreBatch) CheckFillPercent(arg0 string) (float64, bool)

CheckFillPercent mocks base method.

func (*MockKVStoreBatch) Clear

func (m *MockKVStoreBatch) Clear()

Clear mocks base method.

func (*MockKVStoreBatch) ClearAndUnlock

func (m *MockKVStoreBatch) ClearAndUnlock()

ClearAndUnlock mocks base method.

func (*MockKVStoreBatch) Delete

func (m *MockKVStoreBatch) Delete(arg0 string, arg1 []byte, arg2 string, arg3 ...interface{})

Delete mocks base method.

func (*MockKVStoreBatch) EXPECT

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

func (*MockKVStoreBatch) Entry

func (m *MockKVStoreBatch) Entry(arg0 int) (*batch.WriteInfo, error)

Entry mocks base method.

func (*MockKVStoreBatch) Lock

func (m *MockKVStoreBatch) Lock()

Lock mocks base method.

func (*MockKVStoreBatch) Put

func (m *MockKVStoreBatch) Put(arg0 string, arg1, arg2 []byte, arg3 string, arg4 ...interface{})

Put mocks base method.

func (*MockKVStoreBatch) SerializeQueue

func (m *MockKVStoreBatch) SerializeQueue(arg0 batch.WriteInfoSerialize, arg1 batch.WriteInfoFilter) []byte

SerializeQueue mocks base method.

func (*MockKVStoreBatch) Size

func (m *MockKVStoreBatch) Size() int

Size mocks base method.

func (*MockKVStoreBatch) Translate

Translate mocks base method.

func (*MockKVStoreBatch) Unlock

func (m *MockKVStoreBatch) Unlock()

Unlock mocks base method.

type MockKVStoreBatchMockRecorder

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

MockKVStoreBatchMockRecorder is the mock recorder for MockKVStoreBatch.

func (*MockKVStoreBatchMockRecorder) AddFillPercent added in v1.1.2

func (mr *MockKVStoreBatchMockRecorder) AddFillPercent(arg0, arg1 interface{}) *gomock.Call

AddFillPercent indicates an expected call of AddFillPercent.

func (*MockKVStoreBatchMockRecorder) CheckFillPercent added in v1.1.2

func (mr *MockKVStoreBatchMockRecorder) CheckFillPercent(arg0 interface{}) *gomock.Call

CheckFillPercent indicates an expected call of CheckFillPercent.

func (*MockKVStoreBatchMockRecorder) Clear

Clear indicates an expected call of Clear.

func (*MockKVStoreBatchMockRecorder) ClearAndUnlock

func (mr *MockKVStoreBatchMockRecorder) ClearAndUnlock() *gomock.Call

ClearAndUnlock indicates an expected call of ClearAndUnlock.

func (*MockKVStoreBatchMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockKVStoreBatchMockRecorder) Entry

func (mr *MockKVStoreBatchMockRecorder) Entry(arg0 interface{}) *gomock.Call

Entry indicates an expected call of Entry.

func (*MockKVStoreBatchMockRecorder) Lock

Lock indicates an expected call of Lock.

func (*MockKVStoreBatchMockRecorder) Put

func (mr *MockKVStoreBatchMockRecorder) Put(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call

Put indicates an expected call of Put.

func (*MockKVStoreBatchMockRecorder) SerializeQueue

func (mr *MockKVStoreBatchMockRecorder) SerializeQueue(arg0, arg1 interface{}) *gomock.Call

SerializeQueue indicates an expected call of SerializeQueue.

func (*MockKVStoreBatchMockRecorder) Size

Size indicates an expected call of Size.

func (*MockKVStoreBatchMockRecorder) Translate

func (mr *MockKVStoreBatchMockRecorder) Translate(arg0 interface{}) *gomock.Call

Translate indicates an expected call of Translate.

func (*MockKVStoreBatchMockRecorder) Unlock

Unlock indicates an expected call of Unlock.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL