mocks

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 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 GoogleServiceClient

type GoogleServiceClient struct {
	mock.Mock
}

GoogleServiceClient is an autogenerated mock type for the GoogleServiceClient type

func NewGoogleServiceClient

func NewGoogleServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *GoogleServiceClient

NewGoogleServiceClient creates a new instance of GoogleServiceClient. 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 (*GoogleServiceClient) AttachGCPDataSource

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

func (*GoogleServiceClient) DeleteGCP

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

func (*GoogleServiceClient) DetachGCPDataSource

func (_m *GoogleServiceClient) DetachGCPDataSource(ctx context.Context, in *google.DetachGCPDataSourceRequest, opts ...grpc.CallOption) (*google.Empty, error)

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

func (*GoogleServiceClient) GetGCP

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

func (*GoogleServiceClient) GetGCPDataSource

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

func (*GoogleServiceClient) InvokeScanAll

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

func (*GoogleServiceClient) InvokeScanGCP

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

func (*GoogleServiceClient) ListGCP

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

func (*GoogleServiceClient) ListGCPDataSource

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

func (*GoogleServiceClient) ListGoogleDataSource

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

func (*GoogleServiceClient) PutGCP

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

type GoogleServiceServer

type GoogleServiceServer struct {
	mock.Mock
}

GoogleServiceServer is an autogenerated mock type for the GoogleServiceServer type

func NewGoogleServiceServer

func NewGoogleServiceServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *GoogleServiceServer

NewGoogleServiceServer creates a new instance of GoogleServiceServer. 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 (*GoogleServiceServer) AttachGCPDataSource

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

func (*GoogleServiceServer) DeleteGCP

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

func (*GoogleServiceServer) DetachGCPDataSource

func (_m *GoogleServiceServer) DetachGCPDataSource(_a0 context.Context, _a1 *google.DetachGCPDataSourceRequest) (*google.Empty, error)

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

func (*GoogleServiceServer) GetGCP

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

func (*GoogleServiceServer) GetGCPDataSource

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

func (*GoogleServiceServer) InvokeScanAll

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

func (*GoogleServiceServer) InvokeScanGCP

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

func (*GoogleServiceServer) ListGCP

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

func (*GoogleServiceServer) ListGCPDataSource

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

func (*GoogleServiceServer) ListGoogleDataSource

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

func (*GoogleServiceServer) PutGCP

PutGCP 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