mock_chainmanager

package
v2.0.7-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_chainmanager is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDock

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

MockDock is a mock of Dock interface.

func NewMockDock

func NewMockDock(ctrl *gomock.Controller) *MockDock

NewMockDock creates a new mock instance.

func (*MockDock) EXPECT

func (m *MockDock) EXPECT() *MockDockMockRecorder

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

func (*MockDock) Load

func (m *MockDock) Load(arg0, arg1 string, arg2 interface{}) error

Load mocks base method.

func (*MockDock) ProtocolDirty

func (m *MockDock) ProtocolDirty(arg0 string) bool

ProtocolDirty mocks base method.

func (*MockDock) Reset

func (m *MockDock) Reset()

Reset mocks base method.

func (*MockDock) Unload

func (m *MockDock) Unload(arg0, arg1 string, arg2 interface{}) error

Unload mocks base method.

type MockDockMockRecorder

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

MockDockMockRecorder is the mock recorder for MockDock.

func (*MockDockMockRecorder) Load

func (mr *MockDockMockRecorder) Load(arg0, arg1, arg2 interface{}) *gomock.Call

Load indicates an expected call of Load.

func (*MockDockMockRecorder) ProtocolDirty

func (mr *MockDockMockRecorder) ProtocolDirty(arg0 interface{}) *gomock.Call

ProtocolDirty indicates an expected call of ProtocolDirty.

func (*MockDockMockRecorder) Reset

func (mr *MockDockMockRecorder) Reset() *gomock.Call

Reset indicates an expected call of Reset.

func (*MockDockMockRecorder) Unload

func (mr *MockDockMockRecorder) Unload(arg0, arg1, arg2 interface{}) *gomock.Call

Unload indicates an expected call of Unload.

type MockStateManager

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

MockStateManager is a mock of StateManager interface.

func NewMockStateManager

func NewMockStateManager(ctrl *gomock.Controller) *MockStateManager

NewMockStateManager creates a new mock instance.

func (*MockStateManager) DelState

func (m *MockStateManager) DelState(arg0 ...protocol.StateOption) (uint64, error)

DelState mocks base method.

func (*MockStateManager) EXPECT

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

func (*MockStateManager) Height

func (m *MockStateManager) Height() (uint64, error)

Height mocks base method.

func (*MockStateManager) Load

func (m *MockStateManager) Load(arg0, arg1 string, arg2 interface{}) error

Load mocks base method.

func (*MockStateManager) ProtocolDirty

func (m *MockStateManager) ProtocolDirty(arg0 string) bool

ProtocolDirty mocks base method.

func (*MockStateManager) PutState

func (m *MockStateManager) PutState(arg0 interface{}, arg1 ...protocol.StateOption) (uint64, error)

PutState mocks base method.

func (*MockStateManager) ReadView

func (m *MockStateManager) ReadView(arg0 string) (interface{}, error)

ReadView mocks base method.

func (*MockStateManager) Reset

func (m *MockStateManager) Reset()

Reset mocks base method.

func (*MockStateManager) Revert

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

Revert mocks base method.

func (*MockStateManager) Snapshot

func (m *MockStateManager) Snapshot() int

Snapshot mocks base method.

func (*MockStateManager) State

func (m *MockStateManager) State(arg0 interface{}, arg1 ...protocol.StateOption) (uint64, error)

State mocks base method.

func (*MockStateManager) States

States mocks base method.

func (*MockStateManager) Unload

func (m *MockStateManager) Unload(arg0, arg1 string, arg2 interface{}) error

Unload mocks base method.

func (*MockStateManager) WriteView

func (m *MockStateManager) WriteView(arg0 string, arg1 interface{}) error

WriteView mocks base method.

type MockStateManagerMockRecorder

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

MockStateManagerMockRecorder is the mock recorder for MockStateManager.

func (*MockStateManagerMockRecorder) DelState

func (mr *MockStateManagerMockRecorder) DelState(arg0 ...interface{}) *gomock.Call

DelState indicates an expected call of DelState.

func (*MockStateManagerMockRecorder) Height

Height indicates an expected call of Height.

func (*MockStateManagerMockRecorder) Load

func (mr *MockStateManagerMockRecorder) Load(arg0, arg1, arg2 interface{}) *gomock.Call

Load indicates an expected call of Load.

func (*MockStateManagerMockRecorder) ProtocolDirty

func (mr *MockStateManagerMockRecorder) ProtocolDirty(arg0 interface{}) *gomock.Call

ProtocolDirty indicates an expected call of ProtocolDirty.

func (*MockStateManagerMockRecorder) PutState

func (mr *MockStateManagerMockRecorder) PutState(arg0 interface{}, arg1 ...interface{}) *gomock.Call

PutState indicates an expected call of PutState.

func (*MockStateManagerMockRecorder) ReadView

func (mr *MockStateManagerMockRecorder) ReadView(arg0 interface{}) *gomock.Call

ReadView indicates an expected call of ReadView.

func (*MockStateManagerMockRecorder) Reset

Reset indicates an expected call of Reset.

func (*MockStateManagerMockRecorder) Revert

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

Revert indicates an expected call of Revert.

func (*MockStateManagerMockRecorder) Snapshot

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

Snapshot indicates an expected call of Snapshot.

func (*MockStateManagerMockRecorder) State

func (mr *MockStateManagerMockRecorder) State(arg0 interface{}, arg1 ...interface{}) *gomock.Call

State indicates an expected call of State.

func (*MockStateManagerMockRecorder) States

func (mr *MockStateManagerMockRecorder) States(arg0 ...interface{}) *gomock.Call

States indicates an expected call of States.

func (*MockStateManagerMockRecorder) Unload

func (mr *MockStateManagerMockRecorder) Unload(arg0, arg1, arg2 interface{}) *gomock.Call

Unload indicates an expected call of Unload.

func (*MockStateManagerMockRecorder) WriteView

func (mr *MockStateManagerMockRecorder) WriteView(arg0, arg1 interface{}) *gomock.Call

WriteView indicates an expected call of WriteView.

type MockStateReader

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

MockStateReader is a mock of StateReader interface.

func NewMockStateReader

func NewMockStateReader(ctrl *gomock.Controller) *MockStateReader

NewMockStateReader creates a new mock instance.

func (*MockStateReader) EXPECT

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

func (*MockStateReader) Height

func (m *MockStateReader) Height() (uint64, error)

Height mocks base method.

func (*MockStateReader) ReadView

func (m *MockStateReader) ReadView(arg0 string) (interface{}, error)

ReadView mocks base method.

func (*MockStateReader) State

func (m *MockStateReader) State(arg0 interface{}, arg1 ...protocol.StateOption) (uint64, error)

State mocks base method.

func (*MockStateReader) States

States mocks base method.

type MockStateReaderMockRecorder

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

MockStateReaderMockRecorder is the mock recorder for MockStateReader.

func (*MockStateReaderMockRecorder) Height

func (mr *MockStateReaderMockRecorder) Height() *gomock.Call

Height indicates an expected call of Height.

func (*MockStateReaderMockRecorder) ReadView

func (mr *MockStateReaderMockRecorder) ReadView(arg0 interface{}) *gomock.Call

ReadView indicates an expected call of ReadView.

func (*MockStateReaderMockRecorder) State

func (mr *MockStateReaderMockRecorder) State(arg0 interface{}, arg1 ...interface{}) *gomock.Call

State indicates an expected call of State.

func (*MockStateReaderMockRecorder) States

func (mr *MockStateReaderMockRecorder) States(arg0 ...interface{}) *gomock.Call

States indicates an expected call of States.

Jump to

Keyboard shortcuts

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