Documentation ¶
Index ¶
- type ApplicationRepository
- type ApplicationService
- type ApplicationTemplateService
- type AuthConverter
- type EntityConverter
- type FormationTemplateService
- type RuntimeService
- type TenantService
- 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
- func (_m *WebhookRepository) Create(ctx context.Context, tenant string, item *model.Webhook) error
- func (_m *WebhookRepository) Delete(ctx context.Context, id string) error
- func (_m *WebhookRepository) GetByID(ctx context.Context, tenant string, id string, ...) (*model.Webhook, error)
- func (_m *WebhookRepository) GetByIDAndWebhookTypeGlobal(ctx context.Context, objectID string, ...) (*model.Webhook, error)
- func (_m *WebhookRepository) GetByIDGlobal(ctx context.Context, id string) (*model.Webhook, error)
- func (_m *WebhookRepository) ListByApplicationTemplateID(ctx context.Context, applicationTemplateID string) ([]*model.Webhook, error)
- func (_m *WebhookRepository) ListByReferenceObjectID(ctx context.Context, tenant string, objID string, ...) ([]*model.Webhook, error)
- func (_m *WebhookRepository) ListByReferenceObjectIDGlobal(ctx context.Context, objID string, objType model.WebhookReferenceObjectType) ([]*model.Webhook, error)
- func (_m *WebhookRepository) ListByTypeAndLabelFilter(ctx context.Context, webhookType model.WebhookType, ...) ([]*model.Webhook, error)
- func (_m *WebhookRepository) ListByWebhookType(ctx context.Context, webhookType model.WebhookType) ([]*model.Webhook, error)
- func (_m *WebhookRepository) Update(ctx context.Context, tenant string, item *model.Webhook) error
- type WebhookService
- func (_m *WebhookService) Create(ctx context.Context, resourceID string, in model.WebhookInput, ...) (string, error)
- func (_m *WebhookService) Delete(ctx context.Context, id string, objectType model.WebhookReferenceObjectType) error
- func (_m *WebhookService) EnrichWebhooksWithTenantMappingWebhooks(in []*graphql.WebhookInput) ([]*graphql.WebhookInput, error)
- func (_m *WebhookService) Get(ctx context.Context, id string, objectType model.WebhookReferenceObjectType) (*model.Webhook, error)
- func (_m *WebhookService) GetByIDAndWebhookTypeGlobal(ctx context.Context, objectID string, ...) (*model.Webhook, error)
- func (_m *WebhookService) ListAllApplicationWebhooks(ctx context.Context, applicationID string) ([]*model.Webhook, error)
- func (_m *WebhookService) ListByWebhookType(ctx context.Context, webhookType model.WebhookType) ([]*model.Webhook, error)
- func (_m *WebhookService) ListForApplication(ctx context.Context, applicationID string) ([]*model.Webhook, error)
- func (_m *WebhookService) ListForApplicationGlobal(ctx context.Context, applicationID string) ([]*model.Webhook, error)
- func (_m *WebhookService) ListForApplicationTemplate(ctx context.Context, applicationTemplateID string) ([]*model.Webhook, error)
- func (_m *WebhookService) ListForRuntime(ctx context.Context, runtimeID string) ([]*model.Webhook, error)
- func (_m *WebhookService) Update(ctx context.Context, id string, in model.WebhookInput, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) GetGlobalByID ¶
func (_m *ApplicationRepository) GetGlobalByID(ctx context.Context, id string) (*model.Application, error)
GetGlobalByID provides a mock function with given fields: ctx, id
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.
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.
type AuthConverter ¶
AuthConverter is an autogenerated mock type for the AuthConverter type
func NewAuthConverter ¶
func NewAuthConverter(t interface { mock.TestingT Cleanup(func()) }) *AuthConverter
NewAuthConverter creates a new instance of AuthConverter. 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 (*AuthConverter) InputFromGraphQL ¶
InputFromGraphQL provides a mock function with given fields: in
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 ¶
FromEntity provides a mock function with given fields: in
type FormationTemplateService ¶
FormationTemplateService is an autogenerated mock type for the formationTemplateService type
func NewFormationTemplateService ¶
func NewFormationTemplateService(t interface { mock.TestingT Cleanup(func()) }) *FormationTemplateService
NewFormationTemplateService creates a new instance of FormationTemplateService. 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 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.
type TenantService ¶
TenantService is an autogenerated mock type for the TenantService type
func NewTenantService ¶
func NewTenantService(t interface { mock.TestingT Cleanup(func()) }) *TenantService
NewTenantService creates a new instance of TenantService. 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 (*TenantService) ExtractTenantIDForTenantScopedFormationTemplates ¶
func (_m *TenantService) ExtractTenantIDForTenantScopedFormationTemplates(ctx context.Context) (string, error)
ExtractTenantIDForTenantScopedFormationTemplates provides a mock function with given fields: ctx
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) Create ¶
Create provides a mock function with given fields: ctx, tenant, item
func (*WebhookRepository) Delete ¶
func (_m *WebhookRepository) Delete(ctx context.Context, id string) error
Delete provides a mock function with given fields: ctx, id
func (*WebhookRepository) GetByID ¶
func (_m *WebhookRepository) GetByID(ctx context.Context, tenant string, id string, objectType model.WebhookReferenceObjectType) (*model.Webhook, error)
GetByID provides a mock function with given fields: ctx, tenant, id, objectType
func (*WebhookRepository) GetByIDAndWebhookTypeGlobal ¶
func (_m *WebhookRepository) GetByIDAndWebhookTypeGlobal(ctx context.Context, objectID string, objectType model.WebhookReferenceObjectType, webhookType model.WebhookType) (*model.Webhook, error)
GetByIDAndWebhookTypeGlobal provides a mock function with given fields: ctx, objectID, objectType, webhookType
func (*WebhookRepository) GetByIDGlobal ¶
GetByIDGlobal provides a mock function with given fields: ctx, id
func (*WebhookRepository) ListByApplicationTemplateID ¶
func (_m *WebhookRepository) ListByApplicationTemplateID(ctx context.Context, applicationTemplateID string) ([]*model.Webhook, error)
ListByApplicationTemplateID provides a mock function with given fields: ctx, applicationTemplateID
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
func (*WebhookRepository) ListByReferenceObjectIDGlobal ¶
func (_m *WebhookRepository) ListByReferenceObjectIDGlobal(ctx context.Context, objID string, objType model.WebhookReferenceObjectType) ([]*model.Webhook, error)
ListByReferenceObjectIDGlobal provides a mock function with given fields: ctx, objID, objType
func (*WebhookRepository) ListByTypeAndLabelFilter ¶
func (_m *WebhookRepository) ListByTypeAndLabelFilter(ctx context.Context, webhookType model.WebhookType, filter []*labelfilter.LabelFilter) ([]*model.Webhook, error)
ListByTypeAndLabelFilter provides a mock function with given fields: ctx, webhookType, filter
func (*WebhookRepository) ListByWebhookType ¶
func (_m *WebhookRepository) ListByWebhookType(ctx context.Context, webhookType model.WebhookType) ([]*model.Webhook, error)
ListByWebhookType provides a mock function with given fields: ctx, webhookType
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) Create ¶
func (_m *WebhookService) Create(ctx context.Context, resourceID string, in model.WebhookInput, objectType model.WebhookReferenceObjectType) (string, error)
Create provides a mock function with given fields: ctx, resourceID, in, objectType
func (*WebhookService) Delete ¶
func (_m *WebhookService) Delete(ctx context.Context, id string, objectType model.WebhookReferenceObjectType) error
Delete provides a mock function with given fields: ctx, id, objectType
func (*WebhookService) EnrichWebhooksWithTenantMappingWebhooks ¶
func (_m *WebhookService) EnrichWebhooksWithTenantMappingWebhooks(in []*graphql.WebhookInput) ([]*graphql.WebhookInput, error)
EnrichWebhooksWithTenantMappingWebhooks provides a mock function with given fields: in
func (*WebhookService) Get ¶
func (_m *WebhookService) Get(ctx context.Context, id string, objectType model.WebhookReferenceObjectType) (*model.Webhook, error)
Get provides a mock function with given fields: ctx, id, objectType
func (*WebhookService) GetByIDAndWebhookTypeGlobal ¶
func (_m *WebhookService) GetByIDAndWebhookTypeGlobal(ctx context.Context, objectID string, objectType model.WebhookReferenceObjectType, webhookType model.WebhookType) (*model.Webhook, error)
GetByIDAndWebhookTypeGlobal provides a mock function with given fields: ctx, objectID, objectType, webhookType
func (*WebhookService) ListAllApplicationWebhooks ¶
func (_m *WebhookService) ListAllApplicationWebhooks(ctx context.Context, applicationID string) ([]*model.Webhook, error)
ListAllApplicationWebhooks provides a mock function with given fields: ctx, applicationID
func (*WebhookService) ListByWebhookType ¶
func (_m *WebhookService) ListByWebhookType(ctx context.Context, webhookType model.WebhookType) ([]*model.Webhook, error)
ListByWebhookType provides a mock function with given fields: ctx, webhookType
func (*WebhookService) ListForApplication ¶
func (_m *WebhookService) ListForApplication(ctx context.Context, applicationID string) ([]*model.Webhook, error)
ListForApplication provides a mock function with given fields: ctx, applicationID
func (*WebhookService) ListForApplicationGlobal ¶
func (_m *WebhookService) ListForApplicationGlobal(ctx context.Context, applicationID string) ([]*model.Webhook, error)
ListForApplicationGlobal provides a mock function with given fields: ctx, applicationID
func (*WebhookService) ListForApplicationTemplate ¶
func (_m *WebhookService) ListForApplicationTemplate(ctx context.Context, applicationTemplateID string) ([]*model.Webhook, error)
ListForApplicationTemplate provides a mock function with given fields: ctx, applicationTemplateID
func (*WebhookService) ListForRuntime ¶
func (_m *WebhookService) ListForRuntime(ctx context.Context, runtimeID string) ([]*model.Webhook, error)
ListForRuntime provides a mock function with given fields: ctx, runtimeID
func (*WebhookService) Update ¶
func (_m *WebhookService) Update(ctx context.Context, id string, in model.WebhookInput, objectType model.WebhookReferenceObjectType) error
Update provides a mock function with given fields: ctx, id, in, objectType