Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAssetsState
- func (m *MockAssetsState) Checkpoint() ([]byte, error)
- func (m *MockAssetsState) EXPECT() *MockAssetsStateMockRecorder
- func (m *MockAssetsState) GetEnabledAssets() []*types.Asset
- func (m *MockAssetsState) Load(arg0 context.Context, arg1 []byte) error
- func (m *MockAssetsState) Name() types.CheckpointName
- type MockAssetsStateMockRecorder
- type MockCollateralState
- func (m *MockCollateralState) Checkpoint() ([]byte, error)
- func (m *MockCollateralState) EXPECT() *MockCollateralStateMockRecorder
- func (m *MockCollateralState) EnableAsset(arg0 context.Context, arg1 types.Asset) error
- func (m *MockCollateralState) Load(arg0 context.Context, arg1 []byte) error
- func (m *MockCollateralState) Name() types.CheckpointName
- type MockCollateralStateMockRecorder
- func (mr *MockCollateralStateMockRecorder) Checkpoint() *gomock.Call
- func (mr *MockCollateralStateMockRecorder) EnableAsset(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCollateralStateMockRecorder) Load(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCollateralStateMockRecorder) Name() *gomock.Call
- type MockState
- type MockStateMockRecorder
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 ¶
func (m *MockAssetsState) EXPECT() *MockAssetsStateMockRecorder
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 ¶
func (m *MockAssetsState) Name() types.CheckpointName
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 ¶
func (mr *MockAssetsStateMockRecorder) Name() *gomock.Call
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 ¶
func (m *MockCollateralState) EXPECT() *MockCollateralStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCollateralState) EnableAsset ¶
EnableAsset mocks base method.
func (*MockCollateralState) Load ¶
func (m *MockCollateralState) Load(arg0 context.Context, arg1 []byte) error
Load mocks base method.
func (*MockCollateralState) Name ¶
func (m *MockCollateralState) Name() types.CheckpointName
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 ¶
func (mr *MockCollateralStateMockRecorder) Name() *gomock.Call
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 ¶
Checkpoint mocks base method.
func (*MockState) EXPECT ¶
func (m *MockState) EXPECT() *MockStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.