mock_clientstate

package
v0.0.0-...-2a45ea8 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_clientstate is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProvider

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

MockProvider is a mock of Provider interface

func NewMockProvider

func NewMockProvider(ctrl *gomock.Controller) *MockProvider

NewMockProvider creates a new mock instance

func (*MockProvider) ClientState

func (m *MockProvider) ClientState(arg0 uint32) clientstate.State

ClientState mocks base method

func (*MockProvider) Clients

func (m *MockProvider) Clients() []uint32

Clients mocks base method

func (*MockProvider) EXPECT

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

type MockProviderMockRecorder

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

MockProviderMockRecorder is the mock recorder for MockProvider

func (*MockProviderMockRecorder) ClientState

func (mr *MockProviderMockRecorder) ClientState(arg0 interface{}) *gomock.Call

ClientState indicates an expected call of ClientState

func (*MockProviderMockRecorder) Clients

func (mr *MockProviderMockRecorder) Clients() *gomock.Call

Clients indicates an expected call of Clients

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) AddReply

func (m *MockState) AddReply(arg0 messages.Reply)

AddReply mocks base method

func (*MockState) CaptureRequestSeq

func (m *MockState) CaptureRequestSeq(arg0 uint64) (bool, func())

CaptureRequestSeq mocks base method

func (*MockState) EXPECT

func (m *MockState) EXPECT() *MockStateMockRecorder

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

func (*MockState) PrepareRequestSeq

func (m *MockState) PrepareRequestSeq(arg0 uint64) (bool, error)

PrepareRequestSeq mocks base method

func (*MockState) ReplyChannel

func (m *MockState) ReplyChannel(arg0 uint64, arg1 <-chan struct{}) <-chan messages.Reply

ReplyChannel mocks base method

func (*MockState) RetireRequestSeq

func (m *MockState) RetireRequestSeq(arg0 uint64) (bool, error)

RetireRequestSeq mocks base method

func (*MockState) StartPrepareTimer

func (m *MockState) StartPrepareTimer(arg0 uint64, arg1 func())

StartPrepareTimer mocks base method

func (*MockState) StartRequestTimer

func (m *MockState) StartRequestTimer(arg0 uint64, arg1 func())

StartRequestTimer mocks base method

func (*MockState) StopAllTimers

func (m *MockState) StopAllTimers()

StopAllTimers mocks base method

func (*MockState) StopPrepareTimer

func (m *MockState) StopPrepareTimer(arg0 uint64)

StopPrepareTimer mocks base method

func (*MockState) StopRequestTimer

func (m *MockState) StopRequestTimer(arg0 uint64)

StopRequestTimer mocks base method

func (*MockState) UnprepareRequestSeq

func (m *MockState) UnprepareRequestSeq()

UnprepareRequestSeq mocks base method

type MockStateMockRecorder

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

MockStateMockRecorder is the mock recorder for MockState

func (*MockStateMockRecorder) AddReply

func (mr *MockStateMockRecorder) AddReply(arg0 interface{}) *gomock.Call

AddReply indicates an expected call of AddReply

func (*MockStateMockRecorder) CaptureRequestSeq

func (mr *MockStateMockRecorder) CaptureRequestSeq(arg0 interface{}) *gomock.Call

CaptureRequestSeq indicates an expected call of CaptureRequestSeq

func (*MockStateMockRecorder) PrepareRequestSeq

func (mr *MockStateMockRecorder) PrepareRequestSeq(arg0 interface{}) *gomock.Call

PrepareRequestSeq indicates an expected call of PrepareRequestSeq

func (*MockStateMockRecorder) ReplyChannel

func (mr *MockStateMockRecorder) ReplyChannel(arg0, arg1 interface{}) *gomock.Call

ReplyChannel indicates an expected call of ReplyChannel

func (*MockStateMockRecorder) RetireRequestSeq

func (mr *MockStateMockRecorder) RetireRequestSeq(arg0 interface{}) *gomock.Call

RetireRequestSeq indicates an expected call of RetireRequestSeq

func (*MockStateMockRecorder) StartPrepareTimer

func (mr *MockStateMockRecorder) StartPrepareTimer(arg0, arg1 interface{}) *gomock.Call

StartPrepareTimer indicates an expected call of StartPrepareTimer

func (*MockStateMockRecorder) StartRequestTimer

func (mr *MockStateMockRecorder) StartRequestTimer(arg0, arg1 interface{}) *gomock.Call

StartRequestTimer indicates an expected call of StartRequestTimer

func (*MockStateMockRecorder) StopAllTimers

func (mr *MockStateMockRecorder) StopAllTimers() *gomock.Call

StopAllTimers indicates an expected call of StopAllTimers

func (*MockStateMockRecorder) StopPrepareTimer

func (mr *MockStateMockRecorder) StopPrepareTimer(arg0 interface{}) *gomock.Call

StopPrepareTimer indicates an expected call of StopPrepareTimer

func (*MockStateMockRecorder) StopRequestTimer

func (mr *MockStateMockRecorder) StopRequestTimer(arg0 interface{}) *gomock.Call

StopRequestTimer indicates an expected call of StopRequestTimer

func (*MockStateMockRecorder) UnprepareRequestSeq

func (mr *MockStateMockRecorder) UnprepareRequestSeq() *gomock.Call

UnprepareRequestSeq indicates an expected call of UnprepareRequestSeq

Jump to

Keyboard shortcuts

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