mock_service

package
v0.0.63 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 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) EntityWithProperties added in v0.0.63

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

EntityWithProperties mocks base method.

func (*MockPropertiesService) EntityWithPropertiesAsProto added in v0.0.63

EntityWithPropertiesAsProto mocks base method.

func (*MockPropertiesService) ReplaceAllProperties added in v0.0.62

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

ReplaceAllProperties mocks base method.

func (*MockPropertiesService) ReplaceProperty added in v0.0.62

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

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

RetrieveAllPropertiesForEntity mocks base method.

func (*MockPropertiesService) RetrieveProperty

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

RetrieveProperty 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) EntityWithProperties added in v0.0.63

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

EntityWithProperties indicates an expected call of EntityWithProperties.

func (*MockPropertiesServiceMockRecorder) EntityWithPropertiesAsProto added in v0.0.63

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

EntityWithPropertiesAsProto indicates an expected call of EntityWithPropertiesAsProto.

func (*MockPropertiesServiceMockRecorder) ReplaceAllProperties added in v0.0.62

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

ReplaceAllProperties indicates an expected call of ReplaceAllProperties.

func (*MockPropertiesServiceMockRecorder) ReplaceProperty added in v0.0.62

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

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

RetrieveAllPropertiesForEntity indicates an expected call of RetrieveAllPropertiesForEntity.

func (*MockPropertiesServiceMockRecorder) RetrieveProperty

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

RetrieveProperty indicates an expected call of RetrieveProperty.

func (*MockPropertiesServiceMockRecorder) SaveAllProperties

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

SaveAllProperties indicates an expected call of SaveAllProperties.

Jump to

Keyboard shortcuts

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