mock_batch

package
v2.0.6-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 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

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

AddFillPercent mocks base method.

func (*MockCachedBatch) CheckFillPercent

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)

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)

Put mocks base method.

func (*MockCachedBatch) ResetSnapshots

func (m *MockCachedBatch) ResetSnapshots()

ResetSnapshots mocks base method.

func (*MockCachedBatch) RevertSnapshot

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

RevertSnapshot 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

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

AddFillPercent indicates an expected call of AddFillPercent.

func (*MockCachedBatchMockRecorder) CheckFillPercent

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{}) *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{}) *gomock.Call

Put indicates an expected call of Put.

func (*MockCachedBatchMockRecorder) ResetSnapshots

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

ResetSnapshots indicates an expected call of ResetSnapshots.

func (*MockCachedBatchMockRecorder) RevertSnapshot

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

RevertSnapshot indicates an expected call of RevertSnapshot.

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

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

AddFillPercent mocks base method.

func (*MockKVStoreBatch) CheckFillPercent

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)

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)

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

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

AddFillPercent indicates an expected call of AddFillPercent.

func (*MockKVStoreBatchMockRecorder) CheckFillPercent

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{}) *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{}) *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.

type MockSnapshot

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

MockSnapshot is a mock of Snapshot interface.

func NewMockSnapshot

func NewMockSnapshot(ctrl *gomock.Controller) *MockSnapshot

NewMockSnapshot creates a new mock instance.

func (*MockSnapshot) EXPECT

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

func (*MockSnapshot) ResetSnapshots

func (m *MockSnapshot) ResetSnapshots()

ResetSnapshots mocks base method.

func (*MockSnapshot) RevertSnapshot

func (m *MockSnapshot) RevertSnapshot(arg0 int) error

RevertSnapshot mocks base method.

func (*MockSnapshot) Snapshot

func (m *MockSnapshot) Snapshot() int

Snapshot mocks base method.

type MockSnapshotMockRecorder

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

MockSnapshotMockRecorder is the mock recorder for MockSnapshot.

func (*MockSnapshotMockRecorder) ResetSnapshots

func (mr *MockSnapshotMockRecorder) ResetSnapshots() *gomock.Call

ResetSnapshots indicates an expected call of ResetSnapshots.

func (*MockSnapshotMockRecorder) RevertSnapshot

func (mr *MockSnapshotMockRecorder) RevertSnapshot(arg0 interface{}) *gomock.Call

RevertSnapshot indicates an expected call of RevertSnapshot.

func (*MockSnapshotMockRecorder) Snapshot

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

Snapshot indicates an expected call of Snapshot.

Jump to

Keyboard shortcuts

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