mocks

package
v0.72.6 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAssetsState

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

MockAssetsState is a mock of AssetsState interface.

func NewMockAssetsState

func NewMockAssetsState(ctrl *gomock.Controller) *MockAssetsState

NewMockAssetsState creates a new mock instance.

func (*MockAssetsState) Checkpoint

func (m *MockAssetsState) Checkpoint() ([]byte, error)

Checkpoint mocks base method.

func (*MockAssetsState) EXPECT

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

func (*MockAssetsState) GetEnabledAssets

func (m *MockAssetsState) GetEnabledAssets() []*types.Asset

GetEnabledAssets mocks base method.

func (*MockAssetsState) Load

func (m *MockAssetsState) Load(arg0 context.Context, arg1 []byte) error

Load mocks base method.

func (*MockAssetsState) Name

Name mocks base method.

type MockAssetsStateMockRecorder

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

MockAssetsStateMockRecorder is the mock recorder for MockAssetsState.

func (*MockAssetsStateMockRecorder) Checkpoint

func (mr *MockAssetsStateMockRecorder) Checkpoint() *gomock.Call

Checkpoint indicates an expected call of Checkpoint.

func (*MockAssetsStateMockRecorder) GetEnabledAssets

func (mr *MockAssetsStateMockRecorder) GetEnabledAssets() *gomock.Call

GetEnabledAssets indicates an expected call of GetEnabledAssets.

func (*MockAssetsStateMockRecorder) Load

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

Load indicates an expected call of Load.

func (*MockAssetsStateMockRecorder) Name

Name indicates an expected call of Name.

type MockCollateralState

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

MockCollateralState is a mock of CollateralState interface.

func NewMockCollateralState

func NewMockCollateralState(ctrl *gomock.Controller) *MockCollateralState

NewMockCollateralState creates a new mock instance.

func (*MockCollateralState) Checkpoint

func (m *MockCollateralState) Checkpoint() ([]byte, error)

Checkpoint mocks base method.

func (*MockCollateralState) EXPECT

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

func (*MockCollateralState) EnableAsset

func (m *MockCollateralState) EnableAsset(arg0 context.Context, arg1 types.Asset) error

EnableAsset mocks base method.

func (*MockCollateralState) Load

func (m *MockCollateralState) Load(arg0 context.Context, arg1 []byte) error

Load mocks base method.

func (*MockCollateralState) Name

Name mocks base method.

type MockCollateralStateMockRecorder

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

MockCollateralStateMockRecorder is the mock recorder for MockCollateralState.

func (*MockCollateralStateMockRecorder) Checkpoint

func (mr *MockCollateralStateMockRecorder) Checkpoint() *gomock.Call

Checkpoint indicates an expected call of Checkpoint.

func (*MockCollateralStateMockRecorder) EnableAsset

func (mr *MockCollateralStateMockRecorder) EnableAsset(arg0, arg1 interface{}) *gomock.Call

EnableAsset indicates an expected call of EnableAsset.

func (*MockCollateralStateMockRecorder) Load

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

Load indicates an expected call of Load.

func (*MockCollateralStateMockRecorder) Name

Name indicates an expected call of Name.

type MockState

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

MockState is a mock of State interface.

func NewMockState

func NewMockState(ctrl *gomock.Controller) *MockState

NewMockState creates a new mock instance.

func (*MockState) Checkpoint

func (m *MockState) Checkpoint() ([]byte, error)

Checkpoint mocks base method.

func (*MockState) EXPECT

func (m *MockState) EXPECT() *MockStateMockRecorder

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

func (*MockState) Load

func (m *MockState) Load(arg0 context.Context, arg1 []byte) error

Load mocks base method.

func (*MockState) Name

func (m *MockState) Name() types.CheckpointName

Name mocks base method.

type MockStateMockRecorder

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

MockStateMockRecorder is the mock recorder for MockState.

func (*MockStateMockRecorder) Checkpoint

func (mr *MockStateMockRecorder) Checkpoint() *gomock.Call

Checkpoint indicates an expected call of Checkpoint.

func (*MockStateMockRecorder) Load

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

Load indicates an expected call of Load.

func (*MockStateMockRecorder) Name

func (mr *MockStateMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

Jump to

Keyboard shortcuts

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