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 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