Documentation ¶
Index ¶
- type AspectConverter
- type AspectEventResourceConverter
- type AspectRepository
- func (_m *AspectRepository) Create(ctx context.Context, tenant string, item *model.Aspect) error
- func (_m *AspectRepository) DeleteByIntegrationDependencyID(ctx context.Context, tenant string, integrationDependencyID string) error
- func (_m *AspectRepository) ListByApplicationIDs(ctx context.Context, tenantID string, applicationIDs []string, pageSize int, ...) ([]*model.Aspect, map[string]int, error)
- func (_m *AspectRepository) ListByIntegrationDependencyID(ctx context.Context, tenant string, integrationDependencyID string) ([]*model.Aspect, error)
- type UIDService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AspectConverter ¶
AspectConverter is an autogenerated mock type for the AspectConverter type
func NewAspectConverter ¶
func NewAspectConverter(t interface { mock.TestingT Cleanup(func()) }) *AspectConverter
NewAspectConverter creates a new instance of AspectConverter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AspectConverter) FromEntity ¶
func (_m *AspectConverter) FromEntity(entity *aspect.Entity) *model.Aspect
FromEntity provides a mock function with given fields: entity
type AspectEventResourceConverter ¶
AspectEventResourceConverter is an autogenerated mock type for the AspectEventResourceConverter type
func NewAspectEventResourceConverter ¶
func NewAspectEventResourceConverter(t interface { mock.TestingT Cleanup(func()) }) *AspectEventResourceConverter
NewAspectEventResourceConverter creates a new instance of AspectEventResourceConverter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AspectEventResourceConverter) MultipleInputFromGraphQL ¶
func (_m *AspectEventResourceConverter) MultipleInputFromGraphQL(in []*graphql.AspectEventDefinitionInput) ([]*model.AspectEventResourceInput, error)
MultipleInputFromGraphQL provides a mock function with given fields: in
func (*AspectEventResourceConverter) MultipleToGraphQL ¶
func (_m *AspectEventResourceConverter) MultipleToGraphQL(in []*model.AspectEventResource) ([]*graphql.AspectEventDefinition, error)
MultipleToGraphQL provides a mock function with given fields: in
type AspectRepository ¶
AspectRepository is an autogenerated mock type for the AspectRepository type
func NewAspectRepository ¶
func NewAspectRepository(t interface { mock.TestingT Cleanup(func()) }) *AspectRepository
NewAspectRepository creates a new instance of AspectRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AspectRepository) Create ¶
Create provides a mock function with given fields: ctx, tenant, item
func (*AspectRepository) DeleteByIntegrationDependencyID ¶
func (_m *AspectRepository) DeleteByIntegrationDependencyID(ctx context.Context, tenant string, integrationDependencyID string) error
DeleteByIntegrationDependencyID provides a mock function with given fields: ctx, tenant, integrationDependencyID
func (*AspectRepository) ListByApplicationIDs ¶
func (_m *AspectRepository) ListByApplicationIDs(ctx context.Context, tenantID string, applicationIDs []string, pageSize int, cursor string) ([]*model.Aspect, map[string]int, error)
ListByApplicationIDs provides a mock function with given fields: ctx, tenantID, applicationIDs, pageSize, cursor
func (*AspectRepository) ListByIntegrationDependencyID ¶
func (_m *AspectRepository) ListByIntegrationDependencyID(ctx context.Context, tenant string, integrationDependencyID string) ([]*model.Aspect, error)
ListByIntegrationDependencyID provides a mock function with given fields: ctx, tenant, integrationDependencyID
type UIDService ¶
UIDService is an autogenerated mock type for the UIDService type
func NewUIDService ¶
func NewUIDService(t interface { mock.TestingT Cleanup(func()) }) *UIDService
NewUIDService creates a new instance of UIDService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*UIDService) Generate ¶
func (_m *UIDService) Generate() string
Generate provides a mock function with given fields: