Documentation ¶
Index ¶
- type OsintServiceClient
- func (_m *OsintServiceClient) DeleteOsint(ctx context.Context, in *osint.DeleteOsintRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (_m *OsintServiceClient) DeleteOsintDataSource(ctx context.Context, in *osint.DeleteOsintDataSourceRequest, ...) (*emptypb.Empty, error)
- func (_m *OsintServiceClient) DeleteOsintDetectWord(ctx context.Context, in *osint.DeleteOsintDetectWordRequest, ...) (*emptypb.Empty, error)
- func (_m *OsintServiceClient) DeleteRelOsintDataSource(ctx context.Context, in *osint.DeleteRelOsintDataSourceRequest, ...) (*emptypb.Empty, error)
- func (_m *OsintServiceClient) GetOsint(ctx context.Context, in *osint.GetOsintRequest, opts ...grpc.CallOption) (*osint.GetOsintResponse, error)
- func (_m *OsintServiceClient) GetOsintDataSource(ctx context.Context, in *osint.GetOsintDataSourceRequest, ...) (*osint.GetOsintDataSourceResponse, error)
- func (_m *OsintServiceClient) GetOsintDetectWord(ctx context.Context, in *osint.GetOsintDetectWordRequest, ...) (*osint.GetOsintDetectWordResponse, error)
- func (_m *OsintServiceClient) GetRelOsintDataSource(ctx context.Context, in *osint.GetRelOsintDataSourceRequest, ...) (*osint.GetRelOsintDataSourceResponse, error)
- func (_m *OsintServiceClient) InvokeScan(ctx context.Context, in *osint.InvokeScanRequest, opts ...grpc.CallOption) (*osint.InvokeScanResponse, error)
- func (_m *OsintServiceClient) InvokeScanAll(ctx context.Context, in *osint.InvokeScanAllRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (_m *OsintServiceClient) ListOsint(ctx context.Context, in *osint.ListOsintRequest, opts ...grpc.CallOption) (*osint.ListOsintResponse, error)
- func (_m *OsintServiceClient) ListOsintDataSource(ctx context.Context, in *osint.ListOsintDataSourceRequest, ...) (*osint.ListOsintDataSourceResponse, error)
- func (_m *OsintServiceClient) ListOsintDetectWord(ctx context.Context, in *osint.ListOsintDetectWordRequest, ...) (*osint.ListOsintDetectWordResponse, error)
- func (_m *OsintServiceClient) ListRelOsintDataSource(ctx context.Context, in *osint.ListRelOsintDataSourceRequest, ...) (*osint.ListRelOsintDataSourceResponse, error)
- func (_m *OsintServiceClient) PutOsint(ctx context.Context, in *osint.PutOsintRequest, opts ...grpc.CallOption) (*osint.PutOsintResponse, error)
- func (_m *OsintServiceClient) PutOsintDataSource(ctx context.Context, in *osint.PutOsintDataSourceRequest, ...) (*osint.PutOsintDataSourceResponse, error)
- func (_m *OsintServiceClient) PutOsintDetectWord(ctx context.Context, in *osint.PutOsintDetectWordRequest, ...) (*osint.PutOsintDetectWordResponse, error)
- func (_m *OsintServiceClient) PutRelOsintDataSource(ctx context.Context, in *osint.PutRelOsintDataSourceRequest, ...) (*osint.PutRelOsintDataSourceResponse, error)
- type OsintServiceServer
- func (_m *OsintServiceServer) DeleteOsint(_a0 context.Context, _a1 *osint.DeleteOsintRequest) (*emptypb.Empty, error)
- func (_m *OsintServiceServer) DeleteOsintDataSource(_a0 context.Context, _a1 *osint.DeleteOsintDataSourceRequest) (*emptypb.Empty, error)
- func (_m *OsintServiceServer) DeleteOsintDetectWord(_a0 context.Context, _a1 *osint.DeleteOsintDetectWordRequest) (*emptypb.Empty, error)
- func (_m *OsintServiceServer) DeleteRelOsintDataSource(_a0 context.Context, _a1 *osint.DeleteRelOsintDataSourceRequest) (*emptypb.Empty, error)
- func (_m *OsintServiceServer) GetOsint(_a0 context.Context, _a1 *osint.GetOsintRequest) (*osint.GetOsintResponse, error)
- func (_m *OsintServiceServer) GetOsintDataSource(_a0 context.Context, _a1 *osint.GetOsintDataSourceRequest) (*osint.GetOsintDataSourceResponse, error)
- func (_m *OsintServiceServer) GetOsintDetectWord(_a0 context.Context, _a1 *osint.GetOsintDetectWordRequest) (*osint.GetOsintDetectWordResponse, error)
- func (_m *OsintServiceServer) GetRelOsintDataSource(_a0 context.Context, _a1 *osint.GetRelOsintDataSourceRequest) (*osint.GetRelOsintDataSourceResponse, error)
- func (_m *OsintServiceServer) InvokeScan(_a0 context.Context, _a1 *osint.InvokeScanRequest) (*osint.InvokeScanResponse, error)
- func (_m *OsintServiceServer) InvokeScanAll(_a0 context.Context, _a1 *osint.InvokeScanAllRequest) (*emptypb.Empty, error)
- func (_m *OsintServiceServer) ListOsint(_a0 context.Context, _a1 *osint.ListOsintRequest) (*osint.ListOsintResponse, error)
- func (_m *OsintServiceServer) ListOsintDataSource(_a0 context.Context, _a1 *osint.ListOsintDataSourceRequest) (*osint.ListOsintDataSourceResponse, error)
- func (_m *OsintServiceServer) ListOsintDetectWord(_a0 context.Context, _a1 *osint.ListOsintDetectWordRequest) (*osint.ListOsintDetectWordResponse, error)
- func (_m *OsintServiceServer) ListRelOsintDataSource(_a0 context.Context, _a1 *osint.ListRelOsintDataSourceRequest) (*osint.ListRelOsintDataSourceResponse, error)
- func (_m *OsintServiceServer) PutOsint(_a0 context.Context, _a1 *osint.PutOsintRequest) (*osint.PutOsintResponse, error)
- func (_m *OsintServiceServer) PutOsintDataSource(_a0 context.Context, _a1 *osint.PutOsintDataSourceRequest) (*osint.PutOsintDataSourceResponse, error)
- func (_m *OsintServiceServer) PutOsintDetectWord(_a0 context.Context, _a1 *osint.PutOsintDetectWordRequest) (*osint.PutOsintDetectWordResponse, error)
- func (_m *OsintServiceServer) PutRelOsintDataSource(_a0 context.Context, _a1 *osint.PutRelOsintDataSourceRequest) (*osint.PutRelOsintDataSourceResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OsintServiceClient ¶
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 ¶
func (_m *OsintServiceClient) DeleteOsint(ctx context.Context, in *osint.DeleteOsintRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
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 ¶
func (_m *OsintServiceClient) GetOsint(ctx context.Context, in *osint.GetOsintRequest, opts ...grpc.CallOption) (*osint.GetOsintResponse, error)
GetOsint provides a mock function with given fields: ctx, in, opts
func (*OsintServiceClient) GetOsintDataSource ¶
func (_m *OsintServiceClient) GetOsintDataSource(ctx context.Context, in *osint.GetOsintDataSourceRequest, opts ...grpc.CallOption) (*osint.GetOsintDataSourceResponse, error)
GetOsintDataSource provides a mock function with given fields: ctx, in, opts
func (*OsintServiceClient) GetOsintDetectWord ¶
func (_m *OsintServiceClient) GetOsintDetectWord(ctx context.Context, in *osint.GetOsintDetectWordRequest, opts ...grpc.CallOption) (*osint.GetOsintDetectWordResponse, error)
GetOsintDetectWord provides a mock function with given fields: ctx, in, opts
func (*OsintServiceClient) GetRelOsintDataSource ¶
func (_m *OsintServiceClient) GetRelOsintDataSource(ctx context.Context, in *osint.GetRelOsintDataSourceRequest, opts ...grpc.CallOption) (*osint.GetRelOsintDataSourceResponse, error)
GetRelOsintDataSource provides a mock function with given fields: ctx, in, opts
func (*OsintServiceClient) InvokeScan ¶
func (_m *OsintServiceClient) InvokeScan(ctx context.Context, in *osint.InvokeScanRequest, opts ...grpc.CallOption) (*osint.InvokeScanResponse, error)
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 ¶
func (_m *OsintServiceClient) ListOsint(ctx context.Context, in *osint.ListOsintRequest, opts ...grpc.CallOption) (*osint.ListOsintResponse, error)
ListOsint provides a mock function with given fields: ctx, in, opts
func (*OsintServiceClient) ListOsintDataSource ¶
func (_m *OsintServiceClient) ListOsintDataSource(ctx context.Context, in *osint.ListOsintDataSourceRequest, opts ...grpc.CallOption) (*osint.ListOsintDataSourceResponse, error)
ListOsintDataSource provides a mock function with given fields: ctx, in, opts
func (*OsintServiceClient) ListOsintDetectWord ¶
func (_m *OsintServiceClient) ListOsintDetectWord(ctx context.Context, in *osint.ListOsintDetectWordRequest, opts ...grpc.CallOption) (*osint.ListOsintDetectWordResponse, error)
ListOsintDetectWord provides a mock function with given fields: ctx, in, opts
func (*OsintServiceClient) ListRelOsintDataSource ¶
func (_m *OsintServiceClient) ListRelOsintDataSource(ctx context.Context, in *osint.ListRelOsintDataSourceRequest, opts ...grpc.CallOption) (*osint.ListRelOsintDataSourceResponse, error)
ListRelOsintDataSource provides a mock function with given fields: ctx, in, opts
func (*OsintServiceClient) PutOsint ¶
func (_m *OsintServiceClient) PutOsint(ctx context.Context, in *osint.PutOsintRequest, opts ...grpc.CallOption) (*osint.PutOsintResponse, error)
PutOsint provides a mock function with given fields: ctx, in, opts
func (*OsintServiceClient) PutOsintDataSource ¶
func (_m *OsintServiceClient) PutOsintDataSource(ctx context.Context, in *osint.PutOsintDataSourceRequest, opts ...grpc.CallOption) (*osint.PutOsintDataSourceResponse, error)
PutOsintDataSource provides a mock function with given fields: ctx, in, opts
func (*OsintServiceClient) PutOsintDetectWord ¶
func (_m *OsintServiceClient) PutOsintDetectWord(ctx context.Context, in *osint.PutOsintDetectWordRequest, opts ...grpc.CallOption) (*osint.PutOsintDetectWordResponse, error)
PutOsintDetectWord provides a mock function with given fields: ctx, in, opts
func (*OsintServiceClient) PutRelOsintDataSource ¶
func (_m *OsintServiceClient) PutRelOsintDataSource(ctx context.Context, in *osint.PutRelOsintDataSourceRequest, opts ...grpc.CallOption) (*osint.PutRelOsintDataSourceResponse, error)
PutRelOsintDataSource provides a mock function with given fields: ctx, in, opts
type OsintServiceServer ¶
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 ¶
func (_m *OsintServiceServer) DeleteOsint(_a0 context.Context, _a1 *osint.DeleteOsintRequest) (*emptypb.Empty, error)
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 ¶
func (_m *OsintServiceServer) GetOsint(_a0 context.Context, _a1 *osint.GetOsintRequest) (*osint.GetOsintResponse, error)
GetOsint provides a mock function with given fields: _a0, _a1
func (*OsintServiceServer) GetOsintDataSource ¶
func (_m *OsintServiceServer) GetOsintDataSource(_a0 context.Context, _a1 *osint.GetOsintDataSourceRequest) (*osint.GetOsintDataSourceResponse, error)
GetOsintDataSource provides a mock function with given fields: _a0, _a1
func (*OsintServiceServer) GetOsintDetectWord ¶
func (_m *OsintServiceServer) GetOsintDetectWord(_a0 context.Context, _a1 *osint.GetOsintDetectWordRequest) (*osint.GetOsintDetectWordResponse, error)
GetOsintDetectWord provides a mock function with given fields: _a0, _a1
func (*OsintServiceServer) GetRelOsintDataSource ¶
func (_m *OsintServiceServer) GetRelOsintDataSource(_a0 context.Context, _a1 *osint.GetRelOsintDataSourceRequest) (*osint.GetRelOsintDataSourceResponse, error)
GetRelOsintDataSource provides a mock function with given fields: _a0, _a1
func (*OsintServiceServer) InvokeScan ¶
func (_m *OsintServiceServer) InvokeScan(_a0 context.Context, _a1 *osint.InvokeScanRequest) (*osint.InvokeScanResponse, error)
InvokeScan provides a mock function with given fields: _a0, _a1
func (*OsintServiceServer) InvokeScanAll ¶
func (_m *OsintServiceServer) InvokeScanAll(_a0 context.Context, _a1 *osint.InvokeScanAllRequest) (*emptypb.Empty, error)
InvokeScanAll provides a mock function with given fields: _a0, _a1
func (*OsintServiceServer) ListOsint ¶
func (_m *OsintServiceServer) ListOsint(_a0 context.Context, _a1 *osint.ListOsintRequest) (*osint.ListOsintResponse, error)
ListOsint provides a mock function with given fields: _a0, _a1
func (*OsintServiceServer) ListOsintDataSource ¶
func (_m *OsintServiceServer) ListOsintDataSource(_a0 context.Context, _a1 *osint.ListOsintDataSourceRequest) (*osint.ListOsintDataSourceResponse, error)
ListOsintDataSource provides a mock function with given fields: _a0, _a1
func (*OsintServiceServer) ListOsintDetectWord ¶
func (_m *OsintServiceServer) ListOsintDetectWord(_a0 context.Context, _a1 *osint.ListOsintDetectWordRequest) (*osint.ListOsintDetectWordResponse, error)
ListOsintDetectWord provides a mock function with given fields: _a0, _a1
func (*OsintServiceServer) ListRelOsintDataSource ¶
func (_m *OsintServiceServer) ListRelOsintDataSource(_a0 context.Context, _a1 *osint.ListRelOsintDataSourceRequest) (*osint.ListRelOsintDataSourceResponse, error)
ListRelOsintDataSource provides a mock function with given fields: _a0, _a1
func (*OsintServiceServer) PutOsint ¶
func (_m *OsintServiceServer) PutOsint(_a0 context.Context, _a1 *osint.PutOsintRequest) (*osint.PutOsintResponse, error)
PutOsint provides a mock function with given fields: _a0, _a1
func (*OsintServiceServer) PutOsintDataSource ¶
func (_m *OsintServiceServer) PutOsintDataSource(_a0 context.Context, _a1 *osint.PutOsintDataSourceRequest) (*osint.PutOsintDataSourceResponse, error)
PutOsintDataSource provides a mock function with given fields: _a0, _a1
func (*OsintServiceServer) PutOsintDetectWord ¶
func (_m *OsintServiceServer) PutOsintDetectWord(_a0 context.Context, _a1 *osint.PutOsintDetectWordRequest) (*osint.PutOsintDetectWordResponse, error)
PutOsintDetectWord provides a mock function with given fields: _a0, _a1
func (*OsintServiceServer) PutRelOsintDataSource ¶
func (_m *OsintServiceServer) PutRelOsintDataSource(_a0 context.Context, _a1 *osint.PutRelOsintDataSourceRequest) (*osint.PutRelOsintDataSourceResponse, error)
PutRelOsintDataSource provides a mock function with given fields: _a0, _a1