Documentation ¶
Index ¶
- type AppConverter
- type ApplicationConverter
- func (_m *ApplicationConverter) CreateInputFromGraphQL(ctx context.Context, in graphql.ApplicationRegisterInput) (model.ApplicationRegisterInput, error)
- func (_m *ApplicationConverter) CreateRegisterInputJSONToGQL(in string) (graphql.ApplicationRegisterInput, error)
- func (_m *ApplicationConverter) ToGraphQL(in *model.Application) *graphql.Application
- type ApplicationRepository
- type ApplicationService
- func (_m *ApplicationService) Create(ctx context.Context, in model.ApplicationRegisterInput) (string, error)
- func (_m *ApplicationService) CreateFromTemplate(ctx context.Context, in model.ApplicationRegisterInput, appTemplateID *string, ...) (string, error)
- func (_m *ApplicationService) Get(ctx context.Context, id string) (*model.Application, error)
- type ApplicationTemplateConverter
- func (_m *ApplicationTemplateConverter) ApplicationFromTemplateInputFromGraphQL(appTemplate *model.ApplicationTemplate, ...) (model.ApplicationFromTemplateInput, error)
- func (_m *ApplicationTemplateConverter) InputFromGraphQL(in graphql.ApplicationTemplateInput) (model.ApplicationTemplateInput, error)
- func (_m *ApplicationTemplateConverter) MultipleToGraphQL(in []*model.ApplicationTemplate) ([]*graphql.ApplicationTemplate, error)
- func (_m *ApplicationTemplateConverter) ToGraphQL(in *model.ApplicationTemplate) (*graphql.ApplicationTemplate, error)
- func (_m *ApplicationTemplateConverter) UpdateInputFromGraphQL(in graphql.ApplicationTemplateUpdateInput) (model.ApplicationTemplateUpdateInput, error)
- type ApplicationTemplateRepository
- func (_m *ApplicationTemplateRepository) Create(ctx context.Context, item model.ApplicationTemplate) error
- func (_m *ApplicationTemplateRepository) Delete(ctx context.Context, id string) error
- func (_m *ApplicationTemplateRepository) Exists(ctx context.Context, id string) (bool, error)
- func (_m *ApplicationTemplateRepository) Get(ctx context.Context, id string) (*model.ApplicationTemplate, error)
- func (_m *ApplicationTemplateRepository) GetByFilters(ctx context.Context, filter []*labelfilter.LabelFilter) (*model.ApplicationTemplate, error)
- func (_m *ApplicationTemplateRepository) List(ctx context.Context, filter []*labelfilter.LabelFilter, pageSize int, ...) (model.ApplicationTemplatePage, error)
- func (_m *ApplicationTemplateRepository) ListByFilters(ctx context.Context, filter []*labelfilter.LabelFilter) ([]*model.ApplicationTemplate, error)
- func (_m *ApplicationTemplateRepository) ListByName(ctx context.Context, id string) ([]*model.ApplicationTemplate, error)
- func (_m *ApplicationTemplateRepository) Update(ctx context.Context, _a1 model.ApplicationTemplate) error
- type ApplicationTemplateService
- func (_m *ApplicationTemplateService) Create(ctx context.Context, in model.ApplicationTemplateInput) (string, error)
- func (_m *ApplicationTemplateService) CreateWithLabels(ctx context.Context, in model.ApplicationTemplateInput, ...) (string, error)
- func (_m *ApplicationTemplateService) Delete(ctx context.Context, id string) error
- func (_m *ApplicationTemplateService) Get(ctx context.Context, id string) (*model.ApplicationTemplate, error)
- func (_m *ApplicationTemplateService) GetByFilters(ctx context.Context, filter []*labelfilter.LabelFilter) (*model.ApplicationTemplate, error)
- func (_m *ApplicationTemplateService) GetByNameAndRegion(ctx context.Context, name string, region interface{}) (*model.ApplicationTemplate, error)
- func (_m *ApplicationTemplateService) GetLabel(ctx context.Context, appTemplateID string, key string) (*model.Label, error)
- func (_m *ApplicationTemplateService) List(ctx context.Context, filter []*labelfilter.LabelFilter, pageSize int, ...) (model.ApplicationTemplatePage, error)
- func (_m *ApplicationTemplateService) ListByFilters(ctx context.Context, filter []*labelfilter.LabelFilter) ([]*model.ApplicationTemplate, error)
- func (_m *ApplicationTemplateService) ListByName(ctx context.Context, name string) ([]*model.ApplicationTemplate, error)
- func (_m *ApplicationTemplateService) ListLabels(ctx context.Context, appTemplateID string) (map[string]*model.Label, error)
- func (_m *ApplicationTemplateService) PrepareApplicationCreateInputJSON(appTemplate *model.ApplicationTemplate, ...) (string, error)
- func (_m *ApplicationTemplateService) Update(ctx context.Context, id string, override bool, ...) error
- type CertSubjectMappingService
- func (_m *CertSubjectMappingService) Create(ctx context.Context, item *model.CertSubjectMapping) (string, error)
- func (_m *CertSubjectMappingService) DeleteByConsumerID(ctx context.Context, consumerID string) error
- func (_m *CertSubjectMappingService) ListAll(ctx context.Context) ([]*model.CertSubjectMapping, error)
- type EntityConverter
- type LabelRepository
- type LabelService
- type LabelUpsertService
- type SelfRegisterManager
- func (_m *SelfRegisterManager) CleanupSelfRegistration(ctx context.Context, selfRegisterLabelValue string, region string) error
- func (_m *SelfRegisterManager) GetSelfRegDistinguishingLabelKey() string
- func (_m *SelfRegisterManager) IsSelfRegistrationFlow(ctx context.Context, labels map[string]interface{}) (bool, error)
- func (_m *SelfRegisterManager) PrepareForSelfRegistration(ctx context.Context, resourceType resource.Type, labels map[string]interface{}, ...) (map[string]interface{}, error)
- type TimeService
- type UIDService
- type WebhookConverter
- type WebhookRepository
- type WebhookService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConverter ¶
AppConverter is an autogenerated mock type for the AppConverter type
func NewAppConverter ¶
func NewAppConverter(t interface { mock.TestingT Cleanup(func()) }) *AppConverter
NewAppConverter creates a new instance of AppConverter. 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 (*AppConverter) CreateJSONInputGQLToJSON ¶
func (_m *AppConverter) CreateJSONInputGQLToJSON(in *graphql.ApplicationJSONInput) (string, error)
CreateJSONInputGQLToJSON provides a mock function with given fields: in
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) CreateRegisterInputJSONToGQL ¶
func (_m *ApplicationConverter) CreateRegisterInputJSONToGQL(in string) (graphql.ApplicationRegisterInput, error)
CreateRegisterInputJSONToGQL 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
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) ListAllByApplicationTemplateID ¶
func (_m *ApplicationRepository) ListAllByApplicationTemplateID(ctx context.Context, applicationTemplateID string) ([]*model.Application, error)
ListAllByApplicationTemplateID provides a mock function with given fields: ctx, applicationTemplateID
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) CreateFromTemplate ¶
func (_m *ApplicationService) CreateFromTemplate(ctx context.Context, in model.ApplicationRegisterInput, appTemplateID *string, systemFieldDiscoveryLabelIsTrue bool) (string, error)
CreateFromTemplate provides a mock function with given fields: ctx, in, appTemplateID, systemFieldDiscoveryLabelIsTrue
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
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) ApplicationFromTemplateInputFromGraphQL ¶
func (_m *ApplicationTemplateConverter) ApplicationFromTemplateInputFromGraphQL(appTemplate *model.ApplicationTemplate, in graphql.ApplicationFromTemplateInput) (model.ApplicationFromTemplateInput, error)
ApplicationFromTemplateInputFromGraphQL provides a mock function with given fields: appTemplate, in
func (*ApplicationTemplateConverter) InputFromGraphQL ¶
func (_m *ApplicationTemplateConverter) InputFromGraphQL(in graphql.ApplicationTemplateInput) (model.ApplicationTemplateInput, error)
InputFromGraphQL provides a mock function with given fields: in
func (*ApplicationTemplateConverter) MultipleToGraphQL ¶
func (_m *ApplicationTemplateConverter) MultipleToGraphQL(in []*model.ApplicationTemplate) ([]*graphql.ApplicationTemplate, error)
MultipleToGraphQL provides a mock function with given fields: in
func (*ApplicationTemplateConverter) ToGraphQL ¶
func (_m *ApplicationTemplateConverter) ToGraphQL(in *model.ApplicationTemplate) (*graphql.ApplicationTemplate, error)
ToGraphQL provides a mock function with given fields: in
func (*ApplicationTemplateConverter) UpdateInputFromGraphQL ¶
func (_m *ApplicationTemplateConverter) UpdateInputFromGraphQL(in graphql.ApplicationTemplateUpdateInput) (model.ApplicationTemplateUpdateInput, error)
UpdateInputFromGraphQL provides a mock function with given fields: in
type ApplicationTemplateRepository ¶
ApplicationTemplateRepository is an autogenerated mock type for the ApplicationTemplateRepository type
func NewApplicationTemplateRepository ¶
func NewApplicationTemplateRepository(t interface { mock.TestingT Cleanup(func()) }) *ApplicationTemplateRepository
NewApplicationTemplateRepository creates a new instance of ApplicationTemplateRepository. 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 (*ApplicationTemplateRepository) Create ¶
func (_m *ApplicationTemplateRepository) Create(ctx context.Context, item model.ApplicationTemplate) error
Create provides a mock function with given fields: ctx, item
func (*ApplicationTemplateRepository) Delete ¶
func (_m *ApplicationTemplateRepository) Delete(ctx context.Context, id string) error
Delete provides a mock function with given fields: ctx, id
func (*ApplicationTemplateRepository) Exists ¶
Exists provides a mock function with given fields: ctx, id
func (*ApplicationTemplateRepository) Get ¶
func (_m *ApplicationTemplateRepository) Get(ctx context.Context, id string) (*model.ApplicationTemplate, error)
Get provides a mock function with given fields: ctx, id
func (*ApplicationTemplateRepository) GetByFilters ¶
func (_m *ApplicationTemplateRepository) GetByFilters(ctx context.Context, filter []*labelfilter.LabelFilter) (*model.ApplicationTemplate, error)
GetByFilters provides a mock function with given fields: ctx, filter
func (*ApplicationTemplateRepository) List ¶
func (_m *ApplicationTemplateRepository) List(ctx context.Context, filter []*labelfilter.LabelFilter, pageSize int, cursor string) (model.ApplicationTemplatePage, error)
List provides a mock function with given fields: ctx, filter, pageSize, cursor
func (*ApplicationTemplateRepository) ListByFilters ¶
func (_m *ApplicationTemplateRepository) ListByFilters(ctx context.Context, filter []*labelfilter.LabelFilter) ([]*model.ApplicationTemplate, error)
ListByFilters provides a mock function with given fields: ctx, filter
func (*ApplicationTemplateRepository) ListByName ¶
func (_m *ApplicationTemplateRepository) ListByName(ctx context.Context, id string) ([]*model.ApplicationTemplate, error)
ListByName provides a mock function with given fields: ctx, id
func (*ApplicationTemplateRepository) Update ¶
func (_m *ApplicationTemplateRepository) Update(ctx context.Context, _a1 model.ApplicationTemplate) error
Update provides a mock function with given fields: ctx, _a1
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) Create ¶
func (_m *ApplicationTemplateService) Create(ctx context.Context, in model.ApplicationTemplateInput) (string, error)
Create provides a mock function with given fields: ctx, in
func (*ApplicationTemplateService) CreateWithLabels ¶
func (_m *ApplicationTemplateService) CreateWithLabels(ctx context.Context, in model.ApplicationTemplateInput, labels map[string]interface{}) (string, error)
CreateWithLabels provides a mock function with given fields: ctx, in, labels
func (*ApplicationTemplateService) Delete ¶
func (_m *ApplicationTemplateService) Delete(ctx context.Context, id string) error
Delete provides a mock function with given fields: ctx, id
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
func (*ApplicationTemplateService) GetByNameAndRegion ¶
func (_m *ApplicationTemplateService) GetByNameAndRegion(ctx context.Context, name string, region interface{}) (*model.ApplicationTemplate, error)
GetByNameAndRegion provides a mock function with given fields: ctx, name, region
func (*ApplicationTemplateService) GetLabel ¶
func (_m *ApplicationTemplateService) GetLabel(ctx context.Context, appTemplateID string, key string) (*model.Label, error)
GetLabel provides a mock function with given fields: ctx, appTemplateID, key
func (*ApplicationTemplateService) List ¶
func (_m *ApplicationTemplateService) List(ctx context.Context, filter []*labelfilter.LabelFilter, pageSize int, cursor string) (model.ApplicationTemplatePage, error)
List provides a mock function with given fields: ctx, filter, pageSize, cursor
func (*ApplicationTemplateService) ListByFilters ¶
func (_m *ApplicationTemplateService) ListByFilters(ctx context.Context, filter []*labelfilter.LabelFilter) ([]*model.ApplicationTemplate, error)
ListByFilters provides a mock function with given fields: ctx, filter
func (*ApplicationTemplateService) ListByName ¶
func (_m *ApplicationTemplateService) ListByName(ctx context.Context, name string) ([]*model.ApplicationTemplate, error)
ListByName provides a mock function with given fields: ctx, name
func (*ApplicationTemplateService) ListLabels ¶
func (_m *ApplicationTemplateService) ListLabels(ctx context.Context, appTemplateID string) (map[string]*model.Label, error)
ListLabels provides a mock function with given fields: ctx, appTemplateID
func (*ApplicationTemplateService) PrepareApplicationCreateInputJSON ¶
func (_m *ApplicationTemplateService) PrepareApplicationCreateInputJSON(appTemplate *model.ApplicationTemplate, values model.ApplicationFromTemplateInputValues) (string, error)
PrepareApplicationCreateInputJSON provides a mock function with given fields: appTemplate, values
func (*ApplicationTemplateService) Update ¶
func (_m *ApplicationTemplateService) Update(ctx context.Context, id string, override bool, in model.ApplicationTemplateUpdateInput) error
Update provides a mock function with given fields: ctx, id, override, in
type CertSubjectMappingService ¶
CertSubjectMappingService is an autogenerated mock type for the CertSubjectMappingService type
func NewCertSubjectMappingService ¶
func NewCertSubjectMappingService(t interface { mock.TestingT Cleanup(func()) }) *CertSubjectMappingService
NewCertSubjectMappingService creates a new instance of CertSubjectMappingService. 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 (*CertSubjectMappingService) Create ¶
func (_m *CertSubjectMappingService) Create(ctx context.Context, item *model.CertSubjectMapping) (string, error)
Create provides a mock function with given fields: ctx, item
func (*CertSubjectMappingService) DeleteByConsumerID ¶
func (_m *CertSubjectMappingService) DeleteByConsumerID(ctx context.Context, consumerID string) error
DeleteByConsumerID provides a mock function with given fields: ctx, consumerID
func (*CertSubjectMappingService) ListAll ¶
func (_m *CertSubjectMappingService) ListAll(ctx context.Context) ([]*model.CertSubjectMapping, error)
ListAll provides a mock function with given fields: ctx
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 *apptemplate.Entity) (*model.ApplicationTemplate, error)
FromEntity provides a mock function with given fields: entity
func (*EntityConverter) ToEntity ¶
func (_m *EntityConverter) ToEntity(in *model.ApplicationTemplate) (*apptemplate.Entity, error)
ToEntity provides a mock function with given fields: in
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) 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) ListForGlobalObject ¶
func (_m *LabelRepository) ListForGlobalObject(ctx context.Context, objectType model.LabelableObject, objectID string) (map[string]*model.Label, error)
ListForGlobalObject provides a mock function with given fields: ctx, objectType, objectID
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.
type LabelUpsertService ¶
LabelUpsertService is an autogenerated mock type for the LabelUpsertService type
func NewLabelUpsertService ¶
func NewLabelUpsertService(t interface { mock.TestingT Cleanup(func()) }) *LabelUpsertService
NewLabelUpsertService creates a new instance of LabelUpsertService. 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 (*LabelUpsertService) UpsertLabelGlobal ¶
func (_m *LabelUpsertService) UpsertLabelGlobal(ctx context.Context, labelInput *model.LabelInput) error
UpsertLabelGlobal provides a mock function with given fields: ctx, labelInput
func (*LabelUpsertService) UpsertMultipleLabels ¶
func (_m *LabelUpsertService) 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 SelfRegisterManager ¶
SelfRegisterManager is an autogenerated mock type for the SelfRegisterManager type
func NewSelfRegisterManager ¶
func NewSelfRegisterManager(t interface { mock.TestingT Cleanup(func()) }) *SelfRegisterManager
NewSelfRegisterManager creates a new instance of SelfRegisterManager. 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 (*SelfRegisterManager) CleanupSelfRegistration ¶
func (_m *SelfRegisterManager) CleanupSelfRegistration(ctx context.Context, selfRegisterLabelValue string, region string) error
CleanupSelfRegistration provides a mock function with given fields: ctx, selfRegisterLabelValue, region
func (*SelfRegisterManager) GetSelfRegDistinguishingLabelKey ¶
func (_m *SelfRegisterManager) GetSelfRegDistinguishingLabelKey() string
GetSelfRegDistinguishingLabelKey provides a mock function with given fields:
func (*SelfRegisterManager) IsSelfRegistrationFlow ¶
func (_m *SelfRegisterManager) IsSelfRegistrationFlow(ctx context.Context, labels map[string]interface{}) (bool, error)
IsSelfRegistrationFlow provides a mock function with given fields: ctx, labels
func (*SelfRegisterManager) PrepareForSelfRegistration ¶
func (_m *SelfRegisterManager) PrepareForSelfRegistration(ctx context.Context, resourceType resource.Type, labels map[string]interface{}, id string, validate func() error) (map[string]interface{}, error)
PrepareForSelfRegistration provides a mock function with given fields: ctx, resourceType, labels, id, validate
type TimeService ¶
TimeService is an autogenerated mock type for the TimeService type
func NewTimeService ¶
func NewTimeService(t interface { mock.TestingT Cleanup(func()) }) *TimeService
NewTimeService creates a new instance of TimeService. 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 (*TimeService) Now ¶
func (_m *TimeService) Now() time.Time
Now provides a mock function with given fields:
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) 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) DeleteAllByApplicationTemplateID ¶
func (_m *WebhookRepository) DeleteAllByApplicationTemplateID(ctx context.Context, applicationTemplateID string) error
DeleteAllByApplicationTemplateID provides a mock function with given fields: ctx, applicationTemplateID
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) EnrichWebhooksWithTenantMappingWebhooks ¶
func (_m *WebhookService) EnrichWebhooksWithTenantMappingWebhooks(in []*graphql.WebhookInput) ([]*graphql.WebhookInput, error)
EnrichWebhooksWithTenantMappingWebhooks provides a mock function with given fields: in
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
Source Files ¶
- app_converter.go
- application_converter.go
- application_repository.go
- application_service.go
- application_template_converter.go
- application_template_repository.go
- application_template_service.go
- cert_subject_mapping_service.go
- entity_converter.go
- label_repository.go
- label_service.go
- label_upsert_service.go
- self_register_manager.go
- time_service.go
- uid_service.go
- webhook_converter.go
- webhook_repository.go
- webhook_service.go