Documentation ¶
Index ¶
- type FindingServiceClient
- func (_m *FindingServiceClient) BatchListFinding(ctx context.Context, in *finding.BatchListFindingRequest, ...) (*finding.BatchListFindingResponse, error)
- func (_m *FindingServiceClient) CleanOldResource(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (_m *FindingServiceClient) ClearScore(ctx context.Context, in *finding.ClearScoreRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (_m *FindingServiceClient) DeleteFinding(ctx context.Context, in *finding.DeleteFindingRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (_m *FindingServiceClient) DeleteFindingSetting(ctx context.Context, in *finding.DeleteFindingSettingRequest, ...) (*emptypb.Empty, error)
- func (_m *FindingServiceClient) DeletePendFinding(ctx context.Context, in *finding.DeletePendFindingRequest, ...) (*emptypb.Empty, error)
- func (_m *FindingServiceClient) DeleteResource(ctx context.Context, in *finding.DeleteResourceRequest, ...) (*emptypb.Empty, error)
- func (_m *FindingServiceClient) GetAISummary(ctx context.Context, in *finding.GetAISummaryRequest, opts ...grpc.CallOption) (*finding.GetAISummaryResponse, error)
- func (_m *FindingServiceClient) GetAISummaryStream(ctx context.Context, in *finding.GetAISummaryRequest, opts ...grpc.CallOption) (finding.FindingService_GetAISummaryStreamClient, error)
- func (_m *FindingServiceClient) GetFinding(ctx context.Context, in *finding.GetFindingRequest, opts ...grpc.CallOption) (*finding.GetFindingResponse, error)
- func (_m *FindingServiceClient) GetFindingSetting(ctx context.Context, in *finding.GetFindingSettingRequest, ...) (*finding.GetFindingSettingResponse, error)
- func (_m *FindingServiceClient) GetPendFinding(ctx context.Context, in *finding.GetPendFindingRequest, ...) (*finding.GetPendFindingResponse, error)
- func (_m *FindingServiceClient) GetRecommend(ctx context.Context, in *finding.GetRecommendRequest, opts ...grpc.CallOption) (*finding.GetRecommendResponse, error)
- func (_m *FindingServiceClient) GetResource(ctx context.Context, in *finding.GetResourceRequest, opts ...grpc.CallOption) (*finding.GetResourceResponse, error)
- func (_m *FindingServiceClient) ListFinding(ctx context.Context, in *finding.ListFindingRequest, opts ...grpc.CallOption) (*finding.ListFindingResponse, error)
- func (_m *FindingServiceClient) ListFindingSetting(ctx context.Context, in *finding.ListFindingSettingRequest, ...) (*finding.ListFindingSettingResponse, error)
- func (_m *FindingServiceClient) ListFindingTag(ctx context.Context, in *finding.ListFindingTagRequest, ...) (*finding.ListFindingTagResponse, error)
- func (_m *FindingServiceClient) ListFindingTagName(ctx context.Context, in *finding.ListFindingTagNameRequest, ...) (*finding.ListFindingTagNameResponse, error)
- func (_m *FindingServiceClient) ListResource(ctx context.Context, in *finding.ListResourceRequest, opts ...grpc.CallOption) (*finding.ListResourceResponse, error)
- func (_m *FindingServiceClient) ListResourceTag(ctx context.Context, in *finding.ListResourceTagRequest, ...) (*finding.ListResourceTagResponse, error)
- func (_m *FindingServiceClient) ListResourceTagName(ctx context.Context, in *finding.ListResourceTagNameRequest, ...) (*finding.ListResourceTagNameResponse, error)
- func (_m *FindingServiceClient) PutFinding(ctx context.Context, in *finding.PutFindingRequest, opts ...grpc.CallOption) (*finding.PutFindingResponse, error)
- func (_m *FindingServiceClient) PutFindingBatch(ctx context.Context, in *finding.PutFindingBatchRequest, ...) (*emptypb.Empty, error)
- func (_m *FindingServiceClient) PutFindingSetting(ctx context.Context, in *finding.PutFindingSettingRequest, ...) (*finding.PutFindingSettingResponse, error)
- func (_m *FindingServiceClient) PutPendFinding(ctx context.Context, in *finding.PutPendFindingRequest, ...) (*finding.PutPendFindingResponse, error)
- func (_m *FindingServiceClient) PutRecommend(ctx context.Context, in *finding.PutRecommendRequest, opts ...grpc.CallOption) (*finding.PutRecommendResponse, error)
- func (_m *FindingServiceClient) PutResource(ctx context.Context, in *finding.PutResourceRequest, opts ...grpc.CallOption) (*finding.PutResourceResponse, error)
- func (_m *FindingServiceClient) PutResourceBatch(ctx context.Context, in *finding.PutResourceBatchRequest, ...) (*emptypb.Empty, error)
- func (_m *FindingServiceClient) TagFinding(ctx context.Context, in *finding.TagFindingRequest, opts ...grpc.CallOption) (*finding.TagFindingResponse, error)
- func (_m *FindingServiceClient) TagResource(ctx context.Context, in *finding.TagResourceRequest, opts ...grpc.CallOption) (*finding.TagResourceResponse, error)
- func (_m *FindingServiceClient) UntagByResourceName(ctx context.Context, in *finding.UntagByResourceNameRequest, ...) (*emptypb.Empty, error)
- func (_m *FindingServiceClient) UntagFinding(ctx context.Context, in *finding.UntagFindingRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (_m *FindingServiceClient) UntagResource(ctx context.Context, in *finding.UntagResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- type FindingServiceServer
- func (_m *FindingServiceServer) BatchListFinding(_a0 context.Context, _a1 *finding.BatchListFindingRequest) (*finding.BatchListFindingResponse, error)
- func (_m *FindingServiceServer) CleanOldResource(_a0 context.Context, _a1 *emptypb.Empty) (*emptypb.Empty, error)
- func (_m *FindingServiceServer) ClearScore(_a0 context.Context, _a1 *finding.ClearScoreRequest) (*emptypb.Empty, error)
- func (_m *FindingServiceServer) DeleteFinding(_a0 context.Context, _a1 *finding.DeleteFindingRequest) (*emptypb.Empty, error)
- func (_m *FindingServiceServer) DeleteFindingSetting(_a0 context.Context, _a1 *finding.DeleteFindingSettingRequest) (*emptypb.Empty, error)
- func (_m *FindingServiceServer) DeletePendFinding(_a0 context.Context, _a1 *finding.DeletePendFindingRequest) (*emptypb.Empty, error)
- func (_m *FindingServiceServer) DeleteResource(_a0 context.Context, _a1 *finding.DeleteResourceRequest) (*emptypb.Empty, error)
- func (_m *FindingServiceServer) GetAISummary(_a0 context.Context, _a1 *finding.GetAISummaryRequest) (*finding.GetAISummaryResponse, error)
- func (_m *FindingServiceServer) GetAISummaryStream(_a0 *finding.GetAISummaryRequest, ...) error
- func (_m *FindingServiceServer) GetFinding(_a0 context.Context, _a1 *finding.GetFindingRequest) (*finding.GetFindingResponse, error)
- func (_m *FindingServiceServer) GetFindingSetting(_a0 context.Context, _a1 *finding.GetFindingSettingRequest) (*finding.GetFindingSettingResponse, error)
- func (_m *FindingServiceServer) GetPendFinding(_a0 context.Context, _a1 *finding.GetPendFindingRequest) (*finding.GetPendFindingResponse, error)
- func (_m *FindingServiceServer) GetRecommend(_a0 context.Context, _a1 *finding.GetRecommendRequest) (*finding.GetRecommendResponse, error)
- func (_m *FindingServiceServer) GetResource(_a0 context.Context, _a1 *finding.GetResourceRequest) (*finding.GetResourceResponse, error)
- func (_m *FindingServiceServer) ListFinding(_a0 context.Context, _a1 *finding.ListFindingRequest) (*finding.ListFindingResponse, error)
- func (_m *FindingServiceServer) ListFindingSetting(_a0 context.Context, _a1 *finding.ListFindingSettingRequest) (*finding.ListFindingSettingResponse, error)
- func (_m *FindingServiceServer) ListFindingTag(_a0 context.Context, _a1 *finding.ListFindingTagRequest) (*finding.ListFindingTagResponse, error)
- func (_m *FindingServiceServer) ListFindingTagName(_a0 context.Context, _a1 *finding.ListFindingTagNameRequest) (*finding.ListFindingTagNameResponse, error)
- func (_m *FindingServiceServer) ListResource(_a0 context.Context, _a1 *finding.ListResourceRequest) (*finding.ListResourceResponse, error)
- func (_m *FindingServiceServer) ListResourceTag(_a0 context.Context, _a1 *finding.ListResourceTagRequest) (*finding.ListResourceTagResponse, error)
- func (_m *FindingServiceServer) ListResourceTagName(_a0 context.Context, _a1 *finding.ListResourceTagNameRequest) (*finding.ListResourceTagNameResponse, error)
- func (_m *FindingServiceServer) PutFinding(_a0 context.Context, _a1 *finding.PutFindingRequest) (*finding.PutFindingResponse, error)
- func (_m *FindingServiceServer) PutFindingBatch(_a0 context.Context, _a1 *finding.PutFindingBatchRequest) (*emptypb.Empty, error)
- func (_m *FindingServiceServer) PutFindingSetting(_a0 context.Context, _a1 *finding.PutFindingSettingRequest) (*finding.PutFindingSettingResponse, error)
- func (_m *FindingServiceServer) PutPendFinding(_a0 context.Context, _a1 *finding.PutPendFindingRequest) (*finding.PutPendFindingResponse, error)
- func (_m *FindingServiceServer) PutRecommend(_a0 context.Context, _a1 *finding.PutRecommendRequest) (*finding.PutRecommendResponse, error)
- func (_m *FindingServiceServer) PutResource(_a0 context.Context, _a1 *finding.PutResourceRequest) (*finding.PutResourceResponse, error)
- func (_m *FindingServiceServer) PutResourceBatch(_a0 context.Context, _a1 *finding.PutResourceBatchRequest) (*emptypb.Empty, error)
- func (_m *FindingServiceServer) TagFinding(_a0 context.Context, _a1 *finding.TagFindingRequest) (*finding.TagFindingResponse, error)
- func (_m *FindingServiceServer) TagResource(_a0 context.Context, _a1 *finding.TagResourceRequest) (*finding.TagResourceResponse, error)
- func (_m *FindingServiceServer) UntagByResourceName(_a0 context.Context, _a1 *finding.UntagByResourceNameRequest) (*emptypb.Empty, error)
- func (_m *FindingServiceServer) UntagFinding(_a0 context.Context, _a1 *finding.UntagFindingRequest) (*emptypb.Empty, error)
- func (_m *FindingServiceServer) UntagResource(_a0 context.Context, _a1 *finding.UntagResourceRequest) (*emptypb.Empty, error)
- type FindingService_GetAISummaryClient
- func (_m *FindingService_GetAISummaryClient) CloseSend() error
- func (_m *FindingService_GetAISummaryClient) Context() context.Context
- func (_m *FindingService_GetAISummaryClient) Header() (metadata.MD, error)
- func (_m *FindingService_GetAISummaryClient) Recv() (*finding.GetAISummaryResponse, error)
- func (_m *FindingService_GetAISummaryClient) RecvMsg(m interface{}) error
- func (_m *FindingService_GetAISummaryClient) SendMsg(m interface{}) error
- func (_m *FindingService_GetAISummaryClient) Trailer() metadata.MD
- type FindingService_GetAISummaryServer
- func (_m *FindingService_GetAISummaryServer) Context() context.Context
- func (_m *FindingService_GetAISummaryServer) RecvMsg(m interface{}) error
- func (_m *FindingService_GetAISummaryServer) Send(_a0 *finding.GetAISummaryResponse) error
- func (_m *FindingService_GetAISummaryServer) SendHeader(_a0 metadata.MD) error
- func (_m *FindingService_GetAISummaryServer) SendMsg(m interface{}) error
- func (_m *FindingService_GetAISummaryServer) SetHeader(_a0 metadata.MD) error
- func (_m *FindingService_GetAISummaryServer) SetTrailer(_a0 metadata.MD)
- type FindingService_GetAISummaryStreamClient
- func (_m *FindingService_GetAISummaryStreamClient) CloseSend() error
- func (_m *FindingService_GetAISummaryStreamClient) Context() context.Context
- func (_m *FindingService_GetAISummaryStreamClient) Header() (metadata.MD, error)
- func (_m *FindingService_GetAISummaryStreamClient) Recv() (*finding.GetAISummaryResponse, error)
- func (_m *FindingService_GetAISummaryStreamClient) RecvMsg(m interface{}) error
- func (_m *FindingService_GetAISummaryStreamClient) SendMsg(m interface{}) error
- func (_m *FindingService_GetAISummaryStreamClient) Trailer() metadata.MD
- type FindingService_GetAISummaryStreamServer
- func (_m *FindingService_GetAISummaryStreamServer) Context() context.Context
- func (_m *FindingService_GetAISummaryStreamServer) RecvMsg(m interface{}) error
- func (_m *FindingService_GetAISummaryStreamServer) Send(_a0 *finding.GetAISummaryResponse) error
- func (_m *FindingService_GetAISummaryStreamServer) SendHeader(_a0 metadata.MD) error
- func (_m *FindingService_GetAISummaryStreamServer) SendMsg(m interface{}) error
- func (_m *FindingService_GetAISummaryStreamServer) SetHeader(_a0 metadata.MD) error
- func (_m *FindingService_GetAISummaryStreamServer) SetTrailer(_a0 metadata.MD)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FindingServiceClient ¶
FindingServiceClient is an autogenerated mock type for the FindingServiceClient type
func NewFindingServiceClient ¶
func NewFindingServiceClient(t interface { mock.TestingT Cleanup(func()) }) *FindingServiceClient
NewFindingServiceClient creates a new instance of FindingServiceClient. 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 (*FindingServiceClient) BatchListFinding ¶
func (_m *FindingServiceClient) BatchListFinding(ctx context.Context, in *finding.BatchListFindingRequest, opts ...grpc.CallOption) (*finding.BatchListFindingResponse, error)
BatchListFinding provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) CleanOldResource ¶ added in v0.9.0
func (_m *FindingServiceClient) CleanOldResource(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
CleanOldResource provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) ClearScore ¶
func (_m *FindingServiceClient) ClearScore(ctx context.Context, in *finding.ClearScoreRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
ClearScore provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) DeleteFinding ¶
func (_m *FindingServiceClient) DeleteFinding(ctx context.Context, in *finding.DeleteFindingRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
DeleteFinding provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) DeleteFindingSetting ¶
func (_m *FindingServiceClient) DeleteFindingSetting(ctx context.Context, in *finding.DeleteFindingSettingRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
DeleteFindingSetting provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) DeletePendFinding ¶
func (_m *FindingServiceClient) DeletePendFinding(ctx context.Context, in *finding.DeletePendFindingRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
DeletePendFinding provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) DeleteResource ¶
func (_m *FindingServiceClient) DeleteResource(ctx context.Context, in *finding.DeleteResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
DeleteResource provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) GetAISummary ¶ added in v0.6.0
func (_m *FindingServiceClient) GetAISummary(ctx context.Context, in *finding.GetAISummaryRequest, opts ...grpc.CallOption) (*finding.GetAISummaryResponse, error)
GetAISummary provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) GetAISummaryStream ¶ added in v0.10.0
func (_m *FindingServiceClient) GetAISummaryStream(ctx context.Context, in *finding.GetAISummaryRequest, opts ...grpc.CallOption) (finding.FindingService_GetAISummaryStreamClient, error)
GetAISummaryStream provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) GetFinding ¶
func (_m *FindingServiceClient) GetFinding(ctx context.Context, in *finding.GetFindingRequest, opts ...grpc.CallOption) (*finding.GetFindingResponse, error)
GetFinding provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) GetFindingSetting ¶
func (_m *FindingServiceClient) GetFindingSetting(ctx context.Context, in *finding.GetFindingSettingRequest, opts ...grpc.CallOption) (*finding.GetFindingSettingResponse, error)
GetFindingSetting provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) GetPendFinding ¶
func (_m *FindingServiceClient) GetPendFinding(ctx context.Context, in *finding.GetPendFindingRequest, opts ...grpc.CallOption) (*finding.GetPendFindingResponse, error)
GetPendFinding provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) GetRecommend ¶
func (_m *FindingServiceClient) GetRecommend(ctx context.Context, in *finding.GetRecommendRequest, opts ...grpc.CallOption) (*finding.GetRecommendResponse, error)
GetRecommend provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) GetResource ¶
func (_m *FindingServiceClient) GetResource(ctx context.Context, in *finding.GetResourceRequest, opts ...grpc.CallOption) (*finding.GetResourceResponse, error)
GetResource provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) ListFinding ¶
func (_m *FindingServiceClient) ListFinding(ctx context.Context, in *finding.ListFindingRequest, opts ...grpc.CallOption) (*finding.ListFindingResponse, error)
ListFinding provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) ListFindingSetting ¶
func (_m *FindingServiceClient) ListFindingSetting(ctx context.Context, in *finding.ListFindingSettingRequest, opts ...grpc.CallOption) (*finding.ListFindingSettingResponse, error)
ListFindingSetting provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) ListFindingTag ¶
func (_m *FindingServiceClient) ListFindingTag(ctx context.Context, in *finding.ListFindingTagRequest, opts ...grpc.CallOption) (*finding.ListFindingTagResponse, error)
ListFindingTag provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) ListFindingTagName ¶
func (_m *FindingServiceClient) ListFindingTagName(ctx context.Context, in *finding.ListFindingTagNameRequest, opts ...grpc.CallOption) (*finding.ListFindingTagNameResponse, error)
ListFindingTagName provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) ListResource ¶
func (_m *FindingServiceClient) ListResource(ctx context.Context, in *finding.ListResourceRequest, opts ...grpc.CallOption) (*finding.ListResourceResponse, error)
ListResource provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) ListResourceTag ¶
func (_m *FindingServiceClient) ListResourceTag(ctx context.Context, in *finding.ListResourceTagRequest, opts ...grpc.CallOption) (*finding.ListResourceTagResponse, error)
ListResourceTag provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) ListResourceTagName ¶
func (_m *FindingServiceClient) ListResourceTagName(ctx context.Context, in *finding.ListResourceTagNameRequest, opts ...grpc.CallOption) (*finding.ListResourceTagNameResponse, error)
ListResourceTagName provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) PutFinding ¶
func (_m *FindingServiceClient) PutFinding(ctx context.Context, in *finding.PutFindingRequest, opts ...grpc.CallOption) (*finding.PutFindingResponse, error)
PutFinding provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) PutFindingBatch ¶
func (_m *FindingServiceClient) PutFindingBatch(ctx context.Context, in *finding.PutFindingBatchRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
PutFindingBatch provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) PutFindingSetting ¶
func (_m *FindingServiceClient) PutFindingSetting(ctx context.Context, in *finding.PutFindingSettingRequest, opts ...grpc.CallOption) (*finding.PutFindingSettingResponse, error)
PutFindingSetting provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) PutPendFinding ¶
func (_m *FindingServiceClient) PutPendFinding(ctx context.Context, in *finding.PutPendFindingRequest, opts ...grpc.CallOption) (*finding.PutPendFindingResponse, error)
PutPendFinding provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) PutRecommend ¶
func (_m *FindingServiceClient) PutRecommend(ctx context.Context, in *finding.PutRecommendRequest, opts ...grpc.CallOption) (*finding.PutRecommendResponse, error)
PutRecommend provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) PutResource ¶
func (_m *FindingServiceClient) PutResource(ctx context.Context, in *finding.PutResourceRequest, opts ...grpc.CallOption) (*finding.PutResourceResponse, error)
PutResource provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) PutResourceBatch ¶
func (_m *FindingServiceClient) PutResourceBatch(ctx context.Context, in *finding.PutResourceBatchRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
PutResourceBatch provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) TagFinding ¶
func (_m *FindingServiceClient) TagFinding(ctx context.Context, in *finding.TagFindingRequest, opts ...grpc.CallOption) (*finding.TagFindingResponse, error)
TagFinding provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) TagResource ¶
func (_m *FindingServiceClient) TagResource(ctx context.Context, in *finding.TagResourceRequest, opts ...grpc.CallOption) (*finding.TagResourceResponse, error)
TagResource provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) UntagByResourceName ¶ added in v0.9.0
func (_m *FindingServiceClient) UntagByResourceName(ctx context.Context, in *finding.UntagByResourceNameRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
UntagByResourceName provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) UntagFinding ¶
func (_m *FindingServiceClient) UntagFinding(ctx context.Context, in *finding.UntagFindingRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
UntagFinding provides a mock function with given fields: ctx, in, opts
func (*FindingServiceClient) UntagResource ¶
func (_m *FindingServiceClient) UntagResource(ctx context.Context, in *finding.UntagResourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
UntagResource provides a mock function with given fields: ctx, in, opts
type FindingServiceServer ¶
FindingServiceServer is an autogenerated mock type for the FindingServiceServer type
func NewFindingServiceServer ¶
func NewFindingServiceServer(t interface { mock.TestingT Cleanup(func()) }) *FindingServiceServer
NewFindingServiceServer creates a new instance of FindingServiceServer. 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 (*FindingServiceServer) BatchListFinding ¶
func (_m *FindingServiceServer) BatchListFinding(_a0 context.Context, _a1 *finding.BatchListFindingRequest) (*finding.BatchListFindingResponse, error)
BatchListFinding provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) CleanOldResource ¶ added in v0.9.0
func (_m *FindingServiceServer) CleanOldResource(_a0 context.Context, _a1 *emptypb.Empty) (*emptypb.Empty, error)
CleanOldResource provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) ClearScore ¶
func (_m *FindingServiceServer) ClearScore(_a0 context.Context, _a1 *finding.ClearScoreRequest) (*emptypb.Empty, error)
ClearScore provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) DeleteFinding ¶
func (_m *FindingServiceServer) DeleteFinding(_a0 context.Context, _a1 *finding.DeleteFindingRequest) (*emptypb.Empty, error)
DeleteFinding provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) DeleteFindingSetting ¶
func (_m *FindingServiceServer) DeleteFindingSetting(_a0 context.Context, _a1 *finding.DeleteFindingSettingRequest) (*emptypb.Empty, error)
DeleteFindingSetting provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) DeletePendFinding ¶
func (_m *FindingServiceServer) DeletePendFinding(_a0 context.Context, _a1 *finding.DeletePendFindingRequest) (*emptypb.Empty, error)
DeletePendFinding provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) DeleteResource ¶
func (_m *FindingServiceServer) DeleteResource(_a0 context.Context, _a1 *finding.DeleteResourceRequest) (*emptypb.Empty, error)
DeleteResource provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) GetAISummary ¶ added in v0.6.0
func (_m *FindingServiceServer) GetAISummary(_a0 context.Context, _a1 *finding.GetAISummaryRequest) (*finding.GetAISummaryResponse, error)
GetAISummary provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) GetAISummaryStream ¶ added in v0.10.0
func (_m *FindingServiceServer) GetAISummaryStream(_a0 *finding.GetAISummaryRequest, _a1 finding.FindingService_GetAISummaryStreamServer) error
GetAISummaryStream provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) GetFinding ¶
func (_m *FindingServiceServer) GetFinding(_a0 context.Context, _a1 *finding.GetFindingRequest) (*finding.GetFindingResponse, error)
GetFinding provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) GetFindingSetting ¶
func (_m *FindingServiceServer) GetFindingSetting(_a0 context.Context, _a1 *finding.GetFindingSettingRequest) (*finding.GetFindingSettingResponse, error)
GetFindingSetting provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) GetPendFinding ¶
func (_m *FindingServiceServer) GetPendFinding(_a0 context.Context, _a1 *finding.GetPendFindingRequest) (*finding.GetPendFindingResponse, error)
GetPendFinding provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) GetRecommend ¶
func (_m *FindingServiceServer) GetRecommend(_a0 context.Context, _a1 *finding.GetRecommendRequest) (*finding.GetRecommendResponse, error)
GetRecommend provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) GetResource ¶
func (_m *FindingServiceServer) GetResource(_a0 context.Context, _a1 *finding.GetResourceRequest) (*finding.GetResourceResponse, error)
GetResource provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) ListFinding ¶
func (_m *FindingServiceServer) ListFinding(_a0 context.Context, _a1 *finding.ListFindingRequest) (*finding.ListFindingResponse, error)
ListFinding provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) ListFindingSetting ¶
func (_m *FindingServiceServer) ListFindingSetting(_a0 context.Context, _a1 *finding.ListFindingSettingRequest) (*finding.ListFindingSettingResponse, error)
ListFindingSetting provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) ListFindingTag ¶
func (_m *FindingServiceServer) ListFindingTag(_a0 context.Context, _a1 *finding.ListFindingTagRequest) (*finding.ListFindingTagResponse, error)
ListFindingTag provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) ListFindingTagName ¶
func (_m *FindingServiceServer) ListFindingTagName(_a0 context.Context, _a1 *finding.ListFindingTagNameRequest) (*finding.ListFindingTagNameResponse, error)
ListFindingTagName provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) ListResource ¶
func (_m *FindingServiceServer) ListResource(_a0 context.Context, _a1 *finding.ListResourceRequest) (*finding.ListResourceResponse, error)
ListResource provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) ListResourceTag ¶
func (_m *FindingServiceServer) ListResourceTag(_a0 context.Context, _a1 *finding.ListResourceTagRequest) (*finding.ListResourceTagResponse, error)
ListResourceTag provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) ListResourceTagName ¶
func (_m *FindingServiceServer) ListResourceTagName(_a0 context.Context, _a1 *finding.ListResourceTagNameRequest) (*finding.ListResourceTagNameResponse, error)
ListResourceTagName provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) PutFinding ¶
func (_m *FindingServiceServer) PutFinding(_a0 context.Context, _a1 *finding.PutFindingRequest) (*finding.PutFindingResponse, error)
PutFinding provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) PutFindingBatch ¶
func (_m *FindingServiceServer) PutFindingBatch(_a0 context.Context, _a1 *finding.PutFindingBatchRequest) (*emptypb.Empty, error)
PutFindingBatch provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) PutFindingSetting ¶
func (_m *FindingServiceServer) PutFindingSetting(_a0 context.Context, _a1 *finding.PutFindingSettingRequest) (*finding.PutFindingSettingResponse, error)
PutFindingSetting provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) PutPendFinding ¶
func (_m *FindingServiceServer) PutPendFinding(_a0 context.Context, _a1 *finding.PutPendFindingRequest) (*finding.PutPendFindingResponse, error)
PutPendFinding provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) PutRecommend ¶
func (_m *FindingServiceServer) PutRecommend(_a0 context.Context, _a1 *finding.PutRecommendRequest) (*finding.PutRecommendResponse, error)
PutRecommend provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) PutResource ¶
func (_m *FindingServiceServer) PutResource(_a0 context.Context, _a1 *finding.PutResourceRequest) (*finding.PutResourceResponse, error)
PutResource provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) PutResourceBatch ¶
func (_m *FindingServiceServer) PutResourceBatch(_a0 context.Context, _a1 *finding.PutResourceBatchRequest) (*emptypb.Empty, error)
PutResourceBatch provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) TagFinding ¶
func (_m *FindingServiceServer) TagFinding(_a0 context.Context, _a1 *finding.TagFindingRequest) (*finding.TagFindingResponse, error)
TagFinding provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) TagResource ¶
func (_m *FindingServiceServer) TagResource(_a0 context.Context, _a1 *finding.TagResourceRequest) (*finding.TagResourceResponse, error)
TagResource provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) UntagByResourceName ¶ added in v0.9.0
func (_m *FindingServiceServer) UntagByResourceName(_a0 context.Context, _a1 *finding.UntagByResourceNameRequest) (*emptypb.Empty, error)
UntagByResourceName provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) UntagFinding ¶
func (_m *FindingServiceServer) UntagFinding(_a0 context.Context, _a1 *finding.UntagFindingRequest) (*emptypb.Empty, error)
UntagFinding provides a mock function with given fields: _a0, _a1
func (*FindingServiceServer) UntagResource ¶
func (_m *FindingServiceServer) UntagResource(_a0 context.Context, _a1 *finding.UntagResourceRequest) (*emptypb.Empty, error)
UntagResource provides a mock function with given fields: _a0, _a1
type FindingService_GetAISummaryClient ¶ added in v0.10.0
FindingService_GetAISummaryClient is an autogenerated mock type for the FindingService_GetAISummaryClient type
func NewFindingService_GetAISummaryClient ¶ added in v0.10.0
func NewFindingService_GetAISummaryClient(t interface { mock.TestingT Cleanup(func()) }) *FindingService_GetAISummaryClient
NewFindingService_GetAISummaryClient creates a new instance of FindingService_GetAISummaryClient. 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 (*FindingService_GetAISummaryClient) CloseSend ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryClient) CloseSend() error
CloseSend provides a mock function with given fields:
func (*FindingService_GetAISummaryClient) Context ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryClient) Context() context.Context
Context provides a mock function with given fields:
func (*FindingService_GetAISummaryClient) Header ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryClient) Header() (metadata.MD, error)
Header provides a mock function with given fields:
func (*FindingService_GetAISummaryClient) Recv ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryClient) Recv() (*finding.GetAISummaryResponse, error)
Recv provides a mock function with given fields:
func (*FindingService_GetAISummaryClient) RecvMsg ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryClient) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*FindingService_GetAISummaryClient) SendMsg ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryClient) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*FindingService_GetAISummaryClient) Trailer ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryClient) Trailer() metadata.MD
Trailer provides a mock function with given fields:
type FindingService_GetAISummaryServer ¶ added in v0.10.0
FindingService_GetAISummaryServer is an autogenerated mock type for the FindingService_GetAISummaryServer type
func NewFindingService_GetAISummaryServer ¶ added in v0.10.0
func NewFindingService_GetAISummaryServer(t interface { mock.TestingT Cleanup(func()) }) *FindingService_GetAISummaryServer
NewFindingService_GetAISummaryServer creates a new instance of FindingService_GetAISummaryServer. 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 (*FindingService_GetAISummaryServer) Context ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryServer) Context() context.Context
Context provides a mock function with given fields:
func (*FindingService_GetAISummaryServer) RecvMsg ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryServer) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*FindingService_GetAISummaryServer) Send ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryServer) Send(_a0 *finding.GetAISummaryResponse) error
Send provides a mock function with given fields: _a0
func (*FindingService_GetAISummaryServer) SendHeader ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryServer) SendHeader(_a0 metadata.MD) error
SendHeader provides a mock function with given fields: _a0
func (*FindingService_GetAISummaryServer) SendMsg ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryServer) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*FindingService_GetAISummaryServer) SetHeader ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryServer) SetHeader(_a0 metadata.MD) error
SetHeader provides a mock function with given fields: _a0
func (*FindingService_GetAISummaryServer) SetTrailer ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryServer) SetTrailer(_a0 metadata.MD)
SetTrailer provides a mock function with given fields: _a0
type FindingService_GetAISummaryStreamClient ¶ added in v0.10.0
FindingService_GetAISummaryStreamClient is an autogenerated mock type for the FindingService_GetAISummaryStreamClient type
func NewFindingService_GetAISummaryStreamClient ¶ added in v0.10.0
func NewFindingService_GetAISummaryStreamClient(t interface { mock.TestingT Cleanup(func()) }) *FindingService_GetAISummaryStreamClient
NewFindingService_GetAISummaryStreamClient creates a new instance of FindingService_GetAISummaryStreamClient. 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 (*FindingService_GetAISummaryStreamClient) CloseSend ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryStreamClient) CloseSend() error
CloseSend provides a mock function with given fields:
func (*FindingService_GetAISummaryStreamClient) Context ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryStreamClient) Context() context.Context
Context provides a mock function with given fields:
func (*FindingService_GetAISummaryStreamClient) Header ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryStreamClient) Header() (metadata.MD, error)
Header provides a mock function with given fields:
func (*FindingService_GetAISummaryStreamClient) Recv ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryStreamClient) Recv() (*finding.GetAISummaryResponse, error)
Recv provides a mock function with given fields:
func (*FindingService_GetAISummaryStreamClient) RecvMsg ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryStreamClient) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*FindingService_GetAISummaryStreamClient) SendMsg ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryStreamClient) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*FindingService_GetAISummaryStreamClient) Trailer ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryStreamClient) Trailer() metadata.MD
Trailer provides a mock function with given fields:
type FindingService_GetAISummaryStreamServer ¶ added in v0.10.0
FindingService_GetAISummaryStreamServer is an autogenerated mock type for the FindingService_GetAISummaryStreamServer type
func NewFindingService_GetAISummaryStreamServer ¶ added in v0.10.0
func NewFindingService_GetAISummaryStreamServer(t interface { mock.TestingT Cleanup(func()) }) *FindingService_GetAISummaryStreamServer
NewFindingService_GetAISummaryStreamServer creates a new instance of FindingService_GetAISummaryStreamServer. 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 (*FindingService_GetAISummaryStreamServer) Context ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryStreamServer) Context() context.Context
Context provides a mock function with given fields:
func (*FindingService_GetAISummaryStreamServer) RecvMsg ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryStreamServer) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*FindingService_GetAISummaryStreamServer) Send ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryStreamServer) Send(_a0 *finding.GetAISummaryResponse) error
Send provides a mock function with given fields: _a0
func (*FindingService_GetAISummaryStreamServer) SendHeader ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryStreamServer) SendHeader(_a0 metadata.MD) error
SendHeader provides a mock function with given fields: _a0
func (*FindingService_GetAISummaryStreamServer) SendMsg ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryStreamServer) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*FindingService_GetAISummaryStreamServer) SetHeader ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryStreamServer) SetHeader(_a0 metadata.MD) error
SetHeader provides a mock function with given fields: _a0
func (*FindingService_GetAISummaryStreamServer) SetTrailer ¶ added in v0.10.0
func (_m *FindingService_GetAISummaryStreamServer) SetTrailer(_a0 metadata.MD)
SetTrailer provides a mock function with given fields: _a0