Documentation ¶
Overview ¶
Package mock_service is a generated GoMock package.
Index ¶
- type MockPropertiesService
- func (m *MockPropertiesService) EXPECT() *MockPropertiesServiceMockRecorder
- func (m *MockPropertiesService) EntityWithPropertiesAsProto(ctx context.Context, ewp *models.EntityWithProperties, ...) (protoreflect.ProtoMessage, error)
- func (m *MockPropertiesService) EntityWithPropertiesByID(ctx context.Context, entityID uuid.UUID, opts *service.CallOptions) (*models.EntityWithProperties, error)
- func (m *MockPropertiesService) EntityWithPropertiesByUpstreamHint(ctx context.Context, entType v1.Entity, getByProps *properties.Properties, ...) (*models.EntityWithProperties, error)
- func (m *MockPropertiesService) ReplaceAllProperties(ctx context.Context, entityID uuid.UUID, props *properties.Properties, ...) error
- func (m *MockPropertiesService) ReplaceProperty(ctx context.Context, entityID uuid.UUID, key string, prop *properties.Property, ...) error
- func (m *MockPropertiesService) RetrieveAllProperties(ctx context.Context, provider v10.Provider, projectId, providerID uuid.UUID, ...) (*properties.Properties, error)
- func (m *MockPropertiesService) RetrieveAllPropertiesForEntity(ctx context.Context, efp *models.EntityWithProperties, ...) error
- func (m *MockPropertiesService) SaveAllProperties(ctx context.Context, entityID uuid.UUID, props *properties.Properties, ...) error
- type MockPropertiesServiceMockRecorder
- func (mr *MockPropertiesServiceMockRecorder) EntityWithPropertiesAsProto(ctx, ewp, provMgr any) *gomock.Call
- func (mr *MockPropertiesServiceMockRecorder) EntityWithPropertiesByID(ctx, entityID, opts any) *gomock.Call
- func (mr *MockPropertiesServiceMockRecorder) EntityWithPropertiesByUpstreamHint(ctx, entType, getByProps, hint, opts any) *gomock.Call
- func (mr *MockPropertiesServiceMockRecorder) ReplaceAllProperties(ctx, entityID, props, opts any) *gomock.Call
- func (mr *MockPropertiesServiceMockRecorder) ReplaceProperty(ctx, entityID, key, prop, opts any) *gomock.Call
- func (mr *MockPropertiesServiceMockRecorder) RetrieveAllProperties(ctx, provider, projectId, providerID, lookupProperties, entType, opts any) *gomock.Call
- func (mr *MockPropertiesServiceMockRecorder) RetrieveAllPropertiesForEntity(ctx, efp, provMan, opts any) *gomock.Call
- func (mr *MockPropertiesServiceMockRecorder) SaveAllProperties(ctx, entityID, props, opts any) *gomock.Call
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 ¶
func (m *MockPropertiesService) EXPECT() *MockPropertiesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPropertiesService) EntityWithPropertiesAsProto ¶
func (m *MockPropertiesService) EntityWithPropertiesAsProto(ctx context.Context, ewp *models.EntityWithProperties, provMgr manager.ProviderManager) (protoreflect.ProtoMessage, error)
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.