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