Documentation ¶
Overview ¶
Package mock_csp is a generated GoMock package.
Index ¶
- type MockChanServer
- func (m *MockChanServer) Close(arg0 context.Context, arg1 csp.MethodClose) error
- func (m *MockChanServer) EXPECT() *MockChanServerMockRecorder
- func (m *MockChanServer) Recv(arg0 context.Context, arg1 csp.MethodRecv) error
- func (m *MockChanServer) Send(arg0 context.Context, arg1 csp.MethodSend) error
- type MockChanServerMockRecorder
- type MockCloseServer
- type MockCloseServerMockRecorder
- type MockPeekRecvServer
- type MockPeekRecvServerMockRecorder
- type MockPeekServer
- type MockPeekServerMockRecorder
- type MockPeekableServer
- func (m *MockPeekableServer) Close(arg0 context.Context, arg1 csp.MethodClose) error
- func (m *MockPeekableServer) EXPECT() *MockPeekableServerMockRecorder
- func (m *MockPeekableServer) Peek(arg0 context.Context, arg1 csp.MethodPeek) error
- func (m *MockPeekableServer) Recv(arg0 context.Context, arg1 csp.MethodRecv) error
- func (m *MockPeekableServer) Send(arg0 context.Context, arg1 csp.MethodSend) error
- type MockPeekableServerMockRecorder
- func (mr *MockPeekableServerMockRecorder) Close(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPeekableServerMockRecorder) Peek(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPeekableServerMockRecorder) Recv(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPeekableServerMockRecorder) Send(arg0, arg1 interface{}) *gomock.Call
- type MockRecvServer
- type MockRecvServerMockRecorder
- type MockSendCloseServer
- type MockSendCloseServerMockRecorder
- type MockSendServer
- type MockSendServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockChanServer ¶
type MockChanServer struct {
// contains filtered or unexported fields
}
MockChanServer is a mock of ChanServer interface.
func NewMockChanServer ¶
func NewMockChanServer(ctrl *gomock.Controller) *MockChanServer
NewMockChanServer creates a new mock instance.
func (*MockChanServer) Close ¶
func (m *MockChanServer) Close(arg0 context.Context, arg1 csp.MethodClose) error
Close mocks base method.
func (*MockChanServer) EXPECT ¶
func (m *MockChanServer) EXPECT() *MockChanServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockChanServer) Recv ¶
func (m *MockChanServer) Recv(arg0 context.Context, arg1 csp.MethodRecv) error
Recv mocks base method.
func (*MockChanServer) Send ¶
func (m *MockChanServer) Send(arg0 context.Context, arg1 csp.MethodSend) error
Send mocks base method.
type MockChanServerMockRecorder ¶
type MockChanServerMockRecorder struct {
// contains filtered or unexported fields
}
MockChanServerMockRecorder is the mock recorder for MockChanServer.
func (*MockChanServerMockRecorder) Close ¶
func (mr *MockChanServerMockRecorder) Close(arg0, arg1 interface{}) *gomock.Call
Close indicates an expected call of Close.
func (*MockChanServerMockRecorder) Recv ¶
func (mr *MockChanServerMockRecorder) Recv(arg0, arg1 interface{}) *gomock.Call
Recv indicates an expected call of Recv.
func (*MockChanServerMockRecorder) Send ¶
func (mr *MockChanServerMockRecorder) Send(arg0, arg1 interface{}) *gomock.Call
Send indicates an expected call of Send.
type MockCloseServer ¶
type MockCloseServer struct {
// contains filtered or unexported fields
}
MockCloseServer is a mock of CloseServer interface.
func NewMockCloseServer ¶
func NewMockCloseServer(ctrl *gomock.Controller) *MockCloseServer
NewMockCloseServer creates a new mock instance.
func (*MockCloseServer) Close ¶
func (m *MockCloseServer) Close(arg0 context.Context, arg1 csp.MethodClose) error
Close mocks base method.
func (*MockCloseServer) EXPECT ¶
func (m *MockCloseServer) EXPECT() *MockCloseServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCloseServerMockRecorder ¶
type MockCloseServerMockRecorder struct {
// contains filtered or unexported fields
}
MockCloseServerMockRecorder is the mock recorder for MockCloseServer.
func (*MockCloseServerMockRecorder) Close ¶
func (mr *MockCloseServerMockRecorder) Close(arg0, arg1 interface{}) *gomock.Call
Close indicates an expected call of Close.
type MockPeekRecvServer ¶
type MockPeekRecvServer struct {
// contains filtered or unexported fields
}
MockPeekRecvServer is a mock of PeekRecvServer interface.
func NewMockPeekRecvServer ¶
func NewMockPeekRecvServer(ctrl *gomock.Controller) *MockPeekRecvServer
NewMockPeekRecvServer creates a new mock instance.
func (*MockPeekRecvServer) EXPECT ¶
func (m *MockPeekRecvServer) EXPECT() *MockPeekRecvServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPeekRecvServer) Peek ¶
func (m *MockPeekRecvServer) Peek(arg0 context.Context, arg1 csp.MethodPeek) error
Peek mocks base method.
func (*MockPeekRecvServer) Recv ¶
func (m *MockPeekRecvServer) Recv(arg0 context.Context, arg1 csp.MethodRecv) error
Recv mocks base method.
type MockPeekRecvServerMockRecorder ¶
type MockPeekRecvServerMockRecorder struct {
// contains filtered or unexported fields
}
MockPeekRecvServerMockRecorder is the mock recorder for MockPeekRecvServer.
func (*MockPeekRecvServerMockRecorder) Peek ¶
func (mr *MockPeekRecvServerMockRecorder) Peek(arg0, arg1 interface{}) *gomock.Call
Peek indicates an expected call of Peek.
func (*MockPeekRecvServerMockRecorder) Recv ¶
func (mr *MockPeekRecvServerMockRecorder) Recv(arg0, arg1 interface{}) *gomock.Call
Recv indicates an expected call of Recv.
type MockPeekServer ¶
type MockPeekServer struct {
// contains filtered or unexported fields
}
MockPeekServer is a mock of PeekServer interface.
func NewMockPeekServer ¶
func NewMockPeekServer(ctrl *gomock.Controller) *MockPeekServer
NewMockPeekServer creates a new mock instance.
func (*MockPeekServer) EXPECT ¶
func (m *MockPeekServer) EXPECT() *MockPeekServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPeekServer) Peek ¶
func (m *MockPeekServer) Peek(arg0 context.Context, arg1 csp.MethodPeek) error
Peek mocks base method.
type MockPeekServerMockRecorder ¶
type MockPeekServerMockRecorder struct {
// contains filtered or unexported fields
}
MockPeekServerMockRecorder is the mock recorder for MockPeekServer.
func (*MockPeekServerMockRecorder) Peek ¶
func (mr *MockPeekServerMockRecorder) Peek(arg0, arg1 interface{}) *gomock.Call
Peek indicates an expected call of Peek.
type MockPeekableServer ¶
type MockPeekableServer struct {
// contains filtered or unexported fields
}
MockPeekableServer is a mock of PeekableServer interface.
func NewMockPeekableServer ¶
func NewMockPeekableServer(ctrl *gomock.Controller) *MockPeekableServer
NewMockPeekableServer creates a new mock instance.
func (*MockPeekableServer) Close ¶
func (m *MockPeekableServer) Close(arg0 context.Context, arg1 csp.MethodClose) error
Close mocks base method.
func (*MockPeekableServer) EXPECT ¶
func (m *MockPeekableServer) EXPECT() *MockPeekableServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPeekableServer) Peek ¶
func (m *MockPeekableServer) Peek(arg0 context.Context, arg1 csp.MethodPeek) error
Peek mocks base method.
func (*MockPeekableServer) Recv ¶
func (m *MockPeekableServer) Recv(arg0 context.Context, arg1 csp.MethodRecv) error
Recv mocks base method.
func (*MockPeekableServer) Send ¶
func (m *MockPeekableServer) Send(arg0 context.Context, arg1 csp.MethodSend) error
Send mocks base method.
type MockPeekableServerMockRecorder ¶
type MockPeekableServerMockRecorder struct {
// contains filtered or unexported fields
}
MockPeekableServerMockRecorder is the mock recorder for MockPeekableServer.
func (*MockPeekableServerMockRecorder) Close ¶
func (mr *MockPeekableServerMockRecorder) Close(arg0, arg1 interface{}) *gomock.Call
Close indicates an expected call of Close.
func (*MockPeekableServerMockRecorder) Peek ¶
func (mr *MockPeekableServerMockRecorder) Peek(arg0, arg1 interface{}) *gomock.Call
Peek indicates an expected call of Peek.
func (*MockPeekableServerMockRecorder) Recv ¶
func (mr *MockPeekableServerMockRecorder) Recv(arg0, arg1 interface{}) *gomock.Call
Recv indicates an expected call of Recv.
func (*MockPeekableServerMockRecorder) Send ¶
func (mr *MockPeekableServerMockRecorder) Send(arg0, arg1 interface{}) *gomock.Call
Send indicates an expected call of Send.
type MockRecvServer ¶
type MockRecvServer struct {
// contains filtered or unexported fields
}
MockRecvServer is a mock of RecvServer interface.
func NewMockRecvServer ¶
func NewMockRecvServer(ctrl *gomock.Controller) *MockRecvServer
NewMockRecvServer creates a new mock instance.
func (*MockRecvServer) EXPECT ¶
func (m *MockRecvServer) EXPECT() *MockRecvServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRecvServer) Recv ¶
func (m *MockRecvServer) Recv(arg0 context.Context, arg1 csp.MethodRecv) error
Recv mocks base method.
type MockRecvServerMockRecorder ¶
type MockRecvServerMockRecorder struct {
// contains filtered or unexported fields
}
MockRecvServerMockRecorder is the mock recorder for MockRecvServer.
func (*MockRecvServerMockRecorder) Recv ¶
func (mr *MockRecvServerMockRecorder) Recv(arg0, arg1 interface{}) *gomock.Call
Recv indicates an expected call of Recv.
type MockSendCloseServer ¶
type MockSendCloseServer struct {
// contains filtered or unexported fields
}
MockSendCloseServer is a mock of SendCloseServer interface.
func NewMockSendCloseServer ¶
func NewMockSendCloseServer(ctrl *gomock.Controller) *MockSendCloseServer
NewMockSendCloseServer creates a new mock instance.
func (*MockSendCloseServer) Close ¶
func (m *MockSendCloseServer) Close(arg0 context.Context, arg1 csp.MethodClose) error
Close mocks base method.
func (*MockSendCloseServer) EXPECT ¶
func (m *MockSendCloseServer) EXPECT() *MockSendCloseServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSendCloseServer) Send ¶
func (m *MockSendCloseServer) Send(arg0 context.Context, arg1 csp.MethodSend) error
Send mocks base method.
type MockSendCloseServerMockRecorder ¶
type MockSendCloseServerMockRecorder struct {
// contains filtered or unexported fields
}
MockSendCloseServerMockRecorder is the mock recorder for MockSendCloseServer.
func (*MockSendCloseServerMockRecorder) Close ¶
func (mr *MockSendCloseServerMockRecorder) Close(arg0, arg1 interface{}) *gomock.Call
Close indicates an expected call of Close.
func (*MockSendCloseServerMockRecorder) Send ¶
func (mr *MockSendCloseServerMockRecorder) Send(arg0, arg1 interface{}) *gomock.Call
Send indicates an expected call of Send.
type MockSendServer ¶
type MockSendServer struct {
// contains filtered or unexported fields
}
MockSendServer is a mock of SendServer interface.
func NewMockSendServer ¶
func NewMockSendServer(ctrl *gomock.Controller) *MockSendServer
NewMockSendServer creates a new mock instance.
func (*MockSendServer) EXPECT ¶
func (m *MockSendServer) EXPECT() *MockSendServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSendServer) Send ¶
func (m *MockSendServer) Send(arg0 context.Context, arg1 csp.MethodSend) error
Send mocks base method.
type MockSendServerMockRecorder ¶
type MockSendServerMockRecorder struct {
// contains filtered or unexported fields
}
MockSendServerMockRecorder is the mock recorder for MockSendServer.
func (*MockSendServerMockRecorder) Send ¶
func (mr *MockSendServerMockRecorder) Send(arg0, arg1 interface{}) *gomock.Call
Send indicates an expected call of Send.