Documentation ¶
Overview ¶
Package mock_nodespace is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) Cache() ocache.OCache
- func (m *MockService) Close(arg0 context.Context) error
- func (m *MockService) DeleteSpace(arg0 context.Context, arg1, arg2 string, arg3 []byte) error
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) GetSpace(arg0 context.Context, arg1 string) (commonspace.Space, error)
- func (m *MockService) Init(arg0 *app.App) error
- func (m *MockService) Name() string
- func (m *MockService) Run(arg0 context.Context) error
- func (m *MockService) StreamPool() streampool.StreamPool
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) Cache() *gomock.Call
- func (mr *MockServiceMockRecorder) Close(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) DeleteSpace(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetSpace(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Init(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Name() *gomock.Call
- func (mr *MockServiceMockRecorder) Run(arg0 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) StreamPool() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) Close ¶
func (m *MockService) Close(arg0 context.Context) error
Close mocks base method.
func (*MockService) DeleteSpace ¶
DeleteSpace mocks base method.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) GetSpace ¶
func (m *MockService) GetSpace(arg0 context.Context, arg1 string) (commonspace.Space, error)
GetSpace mocks base method.
func (*MockService) Run ¶
func (m *MockService) Run(arg0 context.Context) error
Run mocks base method.
func (*MockService) StreamPool ¶
func (m *MockService) StreamPool() streampool.StreamPool
StreamPool mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) Cache ¶
func (mr *MockServiceMockRecorder) Cache() *gomock.Call
Cache indicates an expected call of Cache.
func (*MockServiceMockRecorder) Close ¶
func (mr *MockServiceMockRecorder) Close(arg0 interface{}) *gomock.Call
Close indicates an expected call of Close.
func (*MockServiceMockRecorder) DeleteSpace ¶
func (mr *MockServiceMockRecorder) DeleteSpace(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DeleteSpace indicates an expected call of DeleteSpace.
func (*MockServiceMockRecorder) GetSpace ¶
func (mr *MockServiceMockRecorder) GetSpace(arg0, arg1 interface{}) *gomock.Call
GetSpace indicates an expected call of GetSpace.
func (*MockServiceMockRecorder) Init ¶
func (mr *MockServiceMockRecorder) Init(arg0 interface{}) *gomock.Call
Init indicates an expected call of Init.
func (*MockServiceMockRecorder) Name ¶
func (mr *MockServiceMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockServiceMockRecorder) Run ¶
func (mr *MockServiceMockRecorder) Run(arg0 interface{}) *gomock.Call
Run indicates an expected call of Run.
func (*MockServiceMockRecorder) StreamPool ¶
func (mr *MockServiceMockRecorder) StreamPool() *gomock.Call
StreamPool indicates an expected call of StreamPool.