mocks

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 4 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 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