Documentation ¶
Overview ¶
Package mock_device is a generated GoMock package.
Index ¶
- type MockDeviceServiceClient
- func (m *MockDeviceServiceClient) Add(arg0 context.Context, arg1 *device.AddRequest, arg2 ...grpc.CallOption) (*device.AddResponse, error)
- func (m *MockDeviceServiceClient) EXPECT() *MockDeviceServiceClientMockRecorder
- func (m *MockDeviceServiceClient) Get(arg0 context.Context, arg1 *device.GetRequest, arg2 ...grpc.CallOption) (*device.GetResponse, error)
- func (m *MockDeviceServiceClient) List(arg0 context.Context, arg1 *device.ListRequest, arg2 ...grpc.CallOption) (device.DeviceService_ListClient, error)
- func (m *MockDeviceServiceClient) Remove(arg0 context.Context, arg1 *device.RemoveRequest, arg2 ...grpc.CallOption) (*device.RemoveResponse, error)
- func (m *MockDeviceServiceClient) Update(arg0 context.Context, arg1 *device.UpdateRequest, arg2 ...grpc.CallOption) (*device.UpdateResponse, error)
- type MockDeviceServiceClientMockRecorder
- func (mr *MockDeviceServiceClientMockRecorder) Add(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) List(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) Remove(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockDeviceService_ListClient
- func (m *MockDeviceService_ListClient) CloseSend() error
- func (m *MockDeviceService_ListClient) Context() context.Context
- func (m *MockDeviceService_ListClient) EXPECT() *MockDeviceService_ListClientMockRecorder
- func (m *MockDeviceService_ListClient) Header() (metadata.MD, error)
- func (m *MockDeviceService_ListClient) Recv() (*device.ListResponse, error)
- func (m *MockDeviceService_ListClient) RecvMsg(arg0 interface{}) error
- func (m *MockDeviceService_ListClient) SendMsg(arg0 interface{}) error
- func (m *MockDeviceService_ListClient) Trailer() metadata.MD
- type MockDeviceService_ListClientMockRecorder
- func (mr *MockDeviceService_ListClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockDeviceService_ListClientMockRecorder) Context() *gomock.Call
- func (mr *MockDeviceService_ListClientMockRecorder) Header() *gomock.Call
- func (mr *MockDeviceService_ListClientMockRecorder) Recv() *gomock.Call
- func (mr *MockDeviceService_ListClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockDeviceService_ListClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockDeviceService_ListClientMockRecorder) Trailer() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDeviceServiceClient ¶
type MockDeviceServiceClient struct {
// contains filtered or unexported fields
}
MockDeviceServiceClient is a mock of DeviceServiceClient interface
func NewMockDeviceServiceClient ¶
func NewMockDeviceServiceClient(ctrl *gomock.Controller) *MockDeviceServiceClient
NewMockDeviceServiceClient creates a new mock instance
func (*MockDeviceServiceClient) Add ¶
func (m *MockDeviceServiceClient) Add(arg0 context.Context, arg1 *device.AddRequest, arg2 ...grpc.CallOption) (*device.AddResponse, error)
Add mocks base method
func (*MockDeviceServiceClient) EXPECT ¶
func (m *MockDeviceServiceClient) EXPECT() *MockDeviceServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDeviceServiceClient) Get ¶
func (m *MockDeviceServiceClient) Get(arg0 context.Context, arg1 *device.GetRequest, arg2 ...grpc.CallOption) (*device.GetResponse, error)
Get mocks base method
func (*MockDeviceServiceClient) List ¶
func (m *MockDeviceServiceClient) List(arg0 context.Context, arg1 *device.ListRequest, arg2 ...grpc.CallOption) (device.DeviceService_ListClient, error)
List mocks base method
func (*MockDeviceServiceClient) Remove ¶
func (m *MockDeviceServiceClient) Remove(arg0 context.Context, arg1 *device.RemoveRequest, arg2 ...grpc.CallOption) (*device.RemoveResponse, error)
Remove mocks base method
func (*MockDeviceServiceClient) Update ¶
func (m *MockDeviceServiceClient) Update(arg0 context.Context, arg1 *device.UpdateRequest, arg2 ...grpc.CallOption) (*device.UpdateResponse, error)
Update mocks base method
type MockDeviceServiceClientMockRecorder ¶
type MockDeviceServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDeviceServiceClientMockRecorder is the mock recorder for MockDeviceServiceClient
func (*MockDeviceServiceClientMockRecorder) Add ¶
func (mr *MockDeviceServiceClientMockRecorder) Add(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Add indicates an expected call of Add
func (*MockDeviceServiceClientMockRecorder) Get ¶
func (mr *MockDeviceServiceClientMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockDeviceServiceClientMockRecorder) List ¶
func (mr *MockDeviceServiceClientMockRecorder) List(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
List indicates an expected call of List
func (*MockDeviceServiceClientMockRecorder) Remove ¶
func (mr *MockDeviceServiceClientMockRecorder) Remove(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Remove indicates an expected call of Remove
func (*MockDeviceServiceClientMockRecorder) Update ¶
func (mr *MockDeviceServiceClientMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Update indicates an expected call of Update
type MockDeviceService_ListClient ¶
type MockDeviceService_ListClient struct {
// contains filtered or unexported fields
}
MockDeviceService_ListClient is a mock of DeviceService_ListClient interface
func NewMockDeviceService_ListClient ¶
func NewMockDeviceService_ListClient(ctrl *gomock.Controller) *MockDeviceService_ListClient
NewMockDeviceService_ListClient creates a new mock instance
func (*MockDeviceService_ListClient) CloseSend ¶
func (m *MockDeviceService_ListClient) CloseSend() error
CloseSend mocks base method
func (*MockDeviceService_ListClient) Context ¶
func (m *MockDeviceService_ListClient) Context() context.Context
Context mocks base method
func (*MockDeviceService_ListClient) EXPECT ¶
func (m *MockDeviceService_ListClient) EXPECT() *MockDeviceService_ListClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDeviceService_ListClient) Header ¶
func (m *MockDeviceService_ListClient) Header() (metadata.MD, error)
Header mocks base method
func (*MockDeviceService_ListClient) Recv ¶
func (m *MockDeviceService_ListClient) Recv() (*device.ListResponse, error)
Recv mocks base method
func (*MockDeviceService_ListClient) RecvMsg ¶
func (m *MockDeviceService_ListClient) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method
func (*MockDeviceService_ListClient) SendMsg ¶
func (m *MockDeviceService_ListClient) SendMsg(arg0 interface{}) error
SendMsg mocks base method
func (*MockDeviceService_ListClient) Trailer ¶
func (m *MockDeviceService_ListClient) Trailer() metadata.MD
Trailer mocks base method
type MockDeviceService_ListClientMockRecorder ¶
type MockDeviceService_ListClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDeviceService_ListClientMockRecorder is the mock recorder for MockDeviceService_ListClient
func (*MockDeviceService_ListClientMockRecorder) CloseSend ¶
func (mr *MockDeviceService_ListClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend
func (*MockDeviceService_ListClientMockRecorder) Context ¶
func (mr *MockDeviceService_ListClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockDeviceService_ListClientMockRecorder) Header ¶
func (mr *MockDeviceService_ListClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header
func (*MockDeviceService_ListClientMockRecorder) Recv ¶
func (mr *MockDeviceService_ListClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv
func (*MockDeviceService_ListClientMockRecorder) RecvMsg ¶
func (mr *MockDeviceService_ListClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg
func (*MockDeviceService_ListClientMockRecorder) SendMsg ¶
func (mr *MockDeviceService_ListClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg
func (*MockDeviceService_ListClientMockRecorder) Trailer ¶
func (mr *MockDeviceService_ListClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer