mock_service

package
v0.0.75 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 11 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 MockPropertiesService

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

MockPropertiesService is a mock of PropertiesService interface.

func NewMockPropertiesService

func NewMockPropertiesService(ctrl *gomock.Controller) *MockPropertiesService

NewMockPropertiesService creates a new mock instance.

func (*MockPropertiesService) EXPECT

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

func (*MockPropertiesService) EntityWithPropertiesAsProto

EntityWithPropertiesAsProto mocks base method.

func (*MockPropertiesService) EntityWithPropertiesByID

func (m *MockPropertiesService) EntityWithPropertiesByID(ctx context.Context, entityID uuid.UUID, opts *service.CallOptions) (*models.EntityWithProperties, error)

EntityWithPropertiesByID mocks base method.

func (*MockPropertiesService) EntityWithPropertiesByUpstreamHint

func (m *MockPropertiesService) EntityWithPropertiesByUpstreamHint(ctx context.Context, entType v1.Entity, getByProps *properties.Properties, hint service.ByUpstreamHint, opts *service.CallOptions) (*models.EntityWithProperties, error)

EntityWithPropertiesByUpstreamHint mocks base method.

func (*MockPropertiesService) ReplaceAllProperties

func (m *MockPropertiesService) ReplaceAllProperties(ctx context.Context, entityID uuid.UUID, props *properties.Properties, opts *service.CallOptions) error

ReplaceAllProperties mocks base method.

func (*MockPropertiesService) ReplaceProperty

func (m *MockPropertiesService) ReplaceProperty(ctx context.Context, entityID uuid.UUID, key string, prop *properties.Property, opts *service.CallOptions) error

ReplaceProperty mocks base method.

func (*MockPropertiesService) RetrieveAllProperties

func (m *MockPropertiesService) RetrieveAllProperties(ctx context.Context, provider v10.Provider, projectId, providerID uuid.UUID, lookupProperties *properties.Properties, entType v1.Entity, opts *service.ReadOptions) (*properties.Properties, error)

RetrieveAllProperties mocks base method.

func (*MockPropertiesService) RetrieveAllPropertiesForEntity

func (m *MockPropertiesService) RetrieveAllPropertiesForEntity(ctx context.Context, efp *models.EntityWithProperties, provMan manager.ProviderManager, opts *service.ReadOptions) error

RetrieveAllPropertiesForEntity mocks base method.

func (*MockPropertiesService) SaveAllProperties

func (m *MockPropertiesService) SaveAllProperties(ctx context.Context, entityID uuid.UUID, props *properties.Properties, opts *service.CallOptions) error

SaveAllProperties mocks base method.

type MockPropertiesServiceMockRecorder

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

MockPropertiesServiceMockRecorder is the mock recorder for MockPropertiesService.

func (*MockPropertiesServiceMockRecorder) EntityWithPropertiesAsProto

func (mr *MockPropertiesServiceMockRecorder) EntityWithPropertiesAsProto(ctx, ewp, provMgr any) *gomock.Call

EntityWithPropertiesAsProto indicates an expected call of EntityWithPropertiesAsProto.

func (*MockPropertiesServiceMockRecorder) EntityWithPropertiesByID

func (mr *MockPropertiesServiceMockRecorder) EntityWithPropertiesByID(ctx, entityID, opts any) *gomock.Call

EntityWithPropertiesByID indicates an expected call of EntityWithPropertiesByID.

func (*MockPropertiesServiceMockRecorder) EntityWithPropertiesByUpstreamHint

func (mr *MockPropertiesServiceMockRecorder) EntityWithPropertiesByUpstreamHint(ctx, entType, getByProps, hint, opts any) *gomock.Call

EntityWithPropertiesByUpstreamHint indicates an expected call of EntityWithPropertiesByUpstreamHint.

func (*MockPropertiesServiceMockRecorder) ReplaceAllProperties

func (mr *MockPropertiesServiceMockRecorder) ReplaceAllProperties(ctx, entityID, props, opts any) *gomock.Call

ReplaceAllProperties indicates an expected call of ReplaceAllProperties.

func (*MockPropertiesServiceMockRecorder) ReplaceProperty

func (mr *MockPropertiesServiceMockRecorder) ReplaceProperty(ctx, entityID, key, prop, opts any) *gomock.Call

ReplaceProperty indicates an expected call of ReplaceProperty.

func (*MockPropertiesServiceMockRecorder) RetrieveAllProperties

func (mr *MockPropertiesServiceMockRecorder) RetrieveAllProperties(ctx, provider, projectId, providerID, lookupProperties, entType, opts any) *gomock.Call

RetrieveAllProperties indicates an expected call of RetrieveAllProperties.

func (*MockPropertiesServiceMockRecorder) RetrieveAllPropertiesForEntity

func (mr *MockPropertiesServiceMockRecorder) RetrieveAllPropertiesForEntity(ctx, efp, provMan, opts any) *gomock.Call

RetrieveAllPropertiesForEntity indicates an expected call of RetrieveAllPropertiesForEntity.

func (*MockPropertiesServiceMockRecorder) SaveAllProperties

func (mr *MockPropertiesServiceMockRecorder) SaveAllProperties(ctx, entityID, props, opts any) *gomock.Call

SaveAllProperties indicates an expected call of SaveAllProperties.

Directories

Path Synopsis
Package fixtures contains code for creating RepositoryService fixtures and is used in various parts of the code.
Package fixtures contains code for creating RepositoryService 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