mocks

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiagnosisServiceClient

type DiagnosisServiceClient struct {
	mock.Mock
}

DiagnosisServiceClient is an autogenerated mock type for the DiagnosisServiceClient type

func NewDiagnosisServiceClient

func NewDiagnosisServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *DiagnosisServiceClient

NewDiagnosisServiceClient creates a new instance of DiagnosisServiceClient. 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 (*DiagnosisServiceClient) DeleteApplicationScan

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

func (*DiagnosisServiceClient) DeleteApplicationScanBasicSetting

func (_m *DiagnosisServiceClient) DeleteApplicationScanBasicSetting(ctx context.Context, in *diagnosis.DeleteApplicationScanBasicSettingRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

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

func (*DiagnosisServiceClient) DeleteDiagnosisDataSource

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

func (*DiagnosisServiceClient) DeletePortscanSetting

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

func (*DiagnosisServiceClient) DeletePortscanTarget

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

func (*DiagnosisServiceClient) DeleteWpscanSetting

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

func (*DiagnosisServiceClient) GetApplicationScan

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

func (*DiagnosisServiceClient) GetApplicationScanBasicSetting

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

func (*DiagnosisServiceClient) GetDiagnosisDataSource

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

func (*DiagnosisServiceClient) GetPortscanSetting

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

func (*DiagnosisServiceClient) GetPortscanTarget

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

func (*DiagnosisServiceClient) GetWpscanSetting

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

func (*DiagnosisServiceClient) InvokeScan

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

func (*DiagnosisServiceClient) InvokeScanAll

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

func (*DiagnosisServiceClient) ListApplicationScan

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

func (*DiagnosisServiceClient) ListApplicationScanBasicSetting

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

func (*DiagnosisServiceClient) ListDiagnosisDataSource

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

func (*DiagnosisServiceClient) ListPortscanSetting

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

func (*DiagnosisServiceClient) ListPortscanTarget

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

func (*DiagnosisServiceClient) ListWpscanSetting

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

func (*DiagnosisServiceClient) PutApplicationScan

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

func (*DiagnosisServiceClient) PutApplicationScanBasicSetting

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

func (*DiagnosisServiceClient) PutDiagnosisDataSource

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

func (*DiagnosisServiceClient) PutPortscanSetting

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

func (*DiagnosisServiceClient) PutPortscanTarget

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

func (*DiagnosisServiceClient) PutWpscanSetting

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

type DiagnosisServiceServer

type DiagnosisServiceServer struct {
	mock.Mock
}

DiagnosisServiceServer is an autogenerated mock type for the DiagnosisServiceServer type

func NewDiagnosisServiceServer

func NewDiagnosisServiceServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *DiagnosisServiceServer

NewDiagnosisServiceServer creates a new instance of DiagnosisServiceServer. 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 (*DiagnosisServiceServer) DeleteApplicationScan

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

func (*DiagnosisServiceServer) DeleteApplicationScanBasicSetting

func (_m *DiagnosisServiceServer) DeleteApplicationScanBasicSetting(_a0 context.Context, _a1 *diagnosis.DeleteApplicationScanBasicSettingRequest) (*emptypb.Empty, error)

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

func (*DiagnosisServiceServer) DeleteDiagnosisDataSource

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

func (*DiagnosisServiceServer) DeletePortscanSetting

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

func (*DiagnosisServiceServer) DeletePortscanTarget

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

func (*DiagnosisServiceServer) DeleteWpscanSetting

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

func (*DiagnosisServiceServer) GetApplicationScan

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

func (*DiagnosisServiceServer) GetApplicationScanBasicSetting

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

func (*DiagnosisServiceServer) GetDiagnosisDataSource

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

func (*DiagnosisServiceServer) GetPortscanSetting

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

func (*DiagnosisServiceServer) GetPortscanTarget

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

func (*DiagnosisServiceServer) GetWpscanSetting

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

func (*DiagnosisServiceServer) InvokeScan

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

func (*DiagnosisServiceServer) InvokeScanAll

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

func (*DiagnosisServiceServer) ListApplicationScan

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

func (*DiagnosisServiceServer) ListApplicationScanBasicSetting

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

func (*DiagnosisServiceServer) ListDiagnosisDataSource

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

func (*DiagnosisServiceServer) ListPortscanSetting

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

func (*DiagnosisServiceServer) ListPortscanTarget

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

func (*DiagnosisServiceServer) ListWpscanSetting

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

func (*DiagnosisServiceServer) PutApplicationScan

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

func (*DiagnosisServiceServer) PutApplicationScanBasicSetting

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

func (*DiagnosisServiceServer) PutDiagnosisDataSource

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

func (*DiagnosisServiceServer) PutPortscanSetting

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

func (*DiagnosisServiceServer) PutPortscanTarget

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

func (*DiagnosisServiceServer) PutWpscanSetting

PutWpscanSetting 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