Documentation ¶
Overview ¶
Package mock_api is a generated GoMock package.
Index ¶
- type MockAuthenticator
- type MockAuthenticatorMockRecorder
- type MockConfiger
- func (m *MockConfiger) CheckpointPeriod() uint32
- func (m *MockConfiger) EXPECT() *MockConfigerMockRecorder
- func (m *MockConfiger) F() uint32
- func (m *MockConfiger) Logsize() uint32
- func (m *MockConfiger) N() uint32
- func (m *MockConfiger) TimeoutPrepare() time.Duration
- func (m *MockConfiger) TimeoutRequest() time.Duration
- func (m *MockConfiger) TimeoutViewChange() time.Duration
- type MockConfigerMockRecorder
- func (mr *MockConfigerMockRecorder) CheckpointPeriod() *gomock.Call
- func (mr *MockConfigerMockRecorder) F() *gomock.Call
- func (mr *MockConfigerMockRecorder) Logsize() *gomock.Call
- func (mr *MockConfigerMockRecorder) N() *gomock.Call
- func (mr *MockConfigerMockRecorder) TimeoutPrepare() *gomock.Call
- func (mr *MockConfigerMockRecorder) TimeoutRequest() *gomock.Call
- func (mr *MockConfigerMockRecorder) TimeoutViewChange() *gomock.Call
- type MockConnectionHandler
- type MockConnectionHandlerMockRecorder
- type MockMessageStreamHandler
- type MockMessageStreamHandlerMockRecorder
- type MockRequestConsumer
- type MockRequestConsumerMockRecorder
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 ¶
func (m *MockAuthenticator) EXPECT() *MockAuthenticatorMockRecorder
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 ¶
func (m *MockConfiger) EXPECT() *MockConfigerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (mr *MockConfigerMockRecorder) F() *gomock.Call
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 ¶
func (mr *MockConfigerMockRecorder) N() *gomock.Call
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 ¶
func (m *MockConnectionHandler) EXPECT() *MockConnectionHandlerMockRecorder
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 ¶
func (m *MockMessageStreamHandler) EXPECT() *MockMessageStreamHandlerMockRecorder
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 ¶
func (m *MockRequestConsumer) EXPECT() *MockRequestConsumerMockRecorder
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