mocks

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FindingServiceClient

type FindingServiceClient struct {
	mock.Mock
}

FindingServiceClient is an autogenerated mock type for the FindingServiceClient type

func NewFindingServiceClient

func NewFindingServiceClient(t testing.TB) *FindingServiceClient

NewFindingServiceClient creates a new instance of FindingServiceClient. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*FindingServiceClient) BatchListFinding

BatchListFinding provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) ClearScore

ClearScore provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) DeleteFinding

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

DeletePendFinding provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) DeleteResource

DeleteResource provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) GetFinding

GetFinding provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) GetFindingSetting

GetFindingSetting provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) GetPendFinding

GetPendFinding provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) GetRecommend

GetRecommend provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) GetResource

GetResource provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) ListFinding

ListFinding provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) ListFindingSetting

ListFindingSetting provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) ListFindingTag

ListFindingTag provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) ListFindingTagName

ListFindingTagName provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) ListResource

ListResource provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) ListResourceTag

ListResourceTag provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) ListResourceTagName

ListResourceTagName provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) PutFinding

PutFinding provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) PutFindingBatch

PutFindingBatch provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) PutFindingSetting

PutFindingSetting provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) PutPendFinding

PutPendFinding provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) PutRecommend

PutRecommend provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) PutResource

PutResource provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) PutResourceBatch

PutResourceBatch provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) TagFinding

TagFinding provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) TagResource

TagResource provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) UntagFinding

UntagFinding provides a mock function with given fields: ctx, in, opts

func (*FindingServiceClient) UntagResource

UntagResource provides a mock function with given fields: ctx, in, opts

type FindingServiceServer

type FindingServiceServer struct {
	mock.Mock
}

FindingServiceServer is an autogenerated mock type for the FindingServiceServer type

func NewFindingServiceServer

func NewFindingServiceServer(t testing.TB) *FindingServiceServer

NewFindingServiceServer creates a new instance of FindingServiceServer. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.

func (*FindingServiceServer) BatchListFinding

BatchListFinding provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) ClearScore

ClearScore provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) DeleteFinding

DeleteFinding provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) DeleteFindingSetting

DeleteFindingSetting provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) DeletePendFinding

DeletePendFinding provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) DeleteResource

DeleteResource provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) GetFinding

GetFinding provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) GetFindingSetting

GetFindingSetting provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) GetPendFinding

GetPendFinding provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) GetRecommend

GetRecommend provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) GetResource

GetResource provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) ListFinding

ListFinding provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) ListFindingSetting

ListFindingSetting provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) ListFindingTag

ListFindingTag provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) ListFindingTagName

ListFindingTagName provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) ListResource

ListResource provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) ListResourceTag

ListResourceTag provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) ListResourceTagName

ListResourceTagName provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) PutFinding

PutFinding provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) PutFindingBatch

PutFindingBatch provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) PutFindingSetting

PutFindingSetting provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) PutPendFinding

PutPendFinding provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) PutRecommend

PutRecommend provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) PutResource

PutResource provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) PutResourceBatch

PutResourceBatch provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) TagFinding

TagFinding provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) TagResource

TagResource provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) UntagFinding

UntagFinding provides a mock function with given fields: _a0, _a1

func (*FindingServiceServer) UntagResource

UntagResource provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL