Documentation ¶
Overview ¶
Package vertexmock is a generated GoMock package.
Index ¶
- type LinearizableVM
- func (m *LinearizableVM) AppGossip(arg0 context.Context, arg1 ids.NodeID, arg2 []byte) error
- func (m *LinearizableVM) AppRequest(arg0 context.Context, arg1 ids.NodeID, arg2 uint32, arg3 time.Time, ...) error
- func (m *LinearizableVM) AppRequestFailed(arg0 context.Context, arg1 ids.NodeID, arg2 uint32, arg3 *common.AppError) error
- func (m *LinearizableVM) AppResponse(arg0 context.Context, arg1 ids.NodeID, arg2 uint32, arg3 []byte) error
- func (m *LinearizableVM) BuildBlock(arg0 context.Context) (snowman.Block, error)
- func (m *LinearizableVM) Connected(arg0 context.Context, arg1 ids.NodeID, arg2 *version.Application) error
- func (m *LinearizableVM) CreateHandlers(arg0 context.Context) (map[string]http.Handler, error)
- func (m *LinearizableVM) Disconnected(arg0 context.Context, arg1 ids.NodeID) error
- func (m *LinearizableVM) EXPECT() *LinearizableVMMockRecorder
- func (m *LinearizableVM) GetBlock(arg0 context.Context, arg1 ids.ID) (snowman.Block, error)
- func (m *LinearizableVM) GetBlockIDAtHeight(arg0 context.Context, arg1 uint64) (ids.ID, error)
- func (m *LinearizableVM) HealthCheck(arg0 context.Context) (any, error)
- func (m *LinearizableVM) Initialize(arg0 context.Context, arg1 *snow.Context, arg2 database.Database, ...) error
- func (m *LinearizableVM) LastAccepted(arg0 context.Context) (ids.ID, error)
- func (m *LinearizableVM) Linearize(arg0 context.Context, arg1 ids.ID) error
- func (m *LinearizableVM) ParseBlock(arg0 context.Context, arg1 []byte) (snowman.Block, error)
- func (m *LinearizableVM) ParseTx(arg0 context.Context, arg1 []byte) (snowstorm.Tx, error)
- func (m *LinearizableVM) SetPreference(arg0 context.Context, arg1 ids.ID) error
- func (m *LinearizableVM) SetState(arg0 context.Context, arg1 snow.State) error
- func (m *LinearizableVM) Shutdown(arg0 context.Context) error
- func (m *LinearizableVM) Version(arg0 context.Context) (string, error)
- type LinearizableVMMockRecorder
- func (mr *LinearizableVMMockRecorder) AppGossip(arg0, arg1, arg2 any) *gomock.Call
- func (mr *LinearizableVMMockRecorder) AppRequest(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
- func (mr *LinearizableVMMockRecorder) AppRequestFailed(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *LinearizableVMMockRecorder) AppResponse(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *LinearizableVMMockRecorder) BuildBlock(arg0 any) *gomock.Call
- func (mr *LinearizableVMMockRecorder) Connected(arg0, arg1, arg2 any) *gomock.Call
- func (mr *LinearizableVMMockRecorder) CreateHandlers(arg0 any) *gomock.Call
- func (mr *LinearizableVMMockRecorder) Disconnected(arg0, arg1 any) *gomock.Call
- func (mr *LinearizableVMMockRecorder) GetBlock(arg0, arg1 any) *gomock.Call
- func (mr *LinearizableVMMockRecorder) GetBlockIDAtHeight(arg0, arg1 any) *gomock.Call
- func (mr *LinearizableVMMockRecorder) HealthCheck(arg0 any) *gomock.Call
- func (mr *LinearizableVMMockRecorder) Initialize(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 any) *gomock.Call
- func (mr *LinearizableVMMockRecorder) LastAccepted(arg0 any) *gomock.Call
- func (mr *LinearizableVMMockRecorder) Linearize(arg0, arg1 any) *gomock.Call
- func (mr *LinearizableVMMockRecorder) ParseBlock(arg0, arg1 any) *gomock.Call
- func (mr *LinearizableVMMockRecorder) ParseTx(arg0, arg1 any) *gomock.Call
- func (mr *LinearizableVMMockRecorder) SetPreference(arg0, arg1 any) *gomock.Call
- func (mr *LinearizableVMMockRecorder) SetState(arg0, arg1 any) *gomock.Call
- func (mr *LinearizableVMMockRecorder) Shutdown(arg0 any) *gomock.Call
- func (mr *LinearizableVMMockRecorder) Version(arg0 any) *gomock.Call
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) 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 ¶
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 ¶
CreateHandlers mocks base method.
func (*LinearizableVM) Disconnected ¶
Disconnected mocks base method.
func (*LinearizableVM) EXPECT ¶
func (m *LinearizableVM) EXPECT() *LinearizableVMMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*LinearizableVM) GetBlockIDAtHeight ¶
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 ¶
LastAccepted mocks base method.
func (*LinearizableVM) ParseBlock ¶
ParseBlock mocks base method.
func (*LinearizableVM) SetPreference ¶
SetPreference 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.