Documentation ¶
Overview ¶
Code generated by mockery v0.0.0-dev. (with some manual edits)
Note: Please be careful autogenerating this file again, as mockery doesn't do a perfect job of creating a mock grpc server - it doesn't add `v1.UnimplementedCulpritServiceServer` as part of `CulpritServiceServer`. In case you want to regenerate it, re-add it to CulpritServiceServer definition.
Index ¶
- type CulpritServiceServer
- func (_m *CulpritServiceServer) GetCulprit(_a0 context.Context, _a1 *v1.GetCulpritRequest) (*v1.GetCulpritResponse, error)
- func (_m *CulpritServiceServer) NotifyUserOfAnomaly(_a0 context.Context, _a1 *v1.NotifyUserOfAnomalyRequest) (*v1.NotifyUserOfAnomalyResponse, error)
- func (_m *CulpritServiceServer) NotifyUserOfCulprit(_a0 context.Context, _a1 *v1.NotifyUserOfCulpritRequest) (*v1.NotifyUserOfCulpritResponse, error)
- func (_m *CulpritServiceServer) PersistCulprit(_a0 context.Context, _a1 *v1.PersistCulpritRequest) (*v1.PersistCulpritResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CulpritServiceServer ¶
type CulpritServiceServer struct { mock.Mock // -----------Line below was added manually----------- v1.UnimplementedCulpritServiceServer }
CulpritServiceServer is an autogenerated mock type for the CulpritServiceServer type
func NewCulpritServiceServer ¶
func NewCulpritServiceServer(t interface { mock.TestingT Cleanup(func()) }) *CulpritServiceServer
NewCulpritServiceServer creates a new instance of CulpritServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CulpritServiceServer) GetCulprit ¶
func (_m *CulpritServiceServer) GetCulprit(_a0 context.Context, _a1 *v1.GetCulpritRequest) (*v1.GetCulpritResponse, error)
GetCulprit provides a mock function with given fields: _a0, _a1
func (*CulpritServiceServer) NotifyUserOfAnomaly ¶
func (_m *CulpritServiceServer) NotifyUserOfAnomaly(_a0 context.Context, _a1 *v1.NotifyUserOfAnomalyRequest) (*v1.NotifyUserOfAnomalyResponse, error)
NotifyUserOfAnomaly provides a mock function with given fields: _a0, _a1
func (*CulpritServiceServer) NotifyUserOfCulprit ¶
func (_m *CulpritServiceServer) NotifyUserOfCulprit(_a0 context.Context, _a1 *v1.NotifyUserOfCulpritRequest) (*v1.NotifyUserOfCulpritResponse, error)
NotifyUserOfCulprit provides a mock function with given fields: _a0, _a1
func (*CulpritServiceServer) PersistCulprit ¶
func (_m *CulpritServiceServer) PersistCulprit(_a0 context.Context, _a1 *v1.PersistCulpritRequest) (*v1.PersistCulpritResponse, error)
PersistCulprit provides a mock function with given fields: _a0, _a1