mocks

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 5 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 DataSourceServiceClient

type DataSourceServiceClient struct {
	mock.Mock
}

DataSourceServiceClient is an autogenerated mock type for the DataSourceServiceClient type

func NewDataSourceServiceClient

func NewDataSourceServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *DataSourceServiceClient

NewDataSourceServiceClient creates a new instance of DataSourceServiceClient. 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 (*DataSourceServiceClient) AnalyzeAttackFlow added in v0.9.0

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

func (*DataSourceServiceClient) CleanDataSource

func (_m *DataSourceServiceClient) CleanDataSource(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)

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

func (*DataSourceServiceClient) NotifyScanError added in v0.9.0

func (_m *DataSourceServiceClient) NotifyScanError(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)

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

type DataSourceServiceServer

type DataSourceServiceServer struct {
	mock.Mock
}

DataSourceServiceServer is an autogenerated mock type for the DataSourceServiceServer type

func NewDataSourceServiceServer

func NewDataSourceServiceServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DataSourceServiceServer

NewDataSourceServiceServer creates a new instance of DataSourceServiceServer. 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 (*DataSourceServiceServer) AnalyzeAttackFlow added in v0.9.0

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

func (*DataSourceServiceServer) CleanDataSource

func (_m *DataSourceServiceServer) CleanDataSource(_a0 context.Context, _a1 *emptypb.Empty) (*emptypb.Empty, error)

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

func (*DataSourceServiceServer) NotifyScanError added in v0.9.0

func (_m *DataSourceServiceServer) NotifyScanError(_a0 context.Context, _a1 *emptypb.Empty) (*emptypb.Empty, error)

NotifyScanError 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