Documentation ¶
Overview ¶
Package fixtures contains code for creating RepositoryService fixtures and is used in various parts of the code. For testing use only.
Index ¶
- type MockPropertyServiceBuilder
- type MockPropertyServiceOption
- func WithFailedEntityByUpstreamHint(err error) MockPropertyServiceOption
- func WithFailedEntityWithPropertiesAsProto(err error) MockPropertyServiceOption
- func WithFailedGetEntityWithPropertiesByID(err error) MockPropertyServiceOption
- func WithFailedRetrieveAllPropertiesForEntity(err error) MockPropertyServiceOption
- func WithFailedSaveAllProperties(err error) MockPropertyServiceOption
- func WithSuccessfulEntityByUpstreamHint(ewp *models.EntityWithProperties, hint service.ByUpstreamHint) MockPropertyServiceOption
- func WithSuccessfulEntityWithPropertiesAsProto(message protoreflect.ProtoMessage) MockPropertyServiceOption
- func WithSuccessfulEntityWithPropertiesByID(entityID uuid.UUID, ewp *models.EntityWithProperties) MockPropertyServiceOption
- func WithSuccessfulRetrieveAllProperties(expProject uuid.UUID, expProvider uuid.UUID, expEntityType minder.Entity, ...) MockPropertyServiceOption
- func WithSuccessfulRetrieveAllPropertiesForEntity() MockPropertyServiceOption
- func WithSuccessfulSaveAllProperties() MockPropertyServiceOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPropertyServiceBuilder ¶
type MockPropertyServiceBuilder = func(*gomock.Controller) *mockSvc.MockPropertiesService
func NewMockPropertiesService ¶
func NewMockPropertiesService( funcs ...MockPropertyServiceOption, ) MockPropertyServiceBuilder
type MockPropertyServiceOption ¶
type MockPropertyServiceOption = func(*mockSvc.MockPropertiesService)
func WithFailedEntityByUpstreamHint ¶
func WithFailedEntityByUpstreamHint( err error, ) MockPropertyServiceOption
func WithFailedEntityWithPropertiesAsProto ¶
func WithFailedEntityWithPropertiesAsProto( err error, ) MockPropertyServiceOption
func WithFailedGetEntityWithPropertiesByID ¶
func WithFailedGetEntityWithPropertiesByID( err error, ) MockPropertyServiceOption
func WithFailedRetrieveAllPropertiesForEntity ¶
func WithFailedRetrieveAllPropertiesForEntity( err error, ) MockPropertyServiceOption
func WithFailedSaveAllProperties ¶
func WithFailedSaveAllProperties( err error, ) MockPropertyServiceOption
func WithSuccessfulEntityByUpstreamHint ¶
func WithSuccessfulEntityByUpstreamHint( ewp *models.EntityWithProperties, hint service.ByUpstreamHint, ) MockPropertyServiceOption
func WithSuccessfulEntityWithPropertiesAsProto ¶
func WithSuccessfulEntityWithPropertiesAsProto( message protoreflect.ProtoMessage, ) MockPropertyServiceOption
func WithSuccessfulEntityWithPropertiesByID ¶
func WithSuccessfulEntityWithPropertiesByID( entityID uuid.UUID, ewp *models.EntityWithProperties, ) MockPropertyServiceOption
func WithSuccessfulRetrieveAllProperties ¶
func WithSuccessfulRetrieveAllProperties( expProject uuid.UUID, expProvider uuid.UUID, expEntityType minder.Entity, retProps *properties.Properties, ) MockPropertyServiceOption
func WithSuccessfulRetrieveAllPropertiesForEntity ¶
func WithSuccessfulRetrieveAllPropertiesForEntity() MockPropertyServiceOption
func WithSuccessfulSaveAllProperties ¶
func WithSuccessfulSaveAllProperties() MockPropertyServiceOption
Click to show internal directories.
Click to hide internal directories.