vertexmock

package
v1.11.11-rc.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Overview

Package vertexmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LinearizableVM

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

LinearizableVM is a mock of LinearizableVM interface.

func NewLinearizableVM

func NewLinearizableVM(ctrl *gomock.Controller) *LinearizableVM

NewLinearizableVM creates a new mock instance.

func (*LinearizableVM) AppGossip

func (m *LinearizableVM) AppGossip(arg0 context.Context, arg1 ids.NodeID, arg2 []byte) error

AppGossip mocks base method.

func (*LinearizableVM) AppRequest

func (m *LinearizableVM) AppRequest(arg0 context.Context, arg1 ids.NodeID, arg2 uint32, arg3 time.Time, arg4 []byte) error

AppRequest mocks base method.

func (*LinearizableVM) AppRequestFailed

func (m *LinearizableVM) AppRequestFailed(arg0 context.Context, arg1 ids.NodeID, arg2 uint32, arg3 *common.AppError) error

AppRequestFailed mocks base method.

func (*LinearizableVM) AppResponse

func (m *LinearizableVM) AppResponse(arg0 context.Context, arg1 ids.NodeID, arg2 uint32, arg3 []byte) error

AppResponse mocks base method.

func (*LinearizableVM) BuildBlock

func (m *LinearizableVM) BuildBlock(arg0 context.Context) (snowman.Block, error)

BuildBlock mocks base method.

func (*LinearizableVM) Connected

func (m *LinearizableVM) Connected(arg0 context.Context, arg1 ids.NodeID, arg2 *version.Application) error

Connected mocks base method.

func (*LinearizableVM) CreateHandlers

func (m *LinearizableVM) CreateHandlers(arg0 context.Context) (map[string]http.Handler, error)

CreateHandlers mocks base method.

func (*LinearizableVM) Disconnected

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

Disconnected mocks base method.

func (*LinearizableVM) EXPECT

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

func (*LinearizableVM) GetBlock

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

GetBlock mocks base method.

func (*LinearizableVM) GetBlockIDAtHeight

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

GetBlockIDAtHeight mocks base method.

func (*LinearizableVM) HealthCheck

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

HealthCheck mocks base method.

func (*LinearizableVM) Initialize

func (m *LinearizableVM) Initialize(arg0 context.Context, arg1 *snow.Context, arg2 database.Database, arg3, arg4, arg5 []byte, arg6 chan<- common.Message, arg7 []*common.Fx, arg8 common.AppSender) error

Initialize mocks base method.

func (*LinearizableVM) LastAccepted

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

LastAccepted mocks base method.

func (*LinearizableVM) Linearize

func (m *LinearizableVM) Linearize(arg0 context.Context, arg1 ids.ID) error

Linearize mocks base method.

func (*LinearizableVM) ParseBlock

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

ParseBlock mocks base method.

func (*LinearizableVM) ParseTx

func (m *LinearizableVM) ParseTx(arg0 context.Context, arg1 []byte) (snowstorm.Tx, error)

ParseTx mocks base method.

func (*LinearizableVM) SetPreference

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

SetPreference mocks base method.

func (*LinearizableVM) SetState

func (m *LinearizableVM) SetState(arg0 context.Context, arg1 snow.State) error

SetState mocks base method.

func (*LinearizableVM) Shutdown

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

Shutdown mocks base method.

func (*LinearizableVM) Version

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

Version mocks base method.

type LinearizableVMMockRecorder

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

LinearizableVMMockRecorder is the mock recorder for LinearizableVM.

func (*LinearizableVMMockRecorder) AppGossip

func (mr *LinearizableVMMockRecorder) AppGossip(arg0, arg1, arg2 any) *gomock.Call

AppGossip indicates an expected call of AppGossip.

func (*LinearizableVMMockRecorder) AppRequest

func (mr *LinearizableVMMockRecorder) AppRequest(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

AppRequest indicates an expected call of AppRequest.

func (*LinearizableVMMockRecorder) AppRequestFailed

func (mr *LinearizableVMMockRecorder) AppRequestFailed(arg0, arg1, arg2, arg3 any) *gomock.Call

AppRequestFailed indicates an expected call of AppRequestFailed.

func (*LinearizableVMMockRecorder) AppResponse

func (mr *LinearizableVMMockRecorder) AppResponse(arg0, arg1, arg2, arg3 any) *gomock.Call

AppResponse indicates an expected call of AppResponse.

func (*LinearizableVMMockRecorder) BuildBlock

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

BuildBlock indicates an expected call of BuildBlock.

func (*LinearizableVMMockRecorder) Connected

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

Connected indicates an expected call of Connected.

func (*LinearizableVMMockRecorder) CreateHandlers

func (mr *LinearizableVMMockRecorder) CreateHandlers(arg0 any) *gomock.Call

CreateHandlers indicates an expected call of CreateHandlers.

func (*LinearizableVMMockRecorder) Disconnected

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

Disconnected indicates an expected call of Disconnected.

func (*LinearizableVMMockRecorder) GetBlock

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

GetBlock indicates an expected call of GetBlock.

func (*LinearizableVMMockRecorder) GetBlockIDAtHeight

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

GetBlockIDAtHeight indicates an expected call of GetBlockIDAtHeight.

func (*LinearizableVMMockRecorder) HealthCheck

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

HealthCheck indicates an expected call of HealthCheck.

func (*LinearizableVMMockRecorder) Initialize

func (mr *LinearizableVMMockRecorder) Initialize(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 any) *gomock.Call

Initialize indicates an expected call of Initialize.

func (*LinearizableVMMockRecorder) LastAccepted

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

LastAccepted indicates an expected call of LastAccepted.

func (*LinearizableVMMockRecorder) Linearize

func (mr *LinearizableVMMockRecorder) Linearize(arg0, arg1 any) *gomock.Call

Linearize indicates an expected call of Linearize.

func (*LinearizableVMMockRecorder) ParseBlock

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

ParseBlock indicates an expected call of ParseBlock.

func (*LinearizableVMMockRecorder) ParseTx

func (mr *LinearizableVMMockRecorder) ParseTx(arg0, arg1 any) *gomock.Call

ParseTx indicates an expected call of ParseTx.

func (*LinearizableVMMockRecorder) SetPreference

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

SetPreference indicates an expected call of SetPreference.

func (*LinearizableVMMockRecorder) SetState

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

SetState indicates an expected call of SetState.

func (*LinearizableVMMockRecorder) Shutdown

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

Shutdown indicates an expected call of Shutdown.

func (*LinearizableVMMockRecorder) Version

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

Version indicates an expected call of Version.

Jump to

Keyboard shortcuts

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