Documentation ¶
Index ¶
- type APIDefinitionConverter
- type APIDefinitionService
- type ApplicationConverter
- func (_m *ApplicationConverter) CreateInputFromGraphQL(ctx context.Context, in graphql.ApplicationRegisterInput) (model.ApplicationRegisterInput, error)
- func (_m *ApplicationConverter) GraphQLToModel(obj *graphql.Application, tenantID string) *model.Application
- func (_m *ApplicationConverter) MultipleToGraphQL(in []*model.Application) []*graphql.Application
- func (_m *ApplicationConverter) ToGraphQL(in *model.Application) *graphql.Application
- func (_m *ApplicationConverter) UpdateInputFromGraphQL(in graphql.ApplicationUpdateInput) model.ApplicationUpdateInput
- type ApplicationHideCfgProvider
- type ApplicationRepository
- func (_m *ApplicationRepository) Create(ctx context.Context, tenant string, item *model.Application) error
- func (_m *ApplicationRepository) Delete(ctx context.Context, tenant string, id string) error
- func (_m *ApplicationRepository) DeleteGlobal(ctx context.Context, id string) error
- func (_m *ApplicationRepository) Exists(ctx context.Context, tenant string, id string) (bool, error)
- func (_m *ApplicationRepository) GetByFilter(ctx context.Context, tenant string, filter []*labelfilter.LabelFilter) (*model.Application, error)
- func (_m *ApplicationRepository) GetByID(ctx context.Context, tenant string, id string) (*model.Application, error)
- func (_m *ApplicationRepository) GetByIDForUpdate(ctx context.Context, tenant string, id string) (*model.Application, error)
- func (_m *ApplicationRepository) GetByLocalTenantIDAndAppTemplateID(ctx context.Context, tenant string, localTenantID string, appTemplateID string) (*model.Application, error)
- func (_m *ApplicationRepository) GetBySystemNumber(ctx context.Context, tenant string, systemNumber string) (*model.Application, error)
- func (_m *ApplicationRepository) GetGlobalByID(ctx context.Context, id string) (*model.Application, error)
- func (_m *ApplicationRepository) List(ctx context.Context, tenant string, filter []*labelfilter.LabelFilter, ...) (*model.ApplicationPage, error)
- func (_m *ApplicationRepository) ListAll(ctx context.Context, tenant string) ([]*model.Application, error)
- func (_m *ApplicationRepository) ListAllByApplicationTemplateID(ctx context.Context, applicationTemplateID string) ([]*model.Application, error)
- func (_m *ApplicationRepository) ListAllByFilter(ctx context.Context, tenant string, filter []*labelfilter.LabelFilter) ([]*model.Application, error)
- func (_m *ApplicationRepository) ListAllByIDs(ctx context.Context, tenantID string, ids []string) ([]*model.Application, error)
- func (_m *ApplicationRepository) ListAllGlobalByFilter(ctx context.Context, filter []*labelfilter.LabelFilter, pageSize int, ...) (*model.ApplicationWithTenantsPage, error)
- func (_m *ApplicationRepository) ListByLocalTenantID(ctx context.Context, tenant string, localTenantID string, ...) (*model.ApplicationPage, error)
- func (_m *ApplicationRepository) ListByScenarios(ctx context.Context, tenantID uuid.UUID, scenarios []string, pageSize int, ...) (*model.ApplicationPage, error)
- func (_m *ApplicationRepository) ListByScenariosAndIDs(ctx context.Context, tenant string, scenarios []string, ids []string) ([]*model.Application, error)
- func (_m *ApplicationRepository) ListByScenariosNoPaging(ctx context.Context, tenant string, scenarios []string) ([]*model.Application, error)
- func (_m *ApplicationRepository) ListGlobal(ctx context.Context, pageSize int, cursor string) (*model.ApplicationPage, error)
- func (_m *ApplicationRepository) ListListeningApplications(ctx context.Context, tenant string, whType model.WebhookType) ([]*model.Application, error)
- func (_m *ApplicationRepository) OwnerExists(ctx context.Context, tenant string, id string) (bool, error)
- func (_m *ApplicationRepository) TechnicalUpdate(ctx context.Context, item *model.Application) error
- func (_m *ApplicationRepository) TrustedUpsert(ctx context.Context, tenant string, _a2 *model.Application) (string, error)
- func (_m *ApplicationRepository) Update(ctx context.Context, tenant string, item *model.Application) error
- func (_m *ApplicationRepository) Upsert(ctx context.Context, tenant string, _a2 *model.Application) (string, error)
- type ApplicationService
- func (_m *ApplicationService) Create(ctx context.Context, in model.ApplicationRegisterInput) (string, error)
- func (_m *ApplicationService) Delete(ctx context.Context, id string) error
- func (_m *ApplicationService) DeleteLabel(ctx context.Context, applicationID string, key string) error
- func (_m *ApplicationService) Get(ctx context.Context, id string) (*model.Application, error)
- func (_m *ApplicationService) GetByLocalTenantIDAndAppTemplateID(ctx context.Context, localTenantID string, appTemplateID string) (*model.Application, error)
- func (_m *ApplicationService) GetBySystemNumber(ctx context.Context, systemNumber string) (*model.Application, error)
- func (_m *ApplicationService) GetLabel(ctx context.Context, applicationID string, key string) (*model.Label, error)
- func (_m *ApplicationService) List(ctx context.Context, filter []*labelfilter.LabelFilter, pageSize int, ...) (*model.ApplicationPage, error)
- func (_m *ApplicationService) ListAll(ctx context.Context) ([]*model.Application, error)
- func (_m *ApplicationService) ListAllGlobalByFilter(ctx context.Context, filter []*labelfilter.LabelFilter, pageSize int, ...) (*model.ApplicationWithTenantsPage, error)
- func (_m *ApplicationService) ListByLocalTenantID(ctx context.Context, localTenantID string, filter []*labelfilter.LabelFilter, ...) (*model.ApplicationPage, error)
- func (_m *ApplicationService) ListByRuntimeID(ctx context.Context, runtimeUUID uuid.UUID, pageSize int, cursor string) (*model.ApplicationPage, error)
- func (_m *ApplicationService) ListLabels(ctx context.Context, applicationID string) (map[string]*model.Label, error)
- func (_m *ApplicationService) Merge(ctx context.Context, destID string, sourceID string) (*model.Application, error)
- func (_m *ApplicationService) SetLabel(ctx context.Context, label *model.LabelInput) error
- func (_m *ApplicationService) Unpair(ctx context.Context, id string) error
- func (_m *ApplicationService) Update(ctx context.Context, id string, in model.ApplicationUpdateInput) error
- type ApplicationTemplateConverter
- type ApplicationTemplateService
- type ApplicationWithTenantsConverter
- type AspectEventResourceService
- type AspectService
- type BundleConverter
- type BundleService
- func (_m *BundleService) CreateMultiple(ctx context.Context, resourceType resource.Type, resourceID string, ...) error
- func (_m *BundleService) GetForApplication(ctx context.Context, id string, applicationID string) (*model.Bundle, error)
- func (_m *BundleService) ListByApplicationIDs(ctx context.Context, applicationIDs []string, pageSize int, cursor string) ([]*model.BundlePage, error)
- type EntityConverter
- type EventDefinitionConverter
- type EventDefinitionService
- type EventingService
- type FormationService
- type IntegrationDependencyConverter
- type IntegrationDependencyService
- type IntegrationSystemRepository
- type LabelRepository
- func (_m *LabelRepository) Delete(ctx context.Context, tenant string, objectType model.LabelableObject, ...) error
- func (_m *LabelRepository) DeleteAll(ctx context.Context, tenant string, objectType model.LabelableObject, ...) error
- func (_m *LabelRepository) GetByKey(ctx context.Context, tenant string, objectType model.LabelableObject, ...) (*model.Label, error)
- func (_m *LabelRepository) ListForObject(ctx context.Context, tenant string, objectType model.LabelableObject, ...) (map[string]*model.Label, error)
- func (_m *LabelRepository) ListGlobalByKey(ctx context.Context, key string) ([]*model.Label, error)
- func (_m *LabelRepository) ListGlobalByKeyAndObjects(ctx context.Context, objectType model.LabelableObject, objectIDs []string, ...) ([]*model.Label, error)
- type LabelService
- func (_m *LabelService) GetByKey(ctx context.Context, tenant string, objectType model.LabelableObject, ...) (*model.Label, error)
- func (_m *LabelService) UpsertLabel(ctx context.Context, tenant string, labelInput *model.LabelInput) error
- func (_m *LabelService) UpsertMultipleLabels(ctx context.Context, tenant string, objectType model.LabelableObject, ...) error
- type OAuth20Service
- type OneTimeTokenService
- type OperationConverter
- type OperationService
- type RuntimeRepository
- type RuntimeService
- type SpecService
- type SystemAuthConverter
- type SystemAuthService
- type TenantConverter
- type UIDService
- type WebhookConverter
- func (_m *WebhookConverter) InputFromGraphQL(in *graphql.WebhookInput) (*model.WebhookInput, error)
- func (_m *WebhookConverter) MultipleInputFromGraphQL(in []*graphql.WebhookInput) ([]*model.WebhookInput, error)
- func (_m *WebhookConverter) MultipleToGraphQL(in []*model.Webhook) ([]*graphql.Webhook, error)
- func (_m *WebhookConverter) ToGraphQL(in *model.Webhook) (*graphql.Webhook, error)
- type WebhookRepository
- type WebhookService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIDefinitionConverter ¶
APIDefinitionConverter is an autogenerated mock type for the APIDefinitionConverter type
func NewAPIDefinitionConverter ¶
func NewAPIDefinitionConverter(t interface { mock.TestingT Cleanup(func()) }) *APIDefinitionConverter
NewAPIDefinitionConverter creates a new instance of APIDefinitionConverter. 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 (*APIDefinitionConverter) ToGraphQL ¶
func (_m *APIDefinitionConverter) ToGraphQL(in *model.APIDefinition, spec *model.Spec, bundleRef *model.BundleReference) (*graphql.APIDefinition, error)
ToGraphQL provides a mock function with given fields: in, spec, bundleRef
type APIDefinitionService ¶
APIDefinitionService is an autogenerated mock type for the APIDefinitionService type
func NewAPIDefinitionService ¶
func NewAPIDefinitionService(t interface { mock.TestingT Cleanup(func()) }) *APIDefinitionService
NewAPIDefinitionService creates a new instance of APIDefinitionService. 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 (*APIDefinitionService) GetForApplication ¶
func (_m *APIDefinitionService) GetForApplication(ctx context.Context, id string, appID string) (*model.APIDefinition, error)
GetForApplication provides a mock function with given fields: ctx, id, appID
type ApplicationConverter ¶
ApplicationConverter is an autogenerated mock type for the ApplicationConverter type
func NewApplicationConverter ¶
func NewApplicationConverter(t interface { mock.TestingT Cleanup(func()) }) *ApplicationConverter
NewApplicationConverter creates a new instance of ApplicationConverter. 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 (*ApplicationConverter) CreateInputFromGraphQL ¶
func (_m *ApplicationConverter) CreateInputFromGraphQL(ctx context.Context, in graphql.ApplicationRegisterInput) (model.ApplicationRegisterInput, error)
CreateInputFromGraphQL provides a mock function with given fields: ctx, in
func (*ApplicationConverter) GraphQLToModel ¶
func (_m *ApplicationConverter) GraphQLToModel(obj *graphql.Application, tenantID string) *model.Application
GraphQLToModel provides a mock function with given fields: obj, tenantID
func (*ApplicationConverter) MultipleToGraphQL ¶
func (_m *ApplicationConverter) MultipleToGraphQL(in []*model.Application) []*graphql.Application
MultipleToGraphQL provides a mock function with given fields: in
func (*ApplicationConverter) ToGraphQL ¶
func (_m *ApplicationConverter) ToGraphQL(in *model.Application) *graphql.Application
ToGraphQL provides a mock function with given fields: in
func (*ApplicationConverter) UpdateInputFromGraphQL ¶
func (_m *ApplicationConverter) UpdateInputFromGraphQL(in graphql.ApplicationUpdateInput) model.ApplicationUpdateInput
UpdateInputFromGraphQL provides a mock function with given fields: in
type ApplicationHideCfgProvider ¶
ApplicationHideCfgProvider is an autogenerated mock type for the ApplicationHideCfgProvider type
func NewApplicationHideCfgProvider ¶
func NewApplicationHideCfgProvider(t interface { mock.TestingT Cleanup(func()) }) *ApplicationHideCfgProvider
NewApplicationHideCfgProvider creates a new instance of ApplicationHideCfgProvider. 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 (*ApplicationHideCfgProvider) GetApplicationHideSelectors ¶
func (_m *ApplicationHideCfgProvider) GetApplicationHideSelectors() (map[string][]string, error)
GetApplicationHideSelectors provides a mock function with given fields:
type ApplicationRepository ¶
ApplicationRepository is an autogenerated mock type for the ApplicationRepository type
func NewApplicationRepository ¶
func NewApplicationRepository(t interface { mock.TestingT Cleanup(func()) }) *ApplicationRepository
NewApplicationRepository creates a new instance of ApplicationRepository. 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 (*ApplicationRepository) Create ¶
func (_m *ApplicationRepository) Create(ctx context.Context, tenant string, item *model.Application) error
Create provides a mock function with given fields: ctx, tenant, item
func (*ApplicationRepository) Delete ¶
Delete provides a mock function with given fields: ctx, tenant, id
func (*ApplicationRepository) DeleteGlobal ¶
func (_m *ApplicationRepository) DeleteGlobal(ctx context.Context, id string) error
DeleteGlobal provides a mock function with given fields: ctx, id
func (*ApplicationRepository) Exists ¶
func (_m *ApplicationRepository) Exists(ctx context.Context, tenant string, id string) (bool, error)
Exists provides a mock function with given fields: ctx, tenant, id
func (*ApplicationRepository) GetByFilter ¶
func (_m *ApplicationRepository) GetByFilter(ctx context.Context, tenant string, filter []*labelfilter.LabelFilter) (*model.Application, error)
GetByFilter provides a mock function with given fields: ctx, tenant, filter
func (*ApplicationRepository) GetByID ¶
func (_m *ApplicationRepository) GetByID(ctx context.Context, tenant string, id string) (*model.Application, error)
GetByID provides a mock function with given fields: ctx, tenant, id
func (*ApplicationRepository) GetByIDForUpdate ¶
func (_m *ApplicationRepository) GetByIDForUpdate(ctx context.Context, tenant string, id string) (*model.Application, error)
GetByIDForUpdate provides a mock function with given fields: ctx, tenant, id
func (*ApplicationRepository) GetByLocalTenantIDAndAppTemplateID ¶
func (_m *ApplicationRepository) GetByLocalTenantIDAndAppTemplateID(ctx context.Context, tenant string, localTenantID string, appTemplateID string) (*model.Application, error)
GetByLocalTenantIDAndAppTemplateID provides a mock function with given fields: ctx, tenant, localTenantID, appTemplateID
func (*ApplicationRepository) GetBySystemNumber ¶
func (_m *ApplicationRepository) GetBySystemNumber(ctx context.Context, tenant string, systemNumber string) (*model.Application, error)
GetBySystemNumber provides a mock function with given fields: ctx, tenant, systemNumber
func (*ApplicationRepository) GetGlobalByID ¶
func (_m *ApplicationRepository) GetGlobalByID(ctx context.Context, id string) (*model.Application, error)
GetGlobalByID provides a mock function with given fields: ctx, id
func (*ApplicationRepository) List ¶
func (_m *ApplicationRepository) List(ctx context.Context, tenant string, filter []*labelfilter.LabelFilter, pageSize int, cursor string) (*model.ApplicationPage, error)
List provides a mock function with given fields: ctx, tenant, filter, pageSize, cursor
func (*ApplicationRepository) ListAll ¶
func (_m *ApplicationRepository) ListAll(ctx context.Context, tenant string) ([]*model.Application, error)
ListAll provides a mock function with given fields: ctx, tenant
func (*ApplicationRepository) ListAllByApplicationTemplateID ¶
func (_m *ApplicationRepository) ListAllByApplicationTemplateID(ctx context.Context, applicationTemplateID string) ([]*model.Application, error)
ListAllByApplicationTemplateID provides a mock function with given fields: ctx, applicationTemplateID
func (*ApplicationRepository) ListAllByFilter ¶
func (_m *ApplicationRepository) ListAllByFilter(ctx context.Context, tenant string, filter []*labelfilter.LabelFilter) ([]*model.Application, error)
ListAllByFilter provides a mock function with given fields: ctx, tenant, filter
func (*ApplicationRepository) ListAllByIDs ¶
func (_m *ApplicationRepository) ListAllByIDs(ctx context.Context, tenantID string, ids []string) ([]*model.Application, error)
ListAllByIDs provides a mock function with given fields: ctx, tenantID, ids
func (*ApplicationRepository) ListAllGlobalByFilter ¶
func (_m *ApplicationRepository) ListAllGlobalByFilter(ctx context.Context, filter []*labelfilter.LabelFilter, pageSize int, cursor string) (*model.ApplicationWithTenantsPage, error)
ListAllGlobalByFilter provides a mock function with given fields: ctx, filter, pageSize, cursor
func (*ApplicationRepository) ListByLocalTenantID ¶
func (_m *ApplicationRepository) ListByLocalTenantID(ctx context.Context, tenant string, localTenantID string, filter []*labelfilter.LabelFilter, pageSize int, cursor string) (*model.ApplicationPage, error)
ListByLocalTenantID provides a mock function with given fields: ctx, tenant, localTenantID, filter, pageSize, cursor
func (*ApplicationRepository) ListByScenarios ¶
func (_m *ApplicationRepository) ListByScenarios(ctx context.Context, tenantID uuid.UUID, scenarios []string, pageSize int, cursor string, hidingSelectors map[string][]string) (*model.ApplicationPage, error)
ListByScenarios provides a mock function with given fields: ctx, tenantID, scenarios, pageSize, cursor, hidingSelectors
func (*ApplicationRepository) ListByScenariosAndIDs ¶
func (_m *ApplicationRepository) ListByScenariosAndIDs(ctx context.Context, tenant string, scenarios []string, ids []string) ([]*model.Application, error)
ListByScenariosAndIDs provides a mock function with given fields: ctx, tenant, scenarios, ids
func (*ApplicationRepository) ListByScenariosNoPaging ¶
func (_m *ApplicationRepository) ListByScenariosNoPaging(ctx context.Context, tenant string, scenarios []string) ([]*model.Application, error)
ListByScenariosNoPaging provides a mock function with given fields: ctx, tenant, scenarios
func (*ApplicationRepository) ListGlobal ¶
func (_m *ApplicationRepository) ListGlobal(ctx context.Context, pageSize int, cursor string) (*model.ApplicationPage, error)
ListGlobal provides a mock function with given fields: ctx, pageSize, cursor
func (*ApplicationRepository) ListListeningApplications ¶
func (_m *ApplicationRepository) ListListeningApplications(ctx context.Context, tenant string, whType model.WebhookType) ([]*model.Application, error)
ListListeningApplications provides a mock function with given fields: ctx, tenant, whType
func (*ApplicationRepository) OwnerExists ¶
func (_m *ApplicationRepository) OwnerExists(ctx context.Context, tenant string, id string) (bool, error)
OwnerExists provides a mock function with given fields: ctx, tenant, id
func (*ApplicationRepository) TechnicalUpdate ¶
func (_m *ApplicationRepository) TechnicalUpdate(ctx context.Context, item *model.Application) error
TechnicalUpdate provides a mock function with given fields: ctx, item
func (*ApplicationRepository) TrustedUpsert ¶
func (_m *ApplicationRepository) TrustedUpsert(ctx context.Context, tenant string, _a2 *model.Application) (string, error)
TrustedUpsert provides a mock function with given fields: ctx, tenant, _a2
func (*ApplicationRepository) Update ¶
func (_m *ApplicationRepository) Update(ctx context.Context, tenant string, item *model.Application) error
Update provides a mock function with given fields: ctx, tenant, item
func (*ApplicationRepository) Upsert ¶
func (_m *ApplicationRepository) Upsert(ctx context.Context, tenant string, _a2 *model.Application) (string, error)
Upsert provides a mock function with given fields: ctx, tenant, _a2
type ApplicationService ¶
ApplicationService is an autogenerated mock type for the ApplicationService type
func NewApplicationService ¶
func NewApplicationService(t interface { mock.TestingT Cleanup(func()) }) *ApplicationService
NewApplicationService creates a new instance of ApplicationService. 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 (*ApplicationService) Create ¶
func (_m *ApplicationService) Create(ctx context.Context, in model.ApplicationRegisterInput) (string, error)
Create provides a mock function with given fields: ctx, in
func (*ApplicationService) Delete ¶
func (_m *ApplicationService) Delete(ctx context.Context, id string) error
Delete provides a mock function with given fields: ctx, id
func (*ApplicationService) DeleteLabel ¶
func (_m *ApplicationService) DeleteLabel(ctx context.Context, applicationID string, key string) error
DeleteLabel provides a mock function with given fields: ctx, applicationID, key
func (*ApplicationService) Get ¶
func (_m *ApplicationService) Get(ctx context.Context, id string) (*model.Application, error)
Get provides a mock function with given fields: ctx, id
func (*ApplicationService) GetByLocalTenantIDAndAppTemplateID ¶
func (_m *ApplicationService) GetByLocalTenantIDAndAppTemplateID(ctx context.Context, localTenantID string, appTemplateID string) (*model.Application, error)
GetByLocalTenantIDAndAppTemplateID provides a mock function with given fields: ctx, localTenantID, appTemplateID
func (*ApplicationService) GetBySystemNumber ¶
func (_m *ApplicationService) GetBySystemNumber(ctx context.Context, systemNumber string) (*model.Application, error)
GetBySystemNumber provides a mock function with given fields: ctx, systemNumber
func (*ApplicationService) GetLabel ¶
func (_m *ApplicationService) GetLabel(ctx context.Context, applicationID string, key string) (*model.Label, error)
GetLabel provides a mock function with given fields: ctx, applicationID, key
func (*ApplicationService) List ¶
func (_m *ApplicationService) List(ctx context.Context, filter []*labelfilter.LabelFilter, pageSize int, cursor string) (*model.ApplicationPage, error)
List provides a mock function with given fields: ctx, filter, pageSize, cursor
func (*ApplicationService) ListAll ¶
func (_m *ApplicationService) ListAll(ctx context.Context) ([]*model.Application, error)
ListAll provides a mock function with given fields: ctx
func (*ApplicationService) ListAllGlobalByFilter ¶
func (_m *ApplicationService) ListAllGlobalByFilter(ctx context.Context, filter []*labelfilter.LabelFilter, pageSize int, cursor string) (*model.ApplicationWithTenantsPage, error)
ListAllGlobalByFilter provides a mock function with given fields: ctx, filter, pageSize, cursor
func (*ApplicationService) ListByLocalTenantID ¶
func (_m *ApplicationService) ListByLocalTenantID(ctx context.Context, localTenantID string, filter []*labelfilter.LabelFilter, pageSize int, cursor string) (*model.ApplicationPage, error)
ListByLocalTenantID provides a mock function with given fields: ctx, localTenantID, filter, pageSize, cursor
func (*ApplicationService) ListByRuntimeID ¶
func (_m *ApplicationService) ListByRuntimeID(ctx context.Context, runtimeUUID uuid.UUID, pageSize int, cursor string) (*model.ApplicationPage, error)
ListByRuntimeID provides a mock function with given fields: ctx, runtimeUUID, pageSize, cursor
func (*ApplicationService) ListLabels ¶
func (_m *ApplicationService) ListLabels(ctx context.Context, applicationID string) (map[string]*model.Label, error)
ListLabels provides a mock function with given fields: ctx, applicationID
func (*ApplicationService) Merge ¶
func (_m *ApplicationService) Merge(ctx context.Context, destID string, sourceID string) (*model.Application, error)
Merge provides a mock function with given fields: ctx, destID, sourceID
func (*ApplicationService) SetLabel ¶
func (_m *ApplicationService) SetLabel(ctx context.Context, label *model.LabelInput) error
SetLabel provides a mock function with given fields: ctx, label
func (*ApplicationService) Unpair ¶
func (_m *ApplicationService) Unpair(ctx context.Context, id string) error
Unpair provides a mock function with given fields: ctx, id
func (*ApplicationService) Update ¶
func (_m *ApplicationService) Update(ctx context.Context, id string, in model.ApplicationUpdateInput) error
Update provides a mock function with given fields: ctx, id, in
type ApplicationTemplateConverter ¶
ApplicationTemplateConverter is an autogenerated mock type for the ApplicationTemplateConverter type
func NewApplicationTemplateConverter ¶
func NewApplicationTemplateConverter(t interface { mock.TestingT Cleanup(func()) }) *ApplicationTemplateConverter
NewApplicationTemplateConverter creates a new instance of ApplicationTemplateConverter. 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 (*ApplicationTemplateConverter) ToGraphQL ¶
func (_m *ApplicationTemplateConverter) ToGraphQL(in *model.ApplicationTemplate) (*graphql.ApplicationTemplate, error)
ToGraphQL provides a mock function with given fields: in
type ApplicationTemplateService ¶
ApplicationTemplateService is an autogenerated mock type for the ApplicationTemplateService type
func NewApplicationTemplateService ¶
func NewApplicationTemplateService(t interface { mock.TestingT Cleanup(func()) }) *ApplicationTemplateService
NewApplicationTemplateService creates a new instance of ApplicationTemplateService. 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 (*ApplicationTemplateService) Get ¶
func (_m *ApplicationTemplateService) Get(ctx context.Context, id string) (*model.ApplicationTemplate, error)
Get provides a mock function with given fields: ctx, id
func (*ApplicationTemplateService) GetByFilters ¶
func (_m *ApplicationTemplateService) GetByFilters(ctx context.Context, filter []*labelfilter.LabelFilter) (*model.ApplicationTemplate, error)
GetByFilters provides a mock function with given fields: ctx, filter
type ApplicationWithTenantsConverter ¶
ApplicationWithTenantsConverter is an autogenerated mock type for the ApplicationWithTenantsConverter type
func NewApplicationWithTenantsConverter ¶
func NewApplicationWithTenantsConverter(t interface { mock.TestingT Cleanup(func()) }) *ApplicationWithTenantsConverter
NewApplicationWithTenantsConverter creates a new instance of ApplicationWithTenantsConverter. 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 (*ApplicationWithTenantsConverter) MultipleToGraphQL ¶
func (_m *ApplicationWithTenantsConverter) MultipleToGraphQL(in []*model.ApplicationWithTenants) []*graphql.ApplicationWithTenants
MultipleToGraphQL provides a mock function with given fields: in
type AspectEventResourceService ¶
AspectEventResourceService is an autogenerated mock type for the AspectEventResourceService type
func NewAspectEventResourceService ¶
func NewAspectEventResourceService(t interface { mock.TestingT Cleanup(func()) }) *AspectEventResourceService
NewAspectEventResourceService creates a new instance of AspectEventResourceService. 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 (*AspectEventResourceService) ListByApplicationIDs ¶
func (_m *AspectEventResourceService) ListByApplicationIDs(ctx context.Context, applicationIDs []string, pageSize int, cursor string) ([]*model.AspectEventResource, map[string]int, error)
ListByApplicationIDs provides a mock function with given fields: ctx, applicationIDs, pageSize, cursor
type AspectService ¶
AspectService is an autogenerated mock type for the AspectService type
func NewAspectService ¶
func NewAspectService(t interface { mock.TestingT Cleanup(func()) }) *AspectService
NewAspectService creates a new instance of AspectService. 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 (*AspectService) ListByApplicationIDs ¶
func (_m *AspectService) ListByApplicationIDs(ctx context.Context, applicationIDs []string, pageSize int, cursor string) ([]*model.Aspect, map[string]int, error)
ListByApplicationIDs provides a mock function with given fields: ctx, applicationIDs, pageSize, cursor
type BundleConverter ¶
BundleConverter is an autogenerated mock type for the BundleConverter type
func NewBundleConverter ¶
func NewBundleConverter(t interface { mock.TestingT Cleanup(func()) }) *BundleConverter
NewBundleConverter creates a new instance of BundleConverter. 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 (*BundleConverter) MultipleCreateInputFromGraphQL ¶
func (_m *BundleConverter) MultipleCreateInputFromGraphQL(in []*graphql.BundleCreateInput) ([]*model.BundleCreateInput, error)
MultipleCreateInputFromGraphQL provides a mock function with given fields: in
func (*BundleConverter) MultipleToGraphQL ¶
MultipleToGraphQL provides a mock function with given fields: in
type BundleService ¶
BundleService is an autogenerated mock type for the BundleService type
func NewBundleService ¶
func NewBundleService(t interface { mock.TestingT Cleanup(func()) }) *BundleService
NewBundleService creates a new instance of BundleService. 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 (*BundleService) CreateMultiple ¶
func (_m *BundleService) CreateMultiple(ctx context.Context, resourceType resource.Type, resourceID string, in []*model.BundleCreateInput) error
CreateMultiple provides a mock function with given fields: ctx, resourceType, resourceID, in
func (*BundleService) GetForApplication ¶
func (_m *BundleService) GetForApplication(ctx context.Context, id string, applicationID string) (*model.Bundle, error)
GetForApplication provides a mock function with given fields: ctx, id, applicationID
func (*BundleService) ListByApplicationIDs ¶
func (_m *BundleService) ListByApplicationIDs(ctx context.Context, applicationIDs []string, pageSize int, cursor string) ([]*model.BundlePage, error)
ListByApplicationIDs provides a mock function with given fields: ctx, applicationIDs, pageSize, cursor
type EntityConverter ¶
EntityConverter is an autogenerated mock type for the EntityConverter type
func NewEntityConverter ¶
func NewEntityConverter(t interface { mock.TestingT Cleanup(func()) }) *EntityConverter
NewEntityConverter creates a new instance of EntityConverter. 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 (*EntityConverter) FromEntity ¶
func (_m *EntityConverter) FromEntity(entity *application.Entity) *model.Application
FromEntity provides a mock function with given fields: entity
func (*EntityConverter) ToEntity ¶
func (_m *EntityConverter) ToEntity(in *model.Application) (*application.Entity, error)
ToEntity provides a mock function with given fields: in
type EventDefinitionConverter ¶
EventDefinitionConverter is an autogenerated mock type for the EventDefinitionConverter type
func NewEventDefinitionConverter ¶
func NewEventDefinitionConverter(t interface { mock.TestingT Cleanup(func()) }) *EventDefinitionConverter
NewEventDefinitionConverter creates a new instance of EventDefinitionConverter. 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 (*EventDefinitionConverter) ToGraphQL ¶
func (_m *EventDefinitionConverter) ToGraphQL(in *model.EventDefinition, spec *model.Spec, bundleRef *model.BundleReference) (*graphql.EventDefinition, error)
ToGraphQL provides a mock function with given fields: in, spec, bundleRef
type EventDefinitionService ¶
EventDefinitionService is an autogenerated mock type for the EventDefinitionService type
func NewEventDefinitionService ¶
func NewEventDefinitionService(t interface { mock.TestingT Cleanup(func()) }) *EventDefinitionService
NewEventDefinitionService creates a new instance of EventDefinitionService. 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 (*EventDefinitionService) GetForApplication ¶
func (_m *EventDefinitionService) GetForApplication(ctx context.Context, id string, appID string) (*model.EventDefinition, error)
GetForApplication provides a mock function with given fields: ctx, id, appID
type EventingService ¶
EventingService is an autogenerated mock type for the EventingService type
func NewEventingService ¶
func NewEventingService(t interface { mock.TestingT Cleanup(func()) }) *EventingService
NewEventingService creates a new instance of EventingService. 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 (*EventingService) CleanupAfterUnregisteringApplication ¶
func (_m *EventingService) CleanupAfterUnregisteringApplication(ctx context.Context, appID uuid.UUID) (*model.ApplicationEventingConfiguration, error)
CleanupAfterUnregisteringApplication provides a mock function with given fields: ctx, appID
func (*EventingService) GetForApplication ¶
func (_m *EventingService) GetForApplication(ctx context.Context, app model.Application) (*model.ApplicationEventingConfiguration, error)
GetForApplication provides a mock function with given fields: ctx, app
type FormationService ¶
FormationService is an autogenerated mock type for the FormationService type
func NewFormationService ¶
func NewFormationService(t interface { mock.TestingT Cleanup(func()) }) *FormationService
NewFormationService creates a new instance of FormationService. 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 (*FormationService) AssignFormation ¶
func (_m *FormationService) AssignFormation(ctx context.Context, tnt string, objectID string, objectType graphql.FormationObjectType, formation model.Formation) (*model.Formation, error)
AssignFormation provides a mock function with given fields: ctx, tnt, objectID, objectType, formation
func (*FormationService) UnassignFormation ¶
func (_m *FormationService) UnassignFormation(ctx context.Context, tnt string, objectID string, objectType graphql.FormationObjectType, formation model.Formation) (*model.Formation, error)
UnassignFormation provides a mock function with given fields: ctx, tnt, objectID, objectType, formation
type IntegrationDependencyConverter ¶
IntegrationDependencyConverter is an autogenerated mock type for the IntegrationDependencyConverter type
func NewIntegrationDependencyConverter ¶
func NewIntegrationDependencyConverter(t interface { mock.TestingT Cleanup(func()) }) *IntegrationDependencyConverter
NewIntegrationDependencyConverter creates a new instance of IntegrationDependencyConverter. 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 (*IntegrationDependencyConverter) ToGraphQL ¶
func (_m *IntegrationDependencyConverter) ToGraphQL(in *model.IntegrationDependency, aspects []*model.Aspect, aspectEventResourcesByAspectID map[string][]*model.AspectEventResource) (*graphql.IntegrationDependency, error)
ToGraphQL provides a mock function with given fields: in, aspects, aspectEventResourcesByAspectID
type IntegrationDependencyService ¶
IntegrationDependencyService is an autogenerated mock type for the IntegrationDependencyService type
func NewIntegrationDependencyService ¶
func NewIntegrationDependencyService(t interface { mock.TestingT Cleanup(func()) }) *IntegrationDependencyService
NewIntegrationDependencyService creates a new instance of IntegrationDependencyService. 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 (*IntegrationDependencyService) ListByApplicationIDs ¶
func (_m *IntegrationDependencyService) ListByApplicationIDs(ctx context.Context, applicationIDs []string, pageSize int, cursor string) ([]*model.IntegrationDependencyPage, error)
ListByApplicationIDs provides a mock function with given fields: ctx, applicationIDs, pageSize, cursor
type IntegrationSystemRepository ¶
IntegrationSystemRepository is an autogenerated mock type for the IntegrationSystemRepository type
func NewIntegrationSystemRepository ¶
func NewIntegrationSystemRepository(t interface { mock.TestingT Cleanup(func()) }) *IntegrationSystemRepository
NewIntegrationSystemRepository creates a new instance of IntegrationSystemRepository. 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.
type LabelRepository ¶
LabelRepository is an autogenerated mock type for the LabelRepository type
func NewLabelRepository ¶
func NewLabelRepository(t interface { mock.TestingT Cleanup(func()) }) *LabelRepository
NewLabelRepository creates a new instance of LabelRepository. 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 (*LabelRepository) Delete ¶
func (_m *LabelRepository) Delete(ctx context.Context, tenant string, objectType model.LabelableObject, objectID string, key string) error
Delete provides a mock function with given fields: ctx, tenant, objectType, objectID, key
func (*LabelRepository) DeleteAll ¶
func (_m *LabelRepository) DeleteAll(ctx context.Context, tenant string, objectType model.LabelableObject, objectID string) error
DeleteAll provides a mock function with given fields: ctx, tenant, objectType, objectID
func (*LabelRepository) GetByKey ¶
func (_m *LabelRepository) GetByKey(ctx context.Context, tenant string, objectType model.LabelableObject, objectID string, key string) (*model.Label, error)
GetByKey provides a mock function with given fields: ctx, tenant, objectType, objectID, key
func (*LabelRepository) ListForObject ¶
func (_m *LabelRepository) ListForObject(ctx context.Context, tenant string, objectType model.LabelableObject, objectID string) (map[string]*model.Label, error)
ListForObject provides a mock function with given fields: ctx, tenant, objectType, objectID
func (*LabelRepository) ListGlobalByKey ¶
ListGlobalByKey provides a mock function with given fields: ctx, key
func (*LabelRepository) ListGlobalByKeyAndObjects ¶
func (_m *LabelRepository) ListGlobalByKeyAndObjects(ctx context.Context, objectType model.LabelableObject, objectIDs []string, key string) ([]*model.Label, error)
ListGlobalByKeyAndObjects provides a mock function with given fields: ctx, objectType, objectIDs, key
type LabelService ¶
LabelService is an autogenerated mock type for the LabelService type
func NewLabelService ¶
func NewLabelService(t interface { mock.TestingT Cleanup(func()) }) *LabelService
NewLabelService creates a new instance of LabelService. 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 (*LabelService) GetByKey ¶
func (_m *LabelService) GetByKey(ctx context.Context, tenant string, objectType model.LabelableObject, objectID string, key string) (*model.Label, error)
GetByKey provides a mock function with given fields: ctx, tenant, objectType, objectID, key
func (*LabelService) UpsertLabel ¶
func (_m *LabelService) UpsertLabel(ctx context.Context, tenant string, labelInput *model.LabelInput) error
UpsertLabel provides a mock function with given fields: ctx, tenant, labelInput
func (*LabelService) UpsertMultipleLabels ¶
func (_m *LabelService) UpsertMultipleLabels(ctx context.Context, tenant string, objectType model.LabelableObject, objectID string, labels map[string]interface{}) error
UpsertMultipleLabels provides a mock function with given fields: ctx, tenant, objectType, objectID, labels
type OAuth20Service ¶
OAuth20Service is an autogenerated mock type for the OAuth20Service type
func NewOAuth20Service ¶
func NewOAuth20Service(t interface { mock.TestingT Cleanup(func()) }) *OAuth20Service
NewOAuth20Service creates a new instance of OAuth20Service. 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 (*OAuth20Service) DeleteMultipleClientCredentials ¶
func (_m *OAuth20Service) DeleteMultipleClientCredentials(ctx context.Context, auths []model.SystemAuth) error
DeleteMultipleClientCredentials provides a mock function with given fields: ctx, auths
type OneTimeTokenService ¶
OneTimeTokenService is an autogenerated mock type for the OneTimeTokenService type
func NewOneTimeTokenService ¶
func NewOneTimeTokenService(t interface { mock.TestingT Cleanup(func()) }) *OneTimeTokenService
NewOneTimeTokenService creates a new instance of OneTimeTokenService. 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 (*OneTimeTokenService) IsTokenValid ¶
func (_m *OneTimeTokenService) IsTokenValid(systemAuth *model.SystemAuth) (bool, error)
IsTokenValid provides a mock function with given fields: systemAuth
type OperationConverter ¶
OperationConverter is an autogenerated mock type for the OperationConverter type
func NewOperationConverter ¶
func NewOperationConverter(t interface { mock.TestingT Cleanup(func()) }) *OperationConverter
NewOperationConverter creates a new instance of OperationConverter. 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 (*OperationConverter) MultipleToGraphQL ¶
func (_m *OperationConverter) MultipleToGraphQL(in []*model.Operation) ([]*graphql.Operation, error)
MultipleToGraphQL provides a mock function with given fields: in
type OperationService ¶
OperationService is an autogenerated mock type for the OperationService type
func NewOperationService ¶
func NewOperationService(t interface { mock.TestingT Cleanup(func()) }) *OperationService
NewOperationService creates a new instance of OperationService. 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 (*OperationService) GetByDataAndType ¶
func (_m *OperationService) GetByDataAndType(ctx context.Context, data interface{}, opType model.OperationType) (*model.Operation, error)
GetByDataAndType provides a mock function with given fields: ctx, data, opType
type RuntimeRepository ¶
RuntimeRepository is an autogenerated mock type for the RuntimeRepository type
func NewRuntimeRepository ¶
func NewRuntimeRepository(t interface { mock.TestingT Cleanup(func()) }) *RuntimeRepository
NewRuntimeRepository creates a new instance of RuntimeRepository. 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 (*RuntimeRepository) Exists ¶
Exists provides a mock function with given fields: ctx, tenant, id
func (*RuntimeRepository) ListAll ¶
func (_m *RuntimeRepository) ListAll(ctx context.Context, tenantID string, filter []*labelfilter.LabelFilter) ([]*model.Runtime, error)
ListAll provides a mock function with given fields: ctx, tenantID, filter
type RuntimeService ¶
RuntimeService is an autogenerated mock type for the RuntimeService type
func NewRuntimeService ¶
func NewRuntimeService(t interface { mock.TestingT Cleanup(func()) }) *RuntimeService
NewRuntimeService creates a new instance of RuntimeService. 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 (*RuntimeService) GetLabel ¶
func (_m *RuntimeService) GetLabel(ctx context.Context, runtimeID string, key string) (*model.Label, error)
GetLabel provides a mock function with given fields: ctx, runtimeID, key
func (*RuntimeService) List ¶
func (_m *RuntimeService) List(ctx context.Context, filter []*labelfilter.LabelFilter, pageSize int, cursor string) (*model.RuntimePage, error)
List provides a mock function with given fields: ctx, filter, pageSize, cursor
type SpecService ¶
SpecService is an autogenerated mock type for the SpecService type
func NewSpecService ¶
func NewSpecService(t interface { mock.TestingT Cleanup(func()) }) *SpecService
NewSpecService creates a new instance of SpecService. 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 (*SpecService) GetByReferenceObjectID ¶
func (_m *SpecService) GetByReferenceObjectID(ctx context.Context, resourceType resource.Type, objectType model.SpecReferenceObjectType, objectID string) (*model.Spec, error)
GetByReferenceObjectID provides a mock function with given fields: ctx, resourceType, objectType, objectID
type SystemAuthConverter ¶
SystemAuthConverter is an autogenerated mock type for the SystemAuthConverter type
func NewSystemAuthConverter ¶
func NewSystemAuthConverter(t interface { mock.TestingT Cleanup(func()) }) *SystemAuthConverter
NewSystemAuthConverter creates a new instance of SystemAuthConverter. 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 (*SystemAuthConverter) ToGraphQL ¶
func (_m *SystemAuthConverter) ToGraphQL(in *model.SystemAuth) (graphql.SystemAuth, error)
ToGraphQL provides a mock function with given fields: in
type SystemAuthService ¶
SystemAuthService is an autogenerated mock type for the SystemAuthService type
func NewSystemAuthService ¶
func NewSystemAuthService(t interface { mock.TestingT Cleanup(func()) }) *SystemAuthService
NewSystemAuthService creates a new instance of SystemAuthService. 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 (*SystemAuthService) DeleteMultipleByIDForObject ¶
func (_m *SystemAuthService) DeleteMultipleByIDForObject(ctx context.Context, systemAuths []model.SystemAuth) error
DeleteMultipleByIDForObject provides a mock function with given fields: ctx, systemAuths
func (*SystemAuthService) ListForObject ¶
func (_m *SystemAuthService) ListForObject(ctx context.Context, objectType model.SystemAuthReferenceObjectType, objectID string) ([]model.SystemAuth, error)
ListForObject provides a mock function with given fields: ctx, objectType, objectID
type TenantConverter ¶
TenantConverter is an autogenerated mock type for the TenantConverter type
func NewTenantConverter ¶
func NewTenantConverter(t interface { mock.TestingT Cleanup(func()) }) *TenantConverter
NewTenantConverter creates a new instance of TenantConverter. 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 (*TenantConverter) FromEntity ¶
func (_m *TenantConverter) FromEntity(in *tenant.Entity) *model.BusinessTenantMapping
FromEntity provides a mock function with given fields: in
func (*TenantConverter) MultipleToGraphQL ¶
func (_m *TenantConverter) MultipleToGraphQL(in []*model.BusinessTenantMapping) []*graphql.Tenant
MultipleToGraphQL provides a mock function with given fields: in
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:
type WebhookConverter ¶
WebhookConverter is an autogenerated mock type for the WebhookConverter type
func NewWebhookConverter ¶
func NewWebhookConverter(t interface { mock.TestingT Cleanup(func()) }) *WebhookConverter
NewWebhookConverter creates a new instance of WebhookConverter. 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 (*WebhookConverter) InputFromGraphQL ¶
func (_m *WebhookConverter) InputFromGraphQL(in *graphql.WebhookInput) (*model.WebhookInput, error)
InputFromGraphQL provides a mock function with given fields: in
func (*WebhookConverter) MultipleInputFromGraphQL ¶
func (_m *WebhookConverter) MultipleInputFromGraphQL(in []*graphql.WebhookInput) ([]*model.WebhookInput, error)
MultipleInputFromGraphQL provides a mock function with given fields: in
func (*WebhookConverter) MultipleToGraphQL ¶
MultipleToGraphQL provides a mock function with given fields: in
type WebhookRepository ¶
WebhookRepository is an autogenerated mock type for the WebhookRepository type
func NewWebhookRepository ¶
func NewWebhookRepository(t interface { mock.TestingT Cleanup(func()) }) *WebhookRepository
NewWebhookRepository creates a new instance of WebhookRepository. 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 (*WebhookRepository) CreateMany ¶
func (_m *WebhookRepository) CreateMany(ctx context.Context, tenant string, items []*model.Webhook) error
CreateMany provides a mock function with given fields: ctx, tenant, items
func (*WebhookRepository) ListByReferenceObjectID ¶
func (_m *WebhookRepository) ListByReferenceObjectID(ctx context.Context, tenant string, objID string, objType model.WebhookReferenceObjectType) ([]*model.Webhook, error)
ListByReferenceObjectID provides a mock function with given fields: ctx, tenant, objID, objType
type WebhookService ¶
WebhookService is an autogenerated mock type for the WebhookService type
func NewWebhookService ¶
func NewWebhookService(t interface { mock.TestingT Cleanup(func()) }) *WebhookService
NewWebhookService creates a new instance of WebhookService. 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 (*WebhookService) ListAllApplicationWebhooks ¶
func (_m *WebhookService) ListAllApplicationWebhooks(ctx context.Context, applicationTemplateID string) ([]*model.Webhook, error)
ListAllApplicationWebhooks provides a mock function with given fields: ctx, applicationTemplateID
Source Files ¶
- api_definition_converter.go
- api_definition_service.go
- application_converter.go
- application_hide_cfg_provider.go
- application_repository.go
- application_service.go
- application_template_converter.go
- application_template_service.go
- application_with_tenants_converter.go
- aspect_event_resource_service.go
- aspect_service.go
- bundle_converter.go
- bundle_service.go
- entity_converter.go
- event_definition_converter.go
- event_definition_service.go
- eventing_service.go
- formation_service.go
- integration_dependency_converter.go
- integration_dependency_service.go
- integration_system_repository.go
- label_repository.go
- label_service.go
- o_auth20_service.go
- one_time_token_service.go
- operation_converter.go
- operation_service.go
- runtime_repository.go
- runtime_service.go
- spec_service.go
- system_auth_converter.go
- system_auth_service.go
- tenant_converter.go
- uid_service.go
- webhook_converter.go
- webhook_repository.go
- webhook_service.go