mocks

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataSourceServiceClient

type DataSourceServiceClient struct {
	mock.Mock
}

DataSourceServiceClient is an autogenerated mock type for the DataSourceServiceClient type

func NewDataSourceServiceClient

func NewDataSourceServiceClient(t mockConstructorTestingTNewDataSourceServiceClient) *DataSourceServiceClient

NewDataSourceServiceClient creates a new instance of DataSourceServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*DataSourceServiceClient) CleanDataSource

func (_m *DataSourceServiceClient) CleanDataSource(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)

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

type DataSourceServiceServer

type DataSourceServiceServer struct {
	mock.Mock
}

DataSourceServiceServer is an autogenerated mock type for the DataSourceServiceServer type

func NewDataSourceServiceServer

func NewDataSourceServiceServer(t mockConstructorTestingTNewDataSourceServiceServer) *DataSourceServiceServer

NewDataSourceServiceServer creates a new instance of DataSourceServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*DataSourceServiceServer) CleanDataSource

func (_m *DataSourceServiceServer) CleanDataSource(_a0 context.Context, _a1 *emptypb.Empty) (*emptypb.Empty, error)

CleanDataSource 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