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.UnimplementedAnomalyGroupServiceServer` as part of `AnomalyGroupServiceServer`. In case you want to regenerate it, re-add it to AnomalyGroupServiceServer definition.
Index ¶
- type AnomalyGroupServiceServer
- func (_m *AnomalyGroupServiceServer) CreateNewAnomalyGroup(_a0 context.Context, _a1 *v1.CreateNewAnomalyGroupRequest) (*v1.CreateNewAnomalyGroupResponse, error)
- func (_m *AnomalyGroupServiceServer) FindExistingGroups(_a0 context.Context, _a1 *v1.FindExistingGroupsRequest) (*v1.FindExistingGroupsResponse, error)
- func (_m *AnomalyGroupServiceServer) FindTopAnomalies(_a0 context.Context, _a1 *v1.FindTopAnomaliesRequest) (*v1.FindTopAnomaliesResponse, error)
- func (_m *AnomalyGroupServiceServer) LoadAnomalyGroupByID(_a0 context.Context, _a1 *v1.LoadAnomalyGroupByIDRequest) (*v1.LoadAnomalyGroupByIDResponse, error)
- func (_m *AnomalyGroupServiceServer) UpdateAnomalyGroup(_a0 context.Context, _a1 *v1.UpdateAnomalyGroupRequest) (*v1.UpdateAnomalyGroupResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnomalyGroupServiceServer ¶
type AnomalyGroupServiceServer struct { mock.Mock // -----------Line below was added manually----------- v1.UnimplementedAnomalyGroupServiceServer }
AnomalyGroupServiceServer is an autogenerated mock type for the AnomalyGroupServiceServer type
func NewAnomalyGroupServiceServer ¶
func NewAnomalyGroupServiceServer(t interface { mock.TestingT Cleanup(func()) }) *AnomalyGroupServiceServer
NewAnomalyGroupServiceServer creates a new instance of AnomalyGroupServiceServer. 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 (*AnomalyGroupServiceServer) CreateNewAnomalyGroup ¶
func (_m *AnomalyGroupServiceServer) CreateNewAnomalyGroup(_a0 context.Context, _a1 *v1.CreateNewAnomalyGroupRequest) (*v1.CreateNewAnomalyGroupResponse, error)
CreateNewAnomalyGroup provides a mock function with given fields: _a0, _a1
func (*AnomalyGroupServiceServer) FindExistingGroups ¶
func (_m *AnomalyGroupServiceServer) FindExistingGroups(_a0 context.Context, _a1 *v1.FindExistingGroupsRequest) (*v1.FindExistingGroupsResponse, error)
FindExistingGroups provides a mock function with given fields: _a0, _a1
func (*AnomalyGroupServiceServer) FindTopAnomalies ¶
func (_m *AnomalyGroupServiceServer) FindTopAnomalies(_a0 context.Context, _a1 *v1.FindTopAnomaliesRequest) (*v1.FindTopAnomaliesResponse, error)
FindTopAnomalies provides a mock function with given fields: _a0, _a1
func (*AnomalyGroupServiceServer) LoadAnomalyGroupByID ¶
func (_m *AnomalyGroupServiceServer) LoadAnomalyGroupByID(_a0 context.Context, _a1 *v1.LoadAnomalyGroupByIDRequest) (*v1.LoadAnomalyGroupByIDResponse, error)
LoadAnomalyGroupByID provides a mock function with given fields: _a0, _a1
func (*AnomalyGroupServiceServer) UpdateAnomalyGroup ¶
func (_m *AnomalyGroupServiceServer) UpdateAnomalyGroup(_a0 context.Context, _a1 *v1.UpdateAnomalyGroupRequest) (*v1.UpdateAnomalyGroupResponse, error)
UpdateAnomalyGroup provides a mock function with given fields: _a0, _a1