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 OsintServiceClient

type OsintServiceClient struct {
	mock.Mock
}

OsintServiceClient is an autogenerated mock type for the OsintServiceClient type

func NewOsintServiceClient

func NewOsintServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *OsintServiceClient

NewOsintServiceClient creates a new instance of OsintServiceClient. 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 (*OsintServiceClient) DeleteOsint

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

func (*OsintServiceClient) DeleteOsintDataSource

func (_m *OsintServiceClient) DeleteOsintDataSource(ctx context.Context, in *osint.DeleteOsintDataSourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

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

func (*OsintServiceClient) DeleteOsintDetectWord

func (_m *OsintServiceClient) DeleteOsintDetectWord(ctx context.Context, in *osint.DeleteOsintDetectWordRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

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

func (*OsintServiceClient) DeleteRelOsintDataSource

func (_m *OsintServiceClient) DeleteRelOsintDataSource(ctx context.Context, in *osint.DeleteRelOsintDataSourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

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

func (*OsintServiceClient) GetOsint

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

func (*OsintServiceClient) GetOsintDataSource

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

func (*OsintServiceClient) GetOsintDetectWord

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

func (*OsintServiceClient) GetRelOsintDataSource

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

func (*OsintServiceClient) InvokeScan

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

func (*OsintServiceClient) InvokeScanAll

func (_m *OsintServiceClient) InvokeScanAll(ctx context.Context, in *osint.InvokeScanAllRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

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

func (*OsintServiceClient) ListOsint

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

func (*OsintServiceClient) ListOsintDataSource

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

func (*OsintServiceClient) ListOsintDetectWord

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

func (*OsintServiceClient) ListRelOsintDataSource

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

func (*OsintServiceClient) PutOsint

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

func (*OsintServiceClient) PutOsintDataSource

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

func (*OsintServiceClient) PutOsintDetectWord

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

func (*OsintServiceClient) PutRelOsintDataSource

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

type OsintServiceServer

type OsintServiceServer struct {
	mock.Mock
}

OsintServiceServer is an autogenerated mock type for the OsintServiceServer type

func NewOsintServiceServer

func NewOsintServiceServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *OsintServiceServer

NewOsintServiceServer creates a new instance of OsintServiceServer. 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 (*OsintServiceServer) DeleteOsint

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

func (*OsintServiceServer) DeleteOsintDataSource

func (_m *OsintServiceServer) DeleteOsintDataSource(_a0 context.Context, _a1 *osint.DeleteOsintDataSourceRequest) (*emptypb.Empty, error)

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

func (*OsintServiceServer) DeleteOsintDetectWord

func (_m *OsintServiceServer) DeleteOsintDetectWord(_a0 context.Context, _a1 *osint.DeleteOsintDetectWordRequest) (*emptypb.Empty, error)

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

func (*OsintServiceServer) DeleteRelOsintDataSource

func (_m *OsintServiceServer) DeleteRelOsintDataSource(_a0 context.Context, _a1 *osint.DeleteRelOsintDataSourceRequest) (*emptypb.Empty, error)

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

func (*OsintServiceServer) GetOsint

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

func (*OsintServiceServer) GetOsintDataSource

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

func (*OsintServiceServer) GetOsintDetectWord

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

func (*OsintServiceServer) GetRelOsintDataSource

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

func (*OsintServiceServer) InvokeScan

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

func (*OsintServiceServer) InvokeScanAll

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

func (*OsintServiceServer) ListOsint

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

func (*OsintServiceServer) ListOsintDataSource

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

func (*OsintServiceServer) ListOsintDetectWord

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

func (*OsintServiceServer) ListRelOsintDataSource

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

func (*OsintServiceServer) PutOsint

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

func (*OsintServiceServer) PutOsintDataSource

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

func (*OsintServiceServer) PutOsintDetectWord

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

func (*OsintServiceServer) PutRelOsintDataSource

PutRelOsintDataSource 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