Documentation ¶
Overview ¶
Package device is a generated GoMock package.
Index ¶
- type MockDeviceServiceClient
- func (m *MockDeviceServiceClient) Add(ctx context.Context, in *device.AddRequest, opts ...grpc.CallOption) (*device.AddResponse, error)
- func (m *MockDeviceServiceClient) EXPECT() *MockDeviceServiceClientMockRecorder
- func (m *MockDeviceServiceClient) Get(ctx context.Context, in *device.GetRequest, opts ...grpc.CallOption) (*device.GetResponse, error)
- func (m *MockDeviceServiceClient) List(ctx context.Context, in *device.ListRequest, opts ...grpc.CallOption) (device.DeviceService_ListClient, error)
- func (m *MockDeviceServiceClient) Remove(ctx context.Context, in *device.RemoveRequest, opts ...grpc.CallOption) (*device.RemoveResponse, error)
- func (m *MockDeviceServiceClient) Update(ctx context.Context, in *device.UpdateRequest, opts ...grpc.CallOption) (*device.UpdateResponse, error)
- type MockDeviceServiceClientMockRecorder
- func (mr *MockDeviceServiceClientMockRecorder) Add(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) List(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) Remove(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockDeviceServiceClientMockRecorder) Update(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockDeviceServiceServer
- func (m *MockDeviceServiceServer) Add(arg0 context.Context, arg1 *device.AddRequest) (*device.AddResponse, error)
- func (m *MockDeviceServiceServer) EXPECT() *MockDeviceServiceServerMockRecorder
- func (m *MockDeviceServiceServer) Get(arg0 context.Context, arg1 *device.GetRequest) (*device.GetResponse, error)
- func (m *MockDeviceServiceServer) List(arg0 *device.ListRequest, arg1 device.DeviceService_ListServer) error
- func (m *MockDeviceServiceServer) Remove(arg0 context.Context, arg1 *device.RemoveRequest) (*device.RemoveResponse, error)
- func (m *MockDeviceServiceServer) Update(arg0 context.Context, arg1 *device.UpdateRequest) (*device.UpdateResponse, error)
- type MockDeviceServiceServerMockRecorder
- func (mr *MockDeviceServiceServerMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDeviceServiceServerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDeviceServiceServerMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDeviceServiceServerMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDeviceServiceServerMockRecorder) Update(arg0, arg1 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_2 *MockDeviceService_ListClient) RecvMsg(m interface{}) error
- func (m_2 *MockDeviceService_ListClient) SendMsg(m 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(m interface{}) *gomock.Call
- func (mr *MockDeviceService_ListClientMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockDeviceService_ListClientMockRecorder) Trailer() *gomock.Call
- type MockDeviceService_ListServer
- func (m *MockDeviceService_ListServer) Context() context.Context
- func (m *MockDeviceService_ListServer) EXPECT() *MockDeviceService_ListServerMockRecorder
- func (m_2 *MockDeviceService_ListServer) RecvMsg(m interface{}) error
- func (m *MockDeviceService_ListServer) Send(arg0 *device.ListResponse) error
- func (m *MockDeviceService_ListServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockDeviceService_ListServer) SendMsg(m interface{}) error
- func (m *MockDeviceService_ListServer) SetHeader(arg0 metadata.MD) error
- func (m *MockDeviceService_ListServer) SetTrailer(arg0 metadata.MD)
- type MockDeviceService_ListServerMockRecorder
- func (mr *MockDeviceService_ListServerMockRecorder) Context() *gomock.Call
- func (mr *MockDeviceService_ListServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockDeviceService_ListServerMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockDeviceService_ListServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockDeviceService_ListServerMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockDeviceService_ListServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockDeviceService_ListServerMockRecorder) SetTrailer(arg0 interface{}) *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(ctx context.Context, in *device.AddRequest, opts ...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(ctx context.Context, in *device.GetRequest, opts ...grpc.CallOption) (*device.GetResponse, error)
Get mocks base method
func (*MockDeviceServiceClient) List ¶
func (m *MockDeviceServiceClient) List(ctx context.Context, in *device.ListRequest, opts ...grpc.CallOption) (device.DeviceService_ListClient, error)
List mocks base method
func (*MockDeviceServiceClient) Remove ¶
func (m *MockDeviceServiceClient) Remove(ctx context.Context, in *device.RemoveRequest, opts ...grpc.CallOption) (*device.RemoveResponse, error)
Remove mocks base method
func (*MockDeviceServiceClient) Update ¶
func (m *MockDeviceServiceClient) Update(ctx context.Context, in *device.UpdateRequest, opts ...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(ctx, in interface{}, opts ...interface{}) *gomock.Call
Add indicates an expected call of Add
func (*MockDeviceServiceClientMockRecorder) Get ¶
func (mr *MockDeviceServiceClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockDeviceServiceClientMockRecorder) List ¶
func (mr *MockDeviceServiceClientMockRecorder) List(ctx, in interface{}, opts ...interface{}) *gomock.Call
List indicates an expected call of List
func (*MockDeviceServiceClientMockRecorder) Remove ¶
func (mr *MockDeviceServiceClientMockRecorder) Remove(ctx, in interface{}, opts ...interface{}) *gomock.Call
Remove indicates an expected call of Remove
func (*MockDeviceServiceClientMockRecorder) Update ¶
func (mr *MockDeviceServiceClientMockRecorder) Update(ctx, in interface{}, opts ...interface{}) *gomock.Call
Update indicates an expected call of Update
type MockDeviceServiceServer ¶
type MockDeviceServiceServer struct {
// contains filtered or unexported fields
}
MockDeviceServiceServer is a mock of DeviceServiceServer interface
func NewMockDeviceServiceServer ¶
func NewMockDeviceServiceServer(ctrl *gomock.Controller) *MockDeviceServiceServer
NewMockDeviceServiceServer creates a new mock instance
func (*MockDeviceServiceServer) Add ¶
func (m *MockDeviceServiceServer) Add(arg0 context.Context, arg1 *device.AddRequest) (*device.AddResponse, error)
Add mocks base method
func (*MockDeviceServiceServer) EXPECT ¶
func (m *MockDeviceServiceServer) EXPECT() *MockDeviceServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDeviceServiceServer) Get ¶
func (m *MockDeviceServiceServer) Get(arg0 context.Context, arg1 *device.GetRequest) (*device.GetResponse, error)
Get mocks base method
func (*MockDeviceServiceServer) List ¶
func (m *MockDeviceServiceServer) List(arg0 *device.ListRequest, arg1 device.DeviceService_ListServer) error
List mocks base method
func (*MockDeviceServiceServer) Remove ¶
func (m *MockDeviceServiceServer) Remove(arg0 context.Context, arg1 *device.RemoveRequest) (*device.RemoveResponse, error)
Remove mocks base method
func (*MockDeviceServiceServer) Update ¶
func (m *MockDeviceServiceServer) Update(arg0 context.Context, arg1 *device.UpdateRequest) (*device.UpdateResponse, error)
Update mocks base method
type MockDeviceServiceServerMockRecorder ¶
type MockDeviceServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockDeviceServiceServerMockRecorder is the mock recorder for MockDeviceServiceServer
func (*MockDeviceServiceServerMockRecorder) Add ¶
func (mr *MockDeviceServiceServerMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
Add indicates an expected call of Add
func (*MockDeviceServiceServerMockRecorder) Get ¶
func (mr *MockDeviceServiceServerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockDeviceServiceServerMockRecorder) List ¶
func (mr *MockDeviceServiceServerMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List
func (*MockDeviceServiceServerMockRecorder) Remove ¶
func (mr *MockDeviceServiceServerMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
Remove indicates an expected call of Remove
func (*MockDeviceServiceServerMockRecorder) Update ¶
func (mr *MockDeviceServiceServerMockRecorder) Update(arg0, arg1 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_2 *MockDeviceService_ListClient) RecvMsg(m interface{}) error
RecvMsg mocks base method
func (*MockDeviceService_ListClient) SendMsg ¶
func (m_2 *MockDeviceService_ListClient) SendMsg(m 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(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg
func (*MockDeviceService_ListClientMockRecorder) SendMsg ¶
func (mr *MockDeviceService_ListClientMockRecorder) SendMsg(m 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
type MockDeviceService_ListServer ¶
type MockDeviceService_ListServer struct {
// contains filtered or unexported fields
}
MockDeviceService_ListServer is a mock of DeviceService_ListServer interface
func NewMockDeviceService_ListServer ¶
func NewMockDeviceService_ListServer(ctrl *gomock.Controller) *MockDeviceService_ListServer
NewMockDeviceService_ListServer creates a new mock instance
func (*MockDeviceService_ListServer) Context ¶
func (m *MockDeviceService_ListServer) Context() context.Context
Context mocks base method
func (*MockDeviceService_ListServer) EXPECT ¶
func (m *MockDeviceService_ListServer) EXPECT() *MockDeviceService_ListServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDeviceService_ListServer) RecvMsg ¶
func (m_2 *MockDeviceService_ListServer) RecvMsg(m interface{}) error
RecvMsg mocks base method
func (*MockDeviceService_ListServer) Send ¶
func (m *MockDeviceService_ListServer) Send(arg0 *device.ListResponse) error
Send mocks base method
func (*MockDeviceService_ListServer) SendHeader ¶
func (m *MockDeviceService_ListServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method
func (*MockDeviceService_ListServer) SendMsg ¶
func (m_2 *MockDeviceService_ListServer) SendMsg(m interface{}) error
SendMsg mocks base method
func (*MockDeviceService_ListServer) SetHeader ¶
func (m *MockDeviceService_ListServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method
func (*MockDeviceService_ListServer) SetTrailer ¶
func (m *MockDeviceService_ListServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method
type MockDeviceService_ListServerMockRecorder ¶
type MockDeviceService_ListServerMockRecorder struct {
// contains filtered or unexported fields
}
MockDeviceService_ListServerMockRecorder is the mock recorder for MockDeviceService_ListServer
func (*MockDeviceService_ListServerMockRecorder) Context ¶
func (mr *MockDeviceService_ListServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockDeviceService_ListServerMockRecorder) RecvMsg ¶
func (mr *MockDeviceService_ListServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg
func (*MockDeviceService_ListServerMockRecorder) Send ¶
func (mr *MockDeviceService_ListServerMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send
func (*MockDeviceService_ListServerMockRecorder) SendHeader ¶
func (mr *MockDeviceService_ListServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader
func (*MockDeviceService_ListServerMockRecorder) SendMsg ¶
func (mr *MockDeviceService_ListServerMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg
func (*MockDeviceService_ListServerMockRecorder) SetHeader ¶
func (mr *MockDeviceService_ListServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader
func (*MockDeviceService_ListServerMockRecorder) SetTrailer ¶
func (mr *MockDeviceService_ListServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer
Directories ¶
Path | Synopsis |
---|---|
Package southbound is a generated GoMock package.
|
Package southbound is a generated GoMock package. |
Package store is a generated GoMock package.
|
Package store is a generated GoMock package. |
cache
Package device is a generated GoMock package.
|
Package device is a generated GoMock package. |