blockmock

package
v1.22.13 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package blockmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBlock

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

MockBlock is a mock of Block interface.

func NewMockBlock

func NewMockBlock(ctrl *gomock.Controller) *MockBlock

NewMockBlock creates a new mock instance.

func (*MockBlock) Accept

func (m *MockBlock) Accept(arg0 context.Context) error

Accept mocks base method.

func (*MockBlock) Bytes

func (m *MockBlock) Bytes() []byte

Bytes mocks base method.

func (*MockBlock) EXPECT added in v1.19.10

func (m *MockBlock) EXPECT() *MockBlockMockRecorder

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

func (*MockBlock) Height

func (m *MockBlock) Height() uint64

Height mocks base method.

func (*MockBlock) ID

func (m *MockBlock) ID() ids.ID

ID mocks base method.

func (*MockBlock) Parent

func (m *MockBlock) Parent() ids.ID

Parent mocks base method.

func (*MockBlock) ParentID added in v1.19.10

func (m *MockBlock) ParentID() ids.ID

ParentID mocks base method.

func (*MockBlock) Reject

func (m *MockBlock) Reject(arg0 context.Context) error

Reject mocks base method.

func (*MockBlock) Status

func (m *MockBlock) Status() uint8

Status mocks base method.

func (*MockBlock) Timestamp

func (m *MockBlock) Timestamp() time.Time

Timestamp mocks base method.

func (*MockBlock) Verify added in v1.19.10

func (m *MockBlock) Verify(arg0 context.Context) error

Verify mocks base method.

type MockBlockMockRecorder added in v1.19.10

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

MockBlockMockRecorder is the mock recorder for MockBlock.

func (*MockBlockMockRecorder) Accept added in v1.19.10

func (mr *MockBlockMockRecorder) Accept(arg0 any) *gomock.Call

Accept indicates an expected call of Accept.

func (*MockBlockMockRecorder) Bytes added in v1.19.10

func (mr *MockBlockMockRecorder) Bytes() *gomock.Call

Bytes indicates an expected call of Bytes.

func (*MockBlockMockRecorder) Height added in v1.19.10

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

Height indicates an expected call of Height.

func (*MockBlockMockRecorder) ID added in v1.19.10

func (mr *MockBlockMockRecorder) ID() *gomock.Call

ID indicates an expected call of ID.

func (*MockBlockMockRecorder) Parent added in v1.19.10

func (mr *MockBlockMockRecorder) Parent() *gomock.Call

Parent indicates an expected call of Parent.

func (*MockBlockMockRecorder) ParentID added in v1.19.10

func (mr *MockBlockMockRecorder) ParentID() *gomock.Call

ParentID indicates an expected call of ParentID.

func (*MockBlockMockRecorder) Reject added in v1.19.10

func (mr *MockBlockMockRecorder) Reject(arg0 any) *gomock.Call

Reject indicates an expected call of Reject.

func (*MockBlockMockRecorder) Status added in v1.19.10

func (mr *MockBlockMockRecorder) Status() *gomock.Call

Status indicates an expected call of Status.

func (*MockBlockMockRecorder) Timestamp added in v1.19.10

func (mr *MockBlockMockRecorder) Timestamp() *gomock.Call

Timestamp indicates an expected call of Timestamp.

func (*MockBlockMockRecorder) Verify added in v1.19.10

func (mr *MockBlockMockRecorder) Verify(arg0 any) *gomock.Call

Verify indicates an expected call of Verify.

type MockBuildBlockWithContextVM added in v1.19.10

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

MockBuildBlockWithContextVM is a mock of BuildBlockWithContextVM interface.

func NewMockBuildBlockWithContextVM added in v1.19.10

func NewMockBuildBlockWithContextVM(ctrl *gomock.Controller) *MockBuildBlockWithContextVM

NewMockBuildBlockWithContextVM creates a new mock instance.

func (*MockBuildBlockWithContextVM) BuildBlock added in v1.19.10

BuildBlock mocks base method.

func (*MockBuildBlockWithContextVM) BuildBlockWithContext added in v1.19.10

func (m *MockBuildBlockWithContextVM) BuildBlockWithContext(arg0 context.Context, arg1 *block.Context) (block.Block, error)

BuildBlockWithContext mocks base method.

func (*MockBuildBlockWithContextVM) Connected added in v1.19.10

func (m *MockBuildBlockWithContextVM) Connected(arg0 context.Context, arg1 ids.NodeID, arg2 any) error

Connected mocks base method.

func (*MockBuildBlockWithContextVM) Disconnected added in v1.19.10

func (m *MockBuildBlockWithContextVM) Disconnected(arg0 context.Context, arg1 ids.NodeID) error

Disconnected mocks base method.

func (*MockBuildBlockWithContextVM) EXPECT added in v1.19.10

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

func (*MockBuildBlockWithContextVM) GetBlock added in v1.19.10

func (m *MockBuildBlockWithContextVM) GetBlock(arg0 context.Context, arg1 ids.ID) (block.Block, error)

GetBlock mocks base method.

func (*MockBuildBlockWithContextVM) GetBlockIDAtHeight added in v1.19.10

func (m *MockBuildBlockWithContextVM) GetBlockIDAtHeight(arg0 context.Context, arg1 uint64) (ids.ID, error)

GetBlockIDAtHeight mocks base method.

func (*MockBuildBlockWithContextVM) HealthCheck added in v1.19.10

func (m *MockBuildBlockWithContextVM) HealthCheck(arg0 context.Context) (any, error)

HealthCheck mocks base method.

func (*MockBuildBlockWithContextVM) Initialize added in v1.19.10

func (m *MockBuildBlockWithContextVM) Initialize(ctx context.Context, chainCtx, db any, genesisBytes, upgradeBytes, configBytes []byte, msgChan any, fxs []any, appSender any) error

Initialize mocks base method.

func (*MockBuildBlockWithContextVM) LastAccepted added in v1.19.10

func (m *MockBuildBlockWithContextVM) LastAccepted(arg0 context.Context) (ids.ID, error)

LastAccepted mocks base method.

func (*MockBuildBlockWithContextVM) NewHTTPHandler added in v1.19.10

func (m *MockBuildBlockWithContextVM) NewHTTPHandler(arg0 context.Context) (any, error)

NewHTTPHandler mocks base method.

func (*MockBuildBlockWithContextVM) ParseBlock added in v1.19.10

func (m *MockBuildBlockWithContextVM) ParseBlock(arg0 context.Context, arg1 []byte) (block.Block, error)

ParseBlock mocks base method.

func (*MockBuildBlockWithContextVM) SetPreference added in v1.19.10

func (m *MockBuildBlockWithContextVM) SetPreference(arg0 context.Context, arg1 ids.ID) error

SetPreference mocks base method.

func (*MockBuildBlockWithContextVM) SetState added in v1.19.10

func (m *MockBuildBlockWithContextVM) SetState(arg0 context.Context, arg1 uint32) error

SetState mocks base method.

func (*MockBuildBlockWithContextVM) Shutdown added in v1.19.10

Shutdown mocks base method.

func (*MockBuildBlockWithContextVM) Version added in v1.19.10

Version mocks base method.

func (*MockBuildBlockWithContextVM) WaitForEvent added in v1.19.10

func (m *MockBuildBlockWithContextVM) WaitForEvent(arg0 context.Context) (any, error)

WaitForEvent mocks base method.

type MockBuildBlockWithContextVMMockRecorder added in v1.19.10

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

MockBuildBlockWithContextVMMockRecorder is the mock recorder for MockBuildBlockWithContextVM.

func (*MockBuildBlockWithContextVMMockRecorder) BuildBlock added in v1.19.10

BuildBlock indicates an expected call of BuildBlock.

func (*MockBuildBlockWithContextVMMockRecorder) BuildBlockWithContext added in v1.19.10

func (mr *MockBuildBlockWithContextVMMockRecorder) BuildBlockWithContext(arg0, arg1 any) *gomock.Call

BuildBlockWithContext indicates an expected call of BuildBlockWithContext.

func (*MockBuildBlockWithContextVMMockRecorder) Connected added in v1.19.10

func (mr *MockBuildBlockWithContextVMMockRecorder) Connected(arg0, arg1, arg2 any) *gomock.Call

Connected indicates an expected call of Connected.

func (*MockBuildBlockWithContextVMMockRecorder) Disconnected added in v1.19.10

func (mr *MockBuildBlockWithContextVMMockRecorder) Disconnected(arg0, arg1 any) *gomock.Call

Disconnected indicates an expected call of Disconnected.

func (*MockBuildBlockWithContextVMMockRecorder) GetBlock added in v1.19.10

func (mr *MockBuildBlockWithContextVMMockRecorder) GetBlock(arg0, arg1 any) *gomock.Call

GetBlock indicates an expected call of GetBlock.

func (*MockBuildBlockWithContextVMMockRecorder) GetBlockIDAtHeight added in v1.19.10

func (mr *MockBuildBlockWithContextVMMockRecorder) GetBlockIDAtHeight(arg0, arg1 any) *gomock.Call

GetBlockIDAtHeight indicates an expected call of GetBlockIDAtHeight.

func (*MockBuildBlockWithContextVMMockRecorder) HealthCheck added in v1.19.10

func (mr *MockBuildBlockWithContextVMMockRecorder) HealthCheck(arg0 any) *gomock.Call

HealthCheck indicates an expected call of HealthCheck.

func (*MockBuildBlockWithContextVMMockRecorder) Initialize added in v1.19.10

func (mr *MockBuildBlockWithContextVMMockRecorder) Initialize(ctx, chainCtx, db, genesisBytes, upgradeBytes, configBytes, msgChan, fxs, appSender any) *gomock.Call

Initialize indicates an expected call of Initialize.

func (*MockBuildBlockWithContextVMMockRecorder) LastAccepted added in v1.19.10

func (mr *MockBuildBlockWithContextVMMockRecorder) LastAccepted(arg0 any) *gomock.Call

LastAccepted indicates an expected call of LastAccepted.

func (*MockBuildBlockWithContextVMMockRecorder) NewHTTPHandler added in v1.19.10

func (mr *MockBuildBlockWithContextVMMockRecorder) NewHTTPHandler(arg0 any) *gomock.Call

NewHTTPHandler indicates an expected call of NewHTTPHandler.

func (*MockBuildBlockWithContextVMMockRecorder) ParseBlock added in v1.19.10

func (mr *MockBuildBlockWithContextVMMockRecorder) ParseBlock(arg0, arg1 any) *gomock.Call

ParseBlock indicates an expected call of ParseBlock.

func (*MockBuildBlockWithContextVMMockRecorder) SetPreference added in v1.19.10

func (mr *MockBuildBlockWithContextVMMockRecorder) SetPreference(arg0, arg1 any) *gomock.Call

SetPreference indicates an expected call of SetPreference.

func (*MockBuildBlockWithContextVMMockRecorder) SetState added in v1.19.10

func (mr *MockBuildBlockWithContextVMMockRecorder) SetState(arg0, arg1 any) *gomock.Call

SetState indicates an expected call of SetState.

func (*MockBuildBlockWithContextVMMockRecorder) Shutdown added in v1.19.10

Shutdown indicates an expected call of Shutdown.

func (*MockBuildBlockWithContextVMMockRecorder) Version added in v1.19.10

Version indicates an expected call of Version.

func (*MockBuildBlockWithContextVMMockRecorder) WaitForEvent added in v1.19.10

func (mr *MockBuildBlockWithContextVMMockRecorder) WaitForEvent(arg0 any) *gomock.Call

WaitForEvent indicates an expected call of WaitForEvent.

type MockChainVM added in v1.19.10

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

MockChainVM is a mock of ChainVM interface.

func NewMockChainVM added in v1.19.10

func NewMockChainVM(ctrl *gomock.Controller) *MockChainVM

NewMockChainVM creates a new mock instance.

func (*MockChainVM) BuildBlock added in v1.19.10

func (m *MockChainVM) BuildBlock(arg0 context.Context) (block.Block, error)

BuildBlock mocks base method.

func (*MockChainVM) Connected added in v1.19.10

func (m *MockChainVM) Connected(arg0 context.Context, arg1 ids.NodeID, arg2 any) error

Connected mocks base method.

func (*MockChainVM) Disconnected added in v1.19.10

func (m *MockChainVM) Disconnected(arg0 context.Context, arg1 ids.NodeID) error

Disconnected mocks base method.

func (*MockChainVM) EXPECT added in v1.19.10

func (m *MockChainVM) EXPECT() *MockChainVMMockRecorder

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

func (*MockChainVM) GetBlock added in v1.19.10

func (m *MockChainVM) GetBlock(arg0 context.Context, arg1 ids.ID) (block.Block, error)

GetBlock mocks base method.

func (*MockChainVM) GetBlockIDAtHeight added in v1.19.10

func (m *MockChainVM) GetBlockIDAtHeight(arg0 context.Context, arg1 uint64) (ids.ID, error)

GetBlockIDAtHeight mocks base method.

func (*MockChainVM) HealthCheck added in v1.19.10

func (m *MockChainVM) HealthCheck(arg0 context.Context) (any, error)

HealthCheck mocks base method.

func (*MockChainVM) Initialize added in v1.19.10

func (m *MockChainVM) Initialize(ctx context.Context, chainCtx, db any, genesisBytes, upgradeBytes, configBytes []byte, msgChan any, fxs []any, appSender any) error

Initialize mocks base method.

func (*MockChainVM) LastAccepted added in v1.19.10

func (m *MockChainVM) LastAccepted(arg0 context.Context) (ids.ID, error)

LastAccepted mocks base method.

func (*MockChainVM) NewHTTPHandler added in v1.19.10

func (m *MockChainVM) NewHTTPHandler(arg0 context.Context) (any, error)

NewHTTPHandler mocks base method.

func (*MockChainVM) ParseBlock added in v1.19.10

func (m *MockChainVM) ParseBlock(arg0 context.Context, arg1 []byte) (block.Block, error)

ParseBlock mocks base method.

func (*MockChainVM) SetPreference added in v1.19.10

func (m *MockChainVM) SetPreference(arg0 context.Context, arg1 ids.ID) error

SetPreference mocks base method.

func (*MockChainVM) SetState added in v1.19.10

func (m *MockChainVM) SetState(arg0 context.Context, arg1 uint32) error

SetState mocks base method.

func (*MockChainVM) Shutdown added in v1.19.10

func (m *MockChainVM) Shutdown(arg0 context.Context) error

Shutdown mocks base method.

func (*MockChainVM) Version added in v1.19.10

func (m *MockChainVM) Version(arg0 context.Context) (string, error)

Version mocks base method.

func (*MockChainVM) WaitForEvent added in v1.19.10

func (m *MockChainVM) WaitForEvent(arg0 context.Context) (any, error)

WaitForEvent mocks base method.

type MockChainVMMockRecorder added in v1.19.10

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

MockChainVMMockRecorder is the mock recorder for MockChainVM.

func (*MockChainVMMockRecorder) BuildBlock added in v1.19.10

func (mr *MockChainVMMockRecorder) BuildBlock(arg0 any) *gomock.Call

BuildBlock indicates an expected call of BuildBlock.

func (*MockChainVMMockRecorder) Connected added in v1.19.10

func (mr *MockChainVMMockRecorder) Connected(arg0, arg1, arg2 any) *gomock.Call

Connected indicates an expected call of Connected.

func (*MockChainVMMockRecorder) Disconnected added in v1.19.10

func (mr *MockChainVMMockRecorder) Disconnected(arg0, arg1 any) *gomock.Call

Disconnected indicates an expected call of Disconnected.

func (*MockChainVMMockRecorder) GetBlock added in v1.19.10

func (mr *MockChainVMMockRecorder) GetBlock(arg0, arg1 any) *gomock.Call

GetBlock indicates an expected call of GetBlock.

func (*MockChainVMMockRecorder) GetBlockIDAtHeight added in v1.19.10

func (mr *MockChainVMMockRecorder) GetBlockIDAtHeight(arg0, arg1 any) *gomock.Call

GetBlockIDAtHeight indicates an expected call of GetBlockIDAtHeight.

func (*MockChainVMMockRecorder) HealthCheck added in v1.19.10

func (mr *MockChainVMMockRecorder) HealthCheck(arg0 any) *gomock.Call

HealthCheck indicates an expected call of HealthCheck.

func (*MockChainVMMockRecorder) Initialize added in v1.19.10

func (mr *MockChainVMMockRecorder) Initialize(ctx, chainCtx, db, genesisBytes, upgradeBytes, configBytes, msgChan, fxs, appSender any) *gomock.Call

Initialize indicates an expected call of Initialize.

func (*MockChainVMMockRecorder) LastAccepted added in v1.19.10

func (mr *MockChainVMMockRecorder) LastAccepted(arg0 any) *gomock.Call

LastAccepted indicates an expected call of LastAccepted.

func (*MockChainVMMockRecorder) NewHTTPHandler added in v1.19.10

func (mr *MockChainVMMockRecorder) NewHTTPHandler(arg0 any) *gomock.Call

NewHTTPHandler indicates an expected call of NewHTTPHandler.

func (*MockChainVMMockRecorder) ParseBlock added in v1.19.10

func (mr *MockChainVMMockRecorder) ParseBlock(arg0, arg1 any) *gomock.Call

ParseBlock indicates an expected call of ParseBlock.

func (*MockChainVMMockRecorder) SetPreference added in v1.19.10

func (mr *MockChainVMMockRecorder) SetPreference(arg0, arg1 any) *gomock.Call

SetPreference indicates an expected call of SetPreference.

func (*MockChainVMMockRecorder) SetState added in v1.19.10

func (mr *MockChainVMMockRecorder) SetState(arg0, arg1 any) *gomock.Call

SetState indicates an expected call of SetState.

func (*MockChainVMMockRecorder) Shutdown added in v1.19.10

func (mr *MockChainVMMockRecorder) Shutdown(arg0 any) *gomock.Call

Shutdown indicates an expected call of Shutdown.

func (*MockChainVMMockRecorder) Version added in v1.19.10

func (mr *MockChainVMMockRecorder) Version(arg0 any) *gomock.Call

Version indicates an expected call of Version.

func (*MockChainVMMockRecorder) WaitForEvent added in v1.19.10

func (mr *MockChainVMMockRecorder) WaitForEvent(arg0 any) *gomock.Call

WaitForEvent indicates an expected call of WaitForEvent.

type MockChainVMWithHealth added in v1.19.10

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

MockChainVMWithHealth is a mock of ChainVMWithHealth interface.

func NewMockChainVMWithHealth added in v1.19.10

func NewMockChainVMWithHealth(ctrl *gomock.Controller) *MockChainVMWithHealth

NewMockChainVMWithHealth creates a new mock instance.

func (*MockChainVMWithHealth) BuildBlock added in v1.19.10

func (m *MockChainVMWithHealth) BuildBlock(arg0 context.Context) (block.Block, error)

BuildBlock mocks base method.

func (*MockChainVMWithHealth) Connected added in v1.19.10

func (m *MockChainVMWithHealth) Connected(arg0 context.Context, arg1 ids.NodeID, arg2 any) error

Connected mocks base method.

func (*MockChainVMWithHealth) Disconnected added in v1.19.10

func (m *MockChainVMWithHealth) Disconnected(arg0 context.Context, arg1 ids.NodeID) error

Disconnected mocks base method.

func (*MockChainVMWithHealth) EXPECT added in v1.19.10

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

func (*MockChainVMWithHealth) GetBlock added in v1.19.10

func (m *MockChainVMWithHealth) GetBlock(arg0 context.Context, arg1 ids.ID) (block.Block, error)

GetBlock mocks base method.

func (*MockChainVMWithHealth) GetBlockIDAtHeight added in v1.19.10

func (m *MockChainVMWithHealth) GetBlockIDAtHeight(arg0 context.Context, arg1 uint64) (ids.ID, error)

GetBlockIDAtHeight mocks base method.

func (*MockChainVMWithHealth) HealthCheck added in v1.19.10

func (m *MockChainVMWithHealth) HealthCheck(arg0 context.Context) (any, error)

HealthCheck mocks base method.

func (*MockChainVMWithHealth) Initialize added in v1.19.10

func (m *MockChainVMWithHealth) Initialize(ctx context.Context, chainCtx, db any, genesisBytes, upgradeBytes, configBytes []byte, msgChan any, fxs []any, appSender any) error

Initialize mocks base method.

func (*MockChainVMWithHealth) LastAccepted added in v1.19.10

func (m *MockChainVMWithHealth) LastAccepted(arg0 context.Context) (ids.ID, error)

LastAccepted mocks base method.

func (*MockChainVMWithHealth) NewHTTPHandler added in v1.19.10

func (m *MockChainVMWithHealth) NewHTTPHandler(arg0 context.Context) (any, error)

NewHTTPHandler mocks base method.

func (*MockChainVMWithHealth) ParseBlock added in v1.19.10

func (m *MockChainVMWithHealth) ParseBlock(arg0 context.Context, arg1 []byte) (block.Block, error)

ParseBlock mocks base method.

func (*MockChainVMWithHealth) SetPreference added in v1.19.10

func (m *MockChainVMWithHealth) SetPreference(arg0 context.Context, arg1 ids.ID) error

SetPreference mocks base method.

func (*MockChainVMWithHealth) SetState added in v1.19.10

func (m *MockChainVMWithHealth) SetState(arg0 context.Context, arg1 uint32) error

SetState mocks base method.

func (*MockChainVMWithHealth) Shutdown added in v1.19.10

func (m *MockChainVMWithHealth) Shutdown(arg0 context.Context) error

Shutdown mocks base method.

func (*MockChainVMWithHealth) Version added in v1.19.10

func (m *MockChainVMWithHealth) Version(arg0 context.Context) (string, error)

Version mocks base method.

func (*MockChainVMWithHealth) WaitForEvent added in v1.19.10

func (m *MockChainVMWithHealth) WaitForEvent(arg0 context.Context) (any, error)

WaitForEvent mocks base method.

type MockChainVMWithHealthMockRecorder added in v1.19.10

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

MockChainVMWithHealthMockRecorder is the mock recorder for MockChainVMWithHealth.

func (*MockChainVMWithHealthMockRecorder) BuildBlock added in v1.19.10

func (mr *MockChainVMWithHealthMockRecorder) BuildBlock(arg0 any) *gomock.Call

BuildBlock indicates an expected call of BuildBlock.

func (*MockChainVMWithHealthMockRecorder) Connected added in v1.19.10

func (mr *MockChainVMWithHealthMockRecorder) Connected(arg0, arg1, arg2 any) *gomock.Call

Connected indicates an expected call of Connected.

func (*MockChainVMWithHealthMockRecorder) Disconnected added in v1.19.10

func (mr *MockChainVMWithHealthMockRecorder) Disconnected(arg0, arg1 any) *gomock.Call

Disconnected indicates an expected call of Disconnected.

func (*MockChainVMWithHealthMockRecorder) GetBlock added in v1.19.10

func (mr *MockChainVMWithHealthMockRecorder) GetBlock(arg0, arg1 any) *gomock.Call

GetBlock indicates an expected call of GetBlock.

func (*MockChainVMWithHealthMockRecorder) GetBlockIDAtHeight added in v1.19.10

func (mr *MockChainVMWithHealthMockRecorder) GetBlockIDAtHeight(arg0, arg1 any) *gomock.Call

GetBlockIDAtHeight indicates an expected call of GetBlockIDAtHeight.

func (*MockChainVMWithHealthMockRecorder) HealthCheck added in v1.19.10

func (mr *MockChainVMWithHealthMockRecorder) HealthCheck(arg0 any) *gomock.Call

HealthCheck indicates an expected call of HealthCheck.

func (*MockChainVMWithHealthMockRecorder) Initialize added in v1.19.10

func (mr *MockChainVMWithHealthMockRecorder) Initialize(ctx, chainCtx, db, genesisBytes, upgradeBytes, configBytes, msgChan, fxs, appSender any) *gomock.Call

Initialize indicates an expected call of Initialize.

func (*MockChainVMWithHealthMockRecorder) LastAccepted added in v1.19.10

func (mr *MockChainVMWithHealthMockRecorder) LastAccepted(arg0 any) *gomock.Call

LastAccepted indicates an expected call of LastAccepted.

func (*MockChainVMWithHealthMockRecorder) NewHTTPHandler added in v1.19.10

func (mr *MockChainVMWithHealthMockRecorder) NewHTTPHandler(arg0 any) *gomock.Call

NewHTTPHandler indicates an expected call of NewHTTPHandler.

func (*MockChainVMWithHealthMockRecorder) ParseBlock added in v1.19.10

func (mr *MockChainVMWithHealthMockRecorder) ParseBlock(arg0, arg1 any) *gomock.Call

ParseBlock indicates an expected call of ParseBlock.

func (*MockChainVMWithHealthMockRecorder) SetPreference added in v1.19.10

func (mr *MockChainVMWithHealthMockRecorder) SetPreference(arg0, arg1 any) *gomock.Call

SetPreference indicates an expected call of SetPreference.

func (*MockChainVMWithHealthMockRecorder) SetState added in v1.19.10

func (mr *MockChainVMWithHealthMockRecorder) SetState(arg0, arg1 any) *gomock.Call

SetState indicates an expected call of SetState.

func (*MockChainVMWithHealthMockRecorder) Shutdown added in v1.19.10

func (mr *MockChainVMWithHealthMockRecorder) Shutdown(arg0 any) *gomock.Call

Shutdown indicates an expected call of Shutdown.

func (*MockChainVMWithHealthMockRecorder) Version added in v1.19.10

func (mr *MockChainVMWithHealthMockRecorder) Version(arg0 any) *gomock.Call

Version indicates an expected call of Version.

func (*MockChainVMWithHealthMockRecorder) WaitForEvent added in v1.19.10

func (mr *MockChainVMWithHealthMockRecorder) WaitForEvent(arg0 any) *gomock.Call

WaitForEvent indicates an expected call of WaitForEvent.

type MockChainVMWithNetwork added in v1.19.10

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

MockChainVMWithNetwork is a mock of ChainVMWithNetwork interface.

func NewMockChainVMWithNetwork added in v1.19.10

func NewMockChainVMWithNetwork(ctrl *gomock.Controller) *MockChainVMWithNetwork

NewMockChainVMWithNetwork creates a new mock instance.

func (*MockChainVMWithNetwork) BuildBlock added in v1.19.10

func (m *MockChainVMWithNetwork) BuildBlock(arg0 context.Context) (block.Block, error)

BuildBlock mocks base method.

func (*MockChainVMWithNetwork) Connected added in v1.19.10

func (m *MockChainVMWithNetwork) Connected(arg0 context.Context, arg1 ids.NodeID, arg2 any) error

Connected mocks base method.

func (*MockChainVMWithNetwork) Disconnected added in v1.19.10

func (m *MockChainVMWithNetwork) Disconnected(arg0 context.Context, arg1 ids.NodeID) error

Disconnected mocks base method.

func (*MockChainVMWithNetwork) EXPECT added in v1.19.10

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

func (*MockChainVMWithNetwork) GetBlock added in v1.19.10

func (m *MockChainVMWithNetwork) GetBlock(arg0 context.Context, arg1 ids.ID) (block.Block, error)

GetBlock mocks base method.

func (*MockChainVMWithNetwork) GetBlockIDAtHeight added in v1.19.10

func (m *MockChainVMWithNetwork) GetBlockIDAtHeight(arg0 context.Context, arg1 uint64) (ids.ID, error)

GetBlockIDAtHeight mocks base method.

func (*MockChainVMWithNetwork) HealthCheck added in v1.19.10

func (m *MockChainVMWithNetwork) HealthCheck(arg0 context.Context) (any, error)

HealthCheck mocks base method.

func (*MockChainVMWithNetwork) Initialize added in v1.19.10

func (m *MockChainVMWithNetwork) Initialize(ctx context.Context, chainCtx, db any, genesisBytes, upgradeBytes, configBytes []byte, msgChan any, fxs []any, appSender any) error

Initialize mocks base method.

func (*MockChainVMWithNetwork) LastAccepted added in v1.19.10

func (m *MockChainVMWithNetwork) LastAccepted(arg0 context.Context) (ids.ID, error)

LastAccepted mocks base method.

func (*MockChainVMWithNetwork) NewHTTPHandler added in v1.19.10

func (m *MockChainVMWithNetwork) NewHTTPHandler(arg0 context.Context) (any, error)

NewHTTPHandler mocks base method.

func (*MockChainVMWithNetwork) ParseBlock added in v1.19.10

func (m *MockChainVMWithNetwork) ParseBlock(arg0 context.Context, arg1 []byte) (block.Block, error)

ParseBlock mocks base method.

func (*MockChainVMWithNetwork) SetPreference added in v1.19.10

func (m *MockChainVMWithNetwork) SetPreference(arg0 context.Context, arg1 ids.ID) error

SetPreference mocks base method.

func (*MockChainVMWithNetwork) SetState added in v1.19.10

func (m *MockChainVMWithNetwork) SetState(arg0 context.Context, arg1 uint32) error

SetState mocks base method.

func (*MockChainVMWithNetwork) Shutdown added in v1.19.10

func (m *MockChainVMWithNetwork) Shutdown(arg0 context.Context) error

Shutdown mocks base method.

func (*MockChainVMWithNetwork) Version added in v1.19.10

func (m *MockChainVMWithNetwork) Version(arg0 context.Context) (string, error)

Version mocks base method.

func (*MockChainVMWithNetwork) WaitForEvent added in v1.19.10

func (m *MockChainVMWithNetwork) WaitForEvent(arg0 context.Context) (any, error)

WaitForEvent mocks base method.

type MockChainVMWithNetworkMockRecorder added in v1.19.10

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

MockChainVMWithNetworkMockRecorder is the mock recorder for MockChainVMWithNetwork.

func (*MockChainVMWithNetworkMockRecorder) BuildBlock added in v1.19.10

func (mr *MockChainVMWithNetworkMockRecorder) BuildBlock(arg0 any) *gomock.Call

BuildBlock indicates an expected call of BuildBlock.

func (*MockChainVMWithNetworkMockRecorder) Connected added in v1.19.10

func (mr *MockChainVMWithNetworkMockRecorder) Connected(arg0, arg1, arg2 any) *gomock.Call

Connected indicates an expected call of Connected.

func (*MockChainVMWithNetworkMockRecorder) Disconnected added in v1.19.10

func (mr *MockChainVMWithNetworkMockRecorder) Disconnected(arg0, arg1 any) *gomock.Call

Disconnected indicates an expected call of Disconnected.

func (*MockChainVMWithNetworkMockRecorder) GetBlock added in v1.19.10

func (mr *MockChainVMWithNetworkMockRecorder) GetBlock(arg0, arg1 any) *gomock.Call

GetBlock indicates an expected call of GetBlock.

func (*MockChainVMWithNetworkMockRecorder) GetBlockIDAtHeight added in v1.19.10

func (mr *MockChainVMWithNetworkMockRecorder) GetBlockIDAtHeight(arg0, arg1 any) *gomock.Call

GetBlockIDAtHeight indicates an expected call of GetBlockIDAtHeight.

func (*MockChainVMWithNetworkMockRecorder) HealthCheck added in v1.19.10

func (mr *MockChainVMWithNetworkMockRecorder) HealthCheck(arg0 any) *gomock.Call

HealthCheck indicates an expected call of HealthCheck.

func (*MockChainVMWithNetworkMockRecorder) Initialize added in v1.19.10

func (mr *MockChainVMWithNetworkMockRecorder) Initialize(ctx, chainCtx, db, genesisBytes, upgradeBytes, configBytes, msgChan, fxs, appSender any) *gomock.Call

Initialize indicates an expected call of Initialize.

func (*MockChainVMWithNetworkMockRecorder) LastAccepted added in v1.19.10

func (mr *MockChainVMWithNetworkMockRecorder) LastAccepted(arg0 any) *gomock.Call

LastAccepted indicates an expected call of LastAccepted.

func (*MockChainVMWithNetworkMockRecorder) NewHTTPHandler added in v1.19.10

func (mr *MockChainVMWithNetworkMockRecorder) NewHTTPHandler(arg0 any) *gomock.Call

NewHTTPHandler indicates an expected call of NewHTTPHandler.

func (*MockChainVMWithNetworkMockRecorder) ParseBlock added in v1.19.10

func (mr *MockChainVMWithNetworkMockRecorder) ParseBlock(arg0, arg1 any) *gomock.Call

ParseBlock indicates an expected call of ParseBlock.

func (*MockChainVMWithNetworkMockRecorder) SetPreference added in v1.19.10

func (mr *MockChainVMWithNetworkMockRecorder) SetPreference(arg0, arg1 any) *gomock.Call

SetPreference indicates an expected call of SetPreference.

func (*MockChainVMWithNetworkMockRecorder) SetState added in v1.19.10

func (mr *MockChainVMWithNetworkMockRecorder) SetState(arg0, arg1 any) *gomock.Call

SetState indicates an expected call of SetState.

func (*MockChainVMWithNetworkMockRecorder) Shutdown added in v1.19.10

func (mr *MockChainVMWithNetworkMockRecorder) Shutdown(arg0 any) *gomock.Call

Shutdown indicates an expected call of Shutdown.

func (*MockChainVMWithNetworkMockRecorder) Version added in v1.19.10

Version indicates an expected call of Version.

func (*MockChainVMWithNetworkMockRecorder) WaitForEvent added in v1.19.10

func (mr *MockChainVMWithNetworkMockRecorder) WaitForEvent(arg0 any) *gomock.Call

WaitForEvent indicates an expected call of WaitForEvent.

type MockSignedBlock added in v1.19.10

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

MockSignedBlock is a mock of SignedBlock interface.

func NewMockSignedBlock added in v1.19.10

func NewMockSignedBlock(ctrl *gomock.Controller) *MockSignedBlock

NewMockSignedBlock creates a new mock instance.

func (*MockSignedBlock) Accept added in v1.19.10

func (m *MockSignedBlock) Accept(arg0 context.Context) error

Accept mocks base method.

func (*MockSignedBlock) Bytes added in v1.19.10

func (m *MockSignedBlock) Bytes() []byte

Bytes mocks base method.

func (*MockSignedBlock) EXPECT added in v1.19.10

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

func (*MockSignedBlock) Height added in v1.19.10

func (m *MockSignedBlock) Height() uint64

Height mocks base method.

func (*MockSignedBlock) ID added in v1.19.10

func (m *MockSignedBlock) ID() ids.ID

ID mocks base method.

func (*MockSignedBlock) PChainEpoch added in v1.19.10

func (m *MockSignedBlock) PChainEpoch() block.Epoch

PChainEpoch mocks base method.

func (*MockSignedBlock) PChainHeight added in v1.19.10

func (m *MockSignedBlock) PChainHeight() uint64

PChainHeight mocks base method.

func (*MockSignedBlock) Parent added in v1.19.10

func (m *MockSignedBlock) Parent() ids.ID

Parent mocks base method.

func (*MockSignedBlock) ParentID added in v1.19.10

func (m *MockSignedBlock) ParentID() ids.ID

ParentID mocks base method.

func (*MockSignedBlock) Proposer added in v1.19.10

func (m *MockSignedBlock) Proposer() ids.NodeID

Proposer mocks base method.

func (*MockSignedBlock) Reject added in v1.19.10

func (m *MockSignedBlock) Reject(arg0 context.Context) error

Reject mocks base method.

func (*MockSignedBlock) Status added in v1.19.10

func (m *MockSignedBlock) Status() uint8

Status mocks base method.

func (*MockSignedBlock) Timestamp added in v1.19.10

func (m *MockSignedBlock) Timestamp() time.Time

Timestamp mocks base method.

func (*MockSignedBlock) Verify added in v1.19.10

func (m *MockSignedBlock) Verify(arg0 context.Context) error

Verify mocks base method.

type MockSignedBlockMockRecorder added in v1.19.10

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

MockSignedBlockMockRecorder is the mock recorder for MockSignedBlock.

func (*MockSignedBlockMockRecorder) Accept added in v1.19.10

func (mr *MockSignedBlockMockRecorder) Accept(arg0 any) *gomock.Call

Accept indicates an expected call of Accept.

func (*MockSignedBlockMockRecorder) Bytes added in v1.19.10

Bytes indicates an expected call of Bytes.

func (*MockSignedBlockMockRecorder) Height added in v1.19.10

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

Height indicates an expected call of Height.

func (*MockSignedBlockMockRecorder) ID added in v1.19.10

ID indicates an expected call of ID.

func (*MockSignedBlockMockRecorder) PChainEpoch added in v1.19.10

func (mr *MockSignedBlockMockRecorder) PChainEpoch() *gomock.Call

PChainEpoch indicates an expected call of PChainEpoch.

func (*MockSignedBlockMockRecorder) PChainHeight added in v1.19.10

func (mr *MockSignedBlockMockRecorder) PChainHeight() *gomock.Call

PChainHeight indicates an expected call of PChainHeight.

func (*MockSignedBlockMockRecorder) Parent added in v1.19.10

func (mr *MockSignedBlockMockRecorder) Parent() *gomock.Call

Parent indicates an expected call of Parent.

func (*MockSignedBlockMockRecorder) ParentID added in v1.19.10

func (mr *MockSignedBlockMockRecorder) ParentID() *gomock.Call

ParentID indicates an expected call of ParentID.

func (*MockSignedBlockMockRecorder) Proposer added in v1.19.10

func (mr *MockSignedBlockMockRecorder) Proposer() *gomock.Call

Proposer indicates an expected call of Proposer.

func (*MockSignedBlockMockRecorder) Reject added in v1.19.10

func (mr *MockSignedBlockMockRecorder) Reject(arg0 any) *gomock.Call

Reject indicates an expected call of Reject.

func (*MockSignedBlockMockRecorder) Status added in v1.19.10

func (mr *MockSignedBlockMockRecorder) Status() *gomock.Call

Status indicates an expected call of Status.

func (*MockSignedBlockMockRecorder) Timestamp added in v1.19.10

func (mr *MockSignedBlockMockRecorder) Timestamp() *gomock.Call

Timestamp indicates an expected call of Timestamp.

func (*MockSignedBlockMockRecorder) Verify added in v1.19.10

func (mr *MockSignedBlockMockRecorder) Verify(arg0 any) *gomock.Call

Verify indicates an expected call of Verify.

type MockStateSummary added in v1.19.10

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

MockStateSummary is a mock of StateSummary interface.

func NewMockStateSummary added in v1.19.10

func NewMockStateSummary(ctrl *gomock.Controller) *MockStateSummary

NewMockStateSummary creates a new mock instance.

func (*MockStateSummary) Accept added in v1.19.10

Accept mocks base method.

func (*MockStateSummary) Bytes added in v1.19.10

func (m *MockStateSummary) Bytes() []byte

Bytes mocks base method.

func (*MockStateSummary) EXPECT added in v1.19.10

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

func (*MockStateSummary) Height added in v1.19.10

func (m *MockStateSummary) Height() uint64

Height mocks base method.

func (*MockStateSummary) ID added in v1.19.10

func (m *MockStateSummary) ID() ids.ID

ID mocks base method.

type MockStateSummaryMockRecorder added in v1.19.10

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

MockStateSummaryMockRecorder is the mock recorder for MockStateSummary.

func (*MockStateSummaryMockRecorder) Accept added in v1.19.10

func (mr *MockStateSummaryMockRecorder) Accept(arg0 any) *gomock.Call

Accept indicates an expected call of Accept.

func (*MockStateSummaryMockRecorder) Bytes added in v1.19.10

Bytes indicates an expected call of Bytes.

func (*MockStateSummaryMockRecorder) Height added in v1.19.10

Height indicates an expected call of Height.

func (*MockStateSummaryMockRecorder) ID added in v1.19.10

ID indicates an expected call of ID.

type MockStateSyncableVM added in v1.19.10

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

MockStateSyncableVM is a mock of StateSyncableVM interface.

func NewMockStateSyncableVM added in v1.19.10

func NewMockStateSyncableVM(ctrl *gomock.Controller) *MockStateSyncableVM

NewMockStateSyncableVM creates a new mock instance.

func (*MockStateSyncableVM) BuildBlock added in v1.19.10

func (m *MockStateSyncableVM) BuildBlock(arg0 context.Context) (block.Block, error)

BuildBlock mocks base method.

func (*MockStateSyncableVM) Connected added in v1.19.10

func (m *MockStateSyncableVM) Connected(arg0 context.Context, arg1 ids.NodeID, arg2 any) error

Connected mocks base method.

func (*MockStateSyncableVM) Disconnected added in v1.19.10

func (m *MockStateSyncableVM) Disconnected(arg0 context.Context, arg1 ids.NodeID) error

Disconnected mocks base method.

func (*MockStateSyncableVM) EXPECT added in v1.19.10

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

func (*MockStateSyncableVM) GetBlock added in v1.19.10

func (m *MockStateSyncableVM) GetBlock(arg0 context.Context, arg1 ids.ID) (block.Block, error)

GetBlock mocks base method.

func (*MockStateSyncableVM) GetBlockIDAtHeight added in v1.19.10

func (m *MockStateSyncableVM) GetBlockIDAtHeight(arg0 context.Context, arg1 uint64) (ids.ID, error)

GetBlockIDAtHeight mocks base method.

func (*MockStateSyncableVM) GetLastStateSummary added in v1.19.10

func (m *MockStateSyncableVM) GetLastStateSummary(arg0 context.Context) (block.StateSummary, error)

GetLastStateSummary mocks base method.

func (*MockStateSyncableVM) GetOngoingSyncStateSummary added in v1.19.10

func (m *MockStateSyncableVM) GetOngoingSyncStateSummary(arg0 context.Context) (block.StateSummary, error)

GetOngoingSyncStateSummary mocks base method.

func (*MockStateSyncableVM) GetStateSummary added in v1.19.10

func (m *MockStateSyncableVM) GetStateSummary(arg0 context.Context, arg1 uint64) (block.StateSummary, error)

GetStateSummary mocks base method.

func (*MockStateSyncableVM) HealthCheck added in v1.19.10

func (m *MockStateSyncableVM) HealthCheck(arg0 context.Context) (any, error)

HealthCheck mocks base method.

func (*MockStateSyncableVM) Initialize added in v1.19.10

func (m *MockStateSyncableVM) Initialize(ctx context.Context, chainCtx, db any, genesisBytes, upgradeBytes, configBytes []byte, msgChan any, fxs []any, appSender any) error

Initialize mocks base method.

func (*MockStateSyncableVM) LastAccepted added in v1.19.10

func (m *MockStateSyncableVM) LastAccepted(arg0 context.Context) (ids.ID, error)

LastAccepted mocks base method.

func (*MockStateSyncableVM) NewHTTPHandler added in v1.19.10

func (m *MockStateSyncableVM) NewHTTPHandler(arg0 context.Context) (any, error)

NewHTTPHandler mocks base method.

func (*MockStateSyncableVM) ParseBlock added in v1.19.10

func (m *MockStateSyncableVM) ParseBlock(arg0 context.Context, arg1 []byte) (block.Block, error)

ParseBlock mocks base method.

func (*MockStateSyncableVM) ParseStateSummary added in v1.19.10

func (m *MockStateSyncableVM) ParseStateSummary(arg0 context.Context, arg1 []byte) (block.StateSummary, error)

ParseStateSummary mocks base method.

func (*MockStateSyncableVM) SetPreference added in v1.19.10

func (m *MockStateSyncableVM) SetPreference(arg0 context.Context, arg1 ids.ID) error

SetPreference mocks base method.

func (*MockStateSyncableVM) SetState added in v1.19.10

func (m *MockStateSyncableVM) SetState(arg0 context.Context, arg1 uint32) error

SetState mocks base method.

func (*MockStateSyncableVM) Shutdown added in v1.19.10

func (m *MockStateSyncableVM) Shutdown(arg0 context.Context) error

Shutdown mocks base method.

func (*MockStateSyncableVM) StateSyncEnabled added in v1.19.10

func (m *MockStateSyncableVM) StateSyncEnabled(arg0 context.Context) (bool, error)

StateSyncEnabled mocks base method.

func (*MockStateSyncableVM) Version added in v1.19.10

func (m *MockStateSyncableVM) Version(arg0 context.Context) (string, error)

Version mocks base method.

func (*MockStateSyncableVM) WaitForEvent added in v1.19.10

func (m *MockStateSyncableVM) WaitForEvent(arg0 context.Context) (any, error)

WaitForEvent mocks base method.

type MockStateSyncableVMMockRecorder added in v1.19.10

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

MockStateSyncableVMMockRecorder is the mock recorder for MockStateSyncableVM.

func (*MockStateSyncableVMMockRecorder) BuildBlock added in v1.19.10

func (mr *MockStateSyncableVMMockRecorder) BuildBlock(arg0 any) *gomock.Call

BuildBlock indicates an expected call of BuildBlock.

func (*MockStateSyncableVMMockRecorder) Connected added in v1.19.10

func (mr *MockStateSyncableVMMockRecorder) Connected(arg0, arg1, arg2 any) *gomock.Call

Connected indicates an expected call of Connected.

func (*MockStateSyncableVMMockRecorder) Disconnected added in v1.19.10

func (mr *MockStateSyncableVMMockRecorder) Disconnected(arg0, arg1 any) *gomock.Call

Disconnected indicates an expected call of Disconnected.

func (*MockStateSyncableVMMockRecorder) GetBlock added in v1.19.10

func (mr *MockStateSyncableVMMockRecorder) GetBlock(arg0, arg1 any) *gomock.Call

GetBlock indicates an expected call of GetBlock.

func (*MockStateSyncableVMMockRecorder) GetBlockIDAtHeight added in v1.19.10

func (mr *MockStateSyncableVMMockRecorder) GetBlockIDAtHeight(arg0, arg1 any) *gomock.Call

GetBlockIDAtHeight indicates an expected call of GetBlockIDAtHeight.

func (*MockStateSyncableVMMockRecorder) GetLastStateSummary added in v1.19.10

func (mr *MockStateSyncableVMMockRecorder) GetLastStateSummary(arg0 any) *gomock.Call

GetLastStateSummary indicates an expected call of GetLastStateSummary.

func (*MockStateSyncableVMMockRecorder) GetOngoingSyncStateSummary added in v1.19.10

func (mr *MockStateSyncableVMMockRecorder) GetOngoingSyncStateSummary(arg0 any) *gomock.Call

GetOngoingSyncStateSummary indicates an expected call of GetOngoingSyncStateSummary.

func (*MockStateSyncableVMMockRecorder) GetStateSummary added in v1.19.10

func (mr *MockStateSyncableVMMockRecorder) GetStateSummary(arg0, arg1 any) *gomock.Call

GetStateSummary indicates an expected call of GetStateSummary.

func (*MockStateSyncableVMMockRecorder) HealthCheck added in v1.19.10

func (mr *MockStateSyncableVMMockRecorder) HealthCheck(arg0 any) *gomock.Call

HealthCheck indicates an expected call of HealthCheck.

func (*MockStateSyncableVMMockRecorder) Initialize added in v1.19.10

func (mr *MockStateSyncableVMMockRecorder) Initialize(ctx, chainCtx, db, genesisBytes, upgradeBytes, configBytes, msgChan, fxs, appSender any) *gomock.Call

Initialize indicates an expected call of Initialize.

func (*MockStateSyncableVMMockRecorder) LastAccepted added in v1.19.10

func (mr *MockStateSyncableVMMockRecorder) LastAccepted(arg0 any) *gomock.Call

LastAccepted indicates an expected call of LastAccepted.

func (*MockStateSyncableVMMockRecorder) NewHTTPHandler added in v1.19.10

func (mr *MockStateSyncableVMMockRecorder) NewHTTPHandler(arg0 any) *gomock.Call

NewHTTPHandler indicates an expected call of NewHTTPHandler.

func (*MockStateSyncableVMMockRecorder) ParseBlock added in v1.19.10

func (mr *MockStateSyncableVMMockRecorder) ParseBlock(arg0, arg1 any) *gomock.Call

ParseBlock indicates an expected call of ParseBlock.

func (*MockStateSyncableVMMockRecorder) ParseStateSummary added in v1.19.10

func (mr *MockStateSyncableVMMockRecorder) ParseStateSummary(arg0, arg1 any) *gomock.Call

ParseStateSummary indicates an expected call of ParseStateSummary.

func (*MockStateSyncableVMMockRecorder) SetPreference added in v1.19.10

func (mr *MockStateSyncableVMMockRecorder) SetPreference(arg0, arg1 any) *gomock.Call

SetPreference indicates an expected call of SetPreference.

func (*MockStateSyncableVMMockRecorder) SetState added in v1.19.10

func (mr *MockStateSyncableVMMockRecorder) SetState(arg0, arg1 any) *gomock.Call

SetState indicates an expected call of SetState.

func (*MockStateSyncableVMMockRecorder) Shutdown added in v1.19.10

func (mr *MockStateSyncableVMMockRecorder) Shutdown(arg0 any) *gomock.Call

Shutdown indicates an expected call of Shutdown.

func (*MockStateSyncableVMMockRecorder) StateSyncEnabled added in v1.19.10

func (mr *MockStateSyncableVMMockRecorder) StateSyncEnabled(arg0 any) *gomock.Call

StateSyncEnabled indicates an expected call of StateSyncEnabled.

func (*MockStateSyncableVMMockRecorder) Version added in v1.19.10

func (mr *MockStateSyncableVMMockRecorder) Version(arg0 any) *gomock.Call

Version indicates an expected call of Version.

func (*MockStateSyncableVMMockRecorder) WaitForEvent added in v1.19.10

func (mr *MockStateSyncableVMMockRecorder) WaitForEvent(arg0 any) *gomock.Call

WaitForEvent indicates an expected call of WaitForEvent.

type MockWithVerifyContext added in v1.19.10

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

MockWithVerifyContext is a mock of WithVerifyContext interface.

func NewMockWithVerifyContext added in v1.19.10

func NewMockWithVerifyContext(ctrl *gomock.Controller) *MockWithVerifyContext

NewMockWithVerifyContext creates a new mock instance.

func (*MockWithVerifyContext) EXPECT added in v1.19.10

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

func (*MockWithVerifyContext) ShouldVerifyWithContext added in v1.19.10

func (m *MockWithVerifyContext) ShouldVerifyWithContext(arg0 context.Context) (bool, error)

ShouldVerifyWithContext mocks base method.

func (*MockWithVerifyContext) VerifyWithContext added in v1.19.10

func (m *MockWithVerifyContext) VerifyWithContext(arg0 context.Context, arg1 *block.Context) error

VerifyWithContext mocks base method.

type MockWithVerifyContextMockRecorder added in v1.19.10

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

MockWithVerifyContextMockRecorder is the mock recorder for MockWithVerifyContext.

func (*MockWithVerifyContextMockRecorder) ShouldVerifyWithContext added in v1.19.10

func (mr *MockWithVerifyContextMockRecorder) ShouldVerifyWithContext(arg0 any) *gomock.Call

ShouldVerifyWithContext indicates an expected call of ShouldVerifyWithContext.

func (*MockWithVerifyContextMockRecorder) VerifyWithContext added in v1.19.10

func (mr *MockWithVerifyContextMockRecorder) VerifyWithContext(arg0, arg1 any) *gomock.Call

VerifyWithContext indicates an expected call of VerifyWithContext.

Jump to

Keyboard shortcuts

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