mock_service

package
v0.0.79 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_service is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDataSourcesService

type MockDataSourcesService struct {
	// contains filtered or unexported fields
}

MockDataSourcesService is a mock of DataSourcesService interface.

func NewMockDataSourcesService

func NewMockDataSourcesService(ctrl *gomock.Controller) *MockDataSourcesService

NewMockDataSourcesService creates a new mock instance.

func (*MockDataSourcesService) BuildDataSourceRegistry

func (m *MockDataSourcesService) BuildDataSourceRegistry(ctx context.Context, rt *v1.RuleType, opts *service.Options) (*v10.DataSourceRegistry, error)

BuildDataSourceRegistry mocks base method.

func (*MockDataSourcesService) Create

Create mocks base method.

func (*MockDataSourcesService) Delete

func (m *MockDataSourcesService) Delete(ctx context.Context, id, project uuid.UUID, opts *service.Options) error

Delete mocks base method.

func (*MockDataSourcesService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDataSourcesService) GetByID

func (m *MockDataSourcesService) GetByID(ctx context.Context, id, project uuid.UUID, opts *service.ReadOptions) (*v1.DataSource, error)

GetByID mocks base method.

func (*MockDataSourcesService) GetByName

func (m *MockDataSourcesService) GetByName(ctx context.Context, name string, project uuid.UUID, opts *service.ReadOptions) (*v1.DataSource, error)

GetByName mocks base method.

func (*MockDataSourcesService) List

func (m *MockDataSourcesService) List(ctx context.Context, project uuid.UUID, opts *service.ReadOptions) ([]*v1.DataSource, error)

List mocks base method.

func (*MockDataSourcesService) Update

Update mocks base method.

type MockDataSourcesServiceMockRecorder

type MockDataSourcesServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockDataSourcesServiceMockRecorder is the mock recorder for MockDataSourcesService.

func (*MockDataSourcesServiceMockRecorder) BuildDataSourceRegistry

func (mr *MockDataSourcesServiceMockRecorder) BuildDataSourceRegistry(ctx, rt, opts any) *gomock.Call

BuildDataSourceRegistry indicates an expected call of BuildDataSourceRegistry.

func (*MockDataSourcesServiceMockRecorder) Create

func (mr *MockDataSourcesServiceMockRecorder) Create(ctx, ds, opts any) *gomock.Call

Create indicates an expected call of Create.

func (*MockDataSourcesServiceMockRecorder) Delete

func (mr *MockDataSourcesServiceMockRecorder) Delete(ctx, id, project, opts any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockDataSourcesServiceMockRecorder) GetByID

func (mr *MockDataSourcesServiceMockRecorder) GetByID(ctx, id, project, opts any) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockDataSourcesServiceMockRecorder) GetByName

func (mr *MockDataSourcesServiceMockRecorder) GetByName(ctx, name, project, opts any) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockDataSourcesServiceMockRecorder) List

func (mr *MockDataSourcesServiceMockRecorder) List(ctx, project, opts any) *gomock.Call

List indicates an expected call of List.

func (*MockDataSourcesServiceMockRecorder) Update

func (mr *MockDataSourcesServiceMockRecorder) Update(ctx, ds, opts any) *gomock.Call

Update indicates an expected call of Update.

Directories

Path Synopsis
Package fixtures contains code for creating DataSourceService fixtures and is used in various parts of the code.
Package fixtures contains code for creating DataSourceService fixtures and is used in various parts of the code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL