Documentation ¶
Overview ¶
Package mock_apiserver is a generated GoMock package.
Index ¶
- type MockStreamBlocksServer
- func (m *MockStreamBlocksServer) Context() context.Context
- func (m *MockStreamBlocksServer) EXPECT() *MockStreamBlocksServerMockRecorder
- func (m_2 *MockStreamBlocksServer) RecvMsg(m interface{}) error
- func (m *MockStreamBlocksServer) Send(arg0 *iotexapi.StreamBlocksResponse) error
- func (m *MockStreamBlocksServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockStreamBlocksServer) SendMsg(m interface{}) error
- func (m *MockStreamBlocksServer) SetHeader(arg0 metadata.MD) error
- func (m *MockStreamBlocksServer) SetTrailer(arg0 metadata.MD)
- type MockStreamBlocksServerMockRecorder
- func (mr *MockStreamBlocksServerMockRecorder) Context() *gomock.Call
- func (mr *MockStreamBlocksServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockStreamBlocksServerMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockStreamBlocksServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockStreamBlocksServerMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockStreamBlocksServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockStreamBlocksServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStreamBlocksServer ¶
type MockStreamBlocksServer struct {
// contains filtered or unexported fields
}
MockStreamBlocksServer is a mock of StreamBlocksServer interface
func NewMockStreamBlocksServer ¶
func NewMockStreamBlocksServer(ctrl *gomock.Controller) *MockStreamBlocksServer
NewMockStreamBlocksServer creates a new mock instance
func (*MockStreamBlocksServer) Context ¶
func (m *MockStreamBlocksServer) Context() context.Context
Context mocks base method
func (*MockStreamBlocksServer) EXPECT ¶
func (m *MockStreamBlocksServer) EXPECT() *MockStreamBlocksServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStreamBlocksServer) RecvMsg ¶
func (m_2 *MockStreamBlocksServer) RecvMsg(m interface{}) error
RecvMsg mocks base method
func (*MockStreamBlocksServer) Send ¶
func (m *MockStreamBlocksServer) Send(arg0 *iotexapi.StreamBlocksResponse) error
Send mocks base method
func (*MockStreamBlocksServer) SendHeader ¶
func (m *MockStreamBlocksServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method
func (*MockStreamBlocksServer) SendMsg ¶
func (m_2 *MockStreamBlocksServer) SendMsg(m interface{}) error
SendMsg mocks base method
func (*MockStreamBlocksServer) SetHeader ¶
func (m *MockStreamBlocksServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method
func (*MockStreamBlocksServer) SetTrailer ¶
func (m *MockStreamBlocksServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method
type MockStreamBlocksServerMockRecorder ¶
type MockStreamBlocksServerMockRecorder struct {
// contains filtered or unexported fields
}
MockStreamBlocksServerMockRecorder is the mock recorder for MockStreamBlocksServer
func (*MockStreamBlocksServerMockRecorder) Context ¶
func (mr *MockStreamBlocksServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockStreamBlocksServerMockRecorder) RecvMsg ¶
func (mr *MockStreamBlocksServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg
func (*MockStreamBlocksServerMockRecorder) Send ¶
func (mr *MockStreamBlocksServerMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send
func (*MockStreamBlocksServerMockRecorder) SendHeader ¶
func (mr *MockStreamBlocksServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader
func (*MockStreamBlocksServerMockRecorder) SendMsg ¶
func (mr *MockStreamBlocksServerMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg
func (*MockStreamBlocksServerMockRecorder) SetHeader ¶
func (mr *MockStreamBlocksServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader
func (*MockStreamBlocksServerMockRecorder) SetTrailer ¶
func (mr *MockStreamBlocksServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer