mock_service

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mock_service is a generated GoMock package.

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 MockEntityCreator added in v0.1.2

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

MockEntityCreator is a mock of EntityCreator interface.

func NewMockEntityCreator added in v0.1.2

func NewMockEntityCreator(ctrl *gomock.Controller) *MockEntityCreator

NewMockEntityCreator creates a new mock instance.

func (*MockEntityCreator) CreateEntity added in v0.1.2

func (m *MockEntityCreator) CreateEntity(ctx context.Context, provider *db.Provider, projectID uuid.UUID, entityType v1.Entity, identifyingProps *properties.Properties, opts *service.EntityCreationOptions) (*models.EntityWithProperties, error)

CreateEntity mocks base method.

func (*MockEntityCreator) EXPECT added in v0.1.2

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

type MockEntityCreatorMockRecorder added in v0.1.2

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

MockEntityCreatorMockRecorder is the mock recorder for MockEntityCreator.

func (*MockEntityCreatorMockRecorder) CreateEntity added in v0.1.2

func (mr *MockEntityCreatorMockRecorder) CreateEntity(ctx, provider, projectID, entityType, identifyingProps, opts any) *gomock.Call

CreateEntity indicates an expected call of CreateEntity.

type MockEntityService

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

MockEntityService is a mock of EntityService interface.

func NewMockEntityService

func NewMockEntityService(ctrl *gomock.Controller) *MockEntityService

NewMockEntityService creates a new mock instance.

func (*MockEntityService) DeleteEntityByID

func (m *MockEntityService) DeleteEntityByID(ctx context.Context, entityID, projectID uuid.UUID) error

DeleteEntityByID mocks base method.

func (*MockEntityService) EXPECT

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

func (*MockEntityService) GetEntityByID

func (m *MockEntityService) GetEntityByID(ctx context.Context, entityID, projectID uuid.UUID) (*v1.EntityInstance, error)

GetEntityByID mocks base method.

func (*MockEntityService) GetEntityByName

func (m *MockEntityService) GetEntityByName(ctx context.Context, name string, projectID, providerID uuid.UUID, entityType v1.Entity) (*v1.EntityInstance, error)

GetEntityByName mocks base method.

func (*MockEntityService) ListEntities

func (m *MockEntityService) ListEntities(ctx context.Context, projectID, providerID uuid.UUID, entityType v1.Entity, cursor string, limit int64) ([]*v1.EntityInstance, string, error)

ListEntities mocks base method.

type MockEntityServiceMockRecorder

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

MockEntityServiceMockRecorder is the mock recorder for MockEntityService.

func (*MockEntityServiceMockRecorder) DeleteEntityByID

func (mr *MockEntityServiceMockRecorder) DeleteEntityByID(ctx, entityID, projectID any) *gomock.Call

DeleteEntityByID indicates an expected call of DeleteEntityByID.

func (*MockEntityServiceMockRecorder) GetEntityByID

func (mr *MockEntityServiceMockRecorder) GetEntityByID(ctx, entityID, projectID any) *gomock.Call

GetEntityByID indicates an expected call of GetEntityByID.

func (*MockEntityServiceMockRecorder) GetEntityByName

func (mr *MockEntityServiceMockRecorder) GetEntityByName(ctx, name, projectID, providerID, entityType any) *gomock.Call

GetEntityByName indicates an expected call of GetEntityByName.

func (*MockEntityServiceMockRecorder) ListEntities

func (mr *MockEntityServiceMockRecorder) ListEntities(ctx, projectID, providerID, entityType, cursor, limit any) *gomock.Call

ListEntities indicates an expected call of ListEntities.

Jump to

Keyboard shortcuts

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