mocks

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2025 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 AWSServiceClient

type AWSServiceClient struct {
	mock.Mock
}

AWSServiceClient is an autogenerated mock type for the AWSServiceClient type

func NewAWSServiceClient

func NewAWSServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *AWSServiceClient

NewAWSServiceClient creates a new instance of AWSServiceClient. 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 (*AWSServiceClient) AttachDataSource

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

func (*AWSServiceClient) DeleteAWS

func (_m *AWSServiceClient) DeleteAWS(ctx context.Context, in *aws.DeleteAWSRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

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

func (*AWSServiceClient) DetachDataSource

func (_m *AWSServiceClient) DetachDataSource(ctx context.Context, in *aws.DetachDataSourceRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

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

func (*AWSServiceClient) InvokeScan

func (_m *AWSServiceClient) InvokeScan(ctx context.Context, in *aws.InvokeScanRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

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

func (*AWSServiceClient) InvokeScanAll

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

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

func (*AWSServiceClient) ListAWS

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

func (*AWSServiceClient) ListDataSource

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

func (*AWSServiceClient) PutAWS

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

type AWSServiceServer

type AWSServiceServer struct {
	mock.Mock
}

AWSServiceServer is an autogenerated mock type for the AWSServiceServer type

func NewAWSServiceServer

func NewAWSServiceServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *AWSServiceServer

NewAWSServiceServer creates a new instance of AWSServiceServer. 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 (*AWSServiceServer) AttachDataSource

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

func (*AWSServiceServer) DeleteAWS

func (_m *AWSServiceServer) DeleteAWS(_a0 context.Context, _a1 *aws.DeleteAWSRequest) (*emptypb.Empty, error)

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

func (*AWSServiceServer) DetachDataSource

func (_m *AWSServiceServer) DetachDataSource(_a0 context.Context, _a1 *aws.DetachDataSourceRequest) (*emptypb.Empty, error)

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

func (*AWSServiceServer) InvokeScan

func (_m *AWSServiceServer) InvokeScan(_a0 context.Context, _a1 *aws.InvokeScanRequest) (*emptypb.Empty, error)

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

func (*AWSServiceServer) InvokeScanAll

func (_m *AWSServiceServer) InvokeScanAll(_a0 context.Context, _a1 *aws.InvokeScanAllRequest) (*emptypb.Empty, error)

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

func (*AWSServiceServer) ListAWS

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

func (*AWSServiceServer) ListDataSource

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

func (*AWSServiceServer) PutAWS

PutAWS 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