handlermock

package
v1.11.12-oidc-test Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package handlermock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler is a mock of Handler interface.

func NewHandler

func NewHandler(ctrl *gomock.Controller) *Handler

NewHandler creates a new mock instance.

func (*Handler) AwaitStopped

func (m *Handler) AwaitStopped(arg0 context.Context) (time.Duration, error)

AwaitStopped mocks base method.

func (*Handler) Context

func (m *Handler) Context() *snow.ConsensusContext

Context mocks base method.

func (*Handler) EXPECT

func (m *Handler) EXPECT() *HandlerMockRecorder

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

func (*Handler) GetEngineManager

func (m *Handler) GetEngineManager() *handler.EngineManager

GetEngineManager mocks base method.

func (*Handler) HealthCheck

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

HealthCheck mocks base method.

func (*Handler) Len

func (m *Handler) Len() int

Len mocks base method.

func (*Handler) Push

func (m *Handler) Push(arg0 context.Context, arg1 handler.Message)

Push mocks base method.

func (*Handler) RegisterTimeout

func (m *Handler) RegisterTimeout(arg0 time.Duration)

RegisterTimeout mocks base method.

func (*Handler) SetEngineManager

func (m *Handler) SetEngineManager(arg0 *handler.EngineManager)

SetEngineManager mocks base method.

func (*Handler) SetOnStopped

func (m *Handler) SetOnStopped(arg0 func())

SetOnStopped mocks base method.

func (*Handler) ShouldHandle

func (m *Handler) ShouldHandle(arg0 ids.NodeID) bool

ShouldHandle mocks base method.

func (*Handler) Start

func (m *Handler) Start(arg0 context.Context, arg1 bool)

Start mocks base method.

func (*Handler) Stop

func (m *Handler) Stop(arg0 context.Context)

Stop mocks base method.

func (*Handler) StopWithError

func (m *Handler) StopWithError(arg0 context.Context, arg1 error)

StopWithError mocks base method.

type HandlerMockRecorder

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

HandlerMockRecorder is the mock recorder for Handler.

func (*HandlerMockRecorder) AwaitStopped

func (mr *HandlerMockRecorder) AwaitStopped(arg0 any) *gomock.Call

AwaitStopped indicates an expected call of AwaitStopped.

func (*HandlerMockRecorder) Context

func (mr *HandlerMockRecorder) Context() *gomock.Call

Context indicates an expected call of Context.

func (*HandlerMockRecorder) GetEngineManager

func (mr *HandlerMockRecorder) GetEngineManager() *gomock.Call

GetEngineManager indicates an expected call of GetEngineManager.

func (*HandlerMockRecorder) HealthCheck

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

HealthCheck indicates an expected call of HealthCheck.

func (*HandlerMockRecorder) Len

func (mr *HandlerMockRecorder) Len() *gomock.Call

Len indicates an expected call of Len.

func (*HandlerMockRecorder) Push

func (mr *HandlerMockRecorder) Push(arg0, arg1 any) *gomock.Call

Push indicates an expected call of Push.

func (*HandlerMockRecorder) RegisterTimeout

func (mr *HandlerMockRecorder) RegisterTimeout(arg0 any) *gomock.Call

RegisterTimeout indicates an expected call of RegisterTimeout.

func (*HandlerMockRecorder) SetEngineManager

func (mr *HandlerMockRecorder) SetEngineManager(arg0 any) *gomock.Call

SetEngineManager indicates an expected call of SetEngineManager.

func (*HandlerMockRecorder) SetOnStopped

func (mr *HandlerMockRecorder) SetOnStopped(arg0 any) *gomock.Call

SetOnStopped indicates an expected call of SetOnStopped.

func (*HandlerMockRecorder) ShouldHandle

func (mr *HandlerMockRecorder) ShouldHandle(arg0 any) *gomock.Call

ShouldHandle indicates an expected call of ShouldHandle.

func (*HandlerMockRecorder) Start

func (mr *HandlerMockRecorder) Start(arg0, arg1 any) *gomock.Call

Start indicates an expected call of Start.

func (*HandlerMockRecorder) Stop

func (mr *HandlerMockRecorder) Stop(arg0 any) *gomock.Call

Stop indicates an expected call of Stop.

func (*HandlerMockRecorder) StopWithError

func (mr *HandlerMockRecorder) StopWithError(arg0, arg1 any) *gomock.Call

StopWithError indicates an expected call of StopWithError.

Jump to

Keyboard shortcuts

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