mock_api

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_api is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuthenticator

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

MockAuthenticator is a mock of Authenticator interface

func NewMockAuthenticator

func NewMockAuthenticator(ctrl *gomock.Controller) *MockAuthenticator

NewMockAuthenticator creates a new mock instance

func (*MockAuthenticator) EXPECT

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

func (*MockAuthenticator) GenerateMessageAuthenTag

func (m *MockAuthenticator) GenerateMessageAuthenTag(arg0 api.AuthenticationRole, arg1 []byte) ([]byte, error)

GenerateMessageAuthenTag mocks base method

func (*MockAuthenticator) VerifyMessageAuthenTag

func (m *MockAuthenticator) VerifyMessageAuthenTag(arg0 api.AuthenticationRole, arg1 uint32, arg2, arg3 []byte) error

VerifyMessageAuthenTag mocks base method

type MockAuthenticatorMockRecorder

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

MockAuthenticatorMockRecorder is the mock recorder for MockAuthenticator

func (*MockAuthenticatorMockRecorder) GenerateMessageAuthenTag

func (mr *MockAuthenticatorMockRecorder) GenerateMessageAuthenTag(arg0, arg1 interface{}) *gomock.Call

GenerateMessageAuthenTag indicates an expected call of GenerateMessageAuthenTag

func (*MockAuthenticatorMockRecorder) VerifyMessageAuthenTag

func (mr *MockAuthenticatorMockRecorder) VerifyMessageAuthenTag(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

VerifyMessageAuthenTag indicates an expected call of VerifyMessageAuthenTag

type MockConfiger

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

MockConfiger is a mock of Configer interface

func NewMockConfiger

func NewMockConfiger(ctrl *gomock.Controller) *MockConfiger

NewMockConfiger creates a new mock instance

func (*MockConfiger) CheckpointPeriod

func (m *MockConfiger) CheckpointPeriod() uint32

CheckpointPeriod mocks base method

func (*MockConfiger) EXPECT

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

func (*MockConfiger) F

func (m *MockConfiger) F() uint32

F mocks base method

func (*MockConfiger) Logsize

func (m *MockConfiger) Logsize() uint32

Logsize mocks base method

func (*MockConfiger) N

func (m *MockConfiger) N() uint32

N mocks base method

func (*MockConfiger) TimeoutPrepare

func (m *MockConfiger) TimeoutPrepare() time.Duration

TimeoutPrepare mocks base method

func (*MockConfiger) TimeoutRequest

func (m *MockConfiger) TimeoutRequest() time.Duration

TimeoutRequest mocks base method

func (*MockConfiger) TimeoutViewChange

func (m *MockConfiger) TimeoutViewChange() time.Duration

TimeoutViewChange mocks base method

type MockConfigerMockRecorder

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

MockConfigerMockRecorder is the mock recorder for MockConfiger

func (*MockConfigerMockRecorder) CheckpointPeriod

func (mr *MockConfigerMockRecorder) CheckpointPeriod() *gomock.Call

CheckpointPeriod indicates an expected call of CheckpointPeriod

func (*MockConfigerMockRecorder) F

F indicates an expected call of F

func (*MockConfigerMockRecorder) Logsize

func (mr *MockConfigerMockRecorder) Logsize() *gomock.Call

Logsize indicates an expected call of Logsize

func (*MockConfigerMockRecorder) N

N indicates an expected call of N

func (*MockConfigerMockRecorder) TimeoutPrepare

func (mr *MockConfigerMockRecorder) TimeoutPrepare() *gomock.Call

TimeoutPrepare indicates an expected call of TimeoutPrepare

func (*MockConfigerMockRecorder) TimeoutRequest

func (mr *MockConfigerMockRecorder) TimeoutRequest() *gomock.Call

TimeoutRequest indicates an expected call of TimeoutRequest

func (*MockConfigerMockRecorder) TimeoutViewChange

func (mr *MockConfigerMockRecorder) TimeoutViewChange() *gomock.Call

TimeoutViewChange indicates an expected call of TimeoutViewChange

type MockConnectionHandler

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

MockConnectionHandler is a mock of ConnectionHandler interface

func NewMockConnectionHandler

func NewMockConnectionHandler(ctrl *gomock.Controller) *MockConnectionHandler

NewMockConnectionHandler creates a new mock instance

func (*MockConnectionHandler) ClientMessageStreamHandler

func (m *MockConnectionHandler) ClientMessageStreamHandler() api.MessageStreamHandler

ClientMessageStreamHandler mocks base method

func (*MockConnectionHandler) EXPECT

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

func (*MockConnectionHandler) PeerMessageStreamHandler

func (m *MockConnectionHandler) PeerMessageStreamHandler() api.MessageStreamHandler

PeerMessageStreamHandler mocks base method

type MockConnectionHandlerMockRecorder

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

MockConnectionHandlerMockRecorder is the mock recorder for MockConnectionHandler

func (*MockConnectionHandlerMockRecorder) ClientMessageStreamHandler

func (mr *MockConnectionHandlerMockRecorder) ClientMessageStreamHandler() *gomock.Call

ClientMessageStreamHandler indicates an expected call of ClientMessageStreamHandler

func (*MockConnectionHandlerMockRecorder) PeerMessageStreamHandler

func (mr *MockConnectionHandlerMockRecorder) PeerMessageStreamHandler() *gomock.Call

PeerMessageStreamHandler indicates an expected call of PeerMessageStreamHandler

type MockMessageStreamHandler

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

MockMessageStreamHandler is a mock of MessageStreamHandler interface

func NewMockMessageStreamHandler

func NewMockMessageStreamHandler(ctrl *gomock.Controller) *MockMessageStreamHandler

NewMockMessageStreamHandler creates a new mock instance

func (*MockMessageStreamHandler) EXPECT

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

func (*MockMessageStreamHandler) HandleMessageStream

func (m *MockMessageStreamHandler) HandleMessageStream(arg0 <-chan []byte) <-chan []byte

HandleMessageStream mocks base method

type MockMessageStreamHandlerMockRecorder

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

MockMessageStreamHandlerMockRecorder is the mock recorder for MockMessageStreamHandler

func (*MockMessageStreamHandlerMockRecorder) HandleMessageStream

func (mr *MockMessageStreamHandlerMockRecorder) HandleMessageStream(arg0 interface{}) *gomock.Call

HandleMessageStream indicates an expected call of HandleMessageStream

type MockRequestConsumer

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

MockRequestConsumer is a mock of RequestConsumer interface

func NewMockRequestConsumer

func NewMockRequestConsumer(ctrl *gomock.Controller) *MockRequestConsumer

NewMockRequestConsumer creates a new mock instance

func (*MockRequestConsumer) Deliver

func (m *MockRequestConsumer) Deliver(arg0 []byte) <-chan []byte

Deliver mocks base method

func (*MockRequestConsumer) EXPECT

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

func (*MockRequestConsumer) StateDigest

func (m *MockRequestConsumer) StateDigest() []byte

StateDigest mocks base method

type MockRequestConsumerMockRecorder

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

MockRequestConsumerMockRecorder is the mock recorder for MockRequestConsumer

func (*MockRequestConsumerMockRecorder) Deliver

func (mr *MockRequestConsumerMockRecorder) Deliver(arg0 interface{}) *gomock.Call

Deliver indicates an expected call of Deliver

func (*MockRequestConsumerMockRecorder) StateDigest

func (mr *MockRequestConsumerMockRecorder) StateDigest() *gomock.Call

StateDigest indicates an expected call of StateDigest

Jump to

Keyboard shortcuts

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