Documentation ¶
Index ¶
- type APIClient
- type AppTmplService
- func (_m *AppTmplService) Create(ctx context.Context, in model.ApplicationTemplateInput) (string, error)
- func (_m *AppTmplService) GetByNameAndRegion(ctx context.Context, name string, region interface{}) (*model.ApplicationTemplate, error)
- func (_m *AppTmplService) Update(ctx context.Context, id string, override bool, ...) error
- type ApplicationConverter
- type ApplicationTemplateService
- type BusinessTenantMappingService
- func (_m *BusinessTenantMappingService) GetTenantByExternalID(ctx context.Context, id string) (*model.BusinessTenantMapping, error)
- func (_m *BusinessTenantMappingService) GetTenantByID(ctx context.Context, id string) (*model.BusinessTenantMapping, error)
- func (_m *BusinessTenantMappingService) List(ctx context.Context) ([]*model.BusinessTenantMapping, error)
- type DirectorClient
- type IntSysSvc
- type OperationMaintainer
- type OperationService
- func (_m *OperationService) CreateMultiple(ctx context.Context, in []*model.OperationInput) error
- func (_m *OperationService) DeleteMultiple(ctx context.Context, ids []string) error
- func (_m *OperationService) ListAllByType(ctx context.Context, opType model.OperationType) ([]*model.Operation, error)
- type OperationsManager
- func (_m *OperationsManager) CreateOperation(ctx context.Context, in *model.OperationInput) (string, error)
- func (_m *OperationsManager) FindOperationByData(ctx context.Context, data interface{}) (*model.Operation, error)
- func (_m *OperationsManager) RescheduleOperation(ctx context.Context, operationID string) error
- type SystemFetcherService
- type SystemsAPIClient
- type SystemsService
- func (_m *SystemsService) GetBySystemNumber(ctx context.Context, systemNumber string) (*model.Application, error)
- func (_m *SystemsService) TrustedUpsert(ctx context.Context, in model.ApplicationRegisterInput) error
- func (_m *SystemsService) TrustedUpsertFromTemplate(ctx context.Context, in model.ApplicationRegisterInput, appTemplateID *string) error
- type SystemsSyncService
- type TemplateRenderer
- type TenantService
- type WebhookService
- func (_m *WebhookService) Create(ctx context.Context, owningResourceID string, in model.WebhookInput, ...) (string, error)
- func (_m *WebhookService) Delete(ctx context.Context, id string, objectType model.WebhookReferenceObjectType) error
- func (_m *WebhookService) ListForApplicationTemplate(ctx context.Context, applicationTemplateID 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 APIClient ¶
APIClient is an autogenerated mock type for the APIClient type
func NewAPIClient ¶
NewAPIClient creates a new instance of APIClient. 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 AppTmplService ¶
AppTmplService is an autogenerated mock type for the appTmplService type
func NewAppTmplService ¶
func NewAppTmplService(t interface { mock.TestingT Cleanup(func()) }) *AppTmplService
NewAppTmplService creates a new instance of AppTmplService. 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 (*AppTmplService) Create ¶
func (_m *AppTmplService) Create(ctx context.Context, in model.ApplicationTemplateInput) (string, error)
Create provides a mock function with given fields: ctx, in
func (*AppTmplService) GetByNameAndRegion ¶
func (_m *AppTmplService) GetByNameAndRegion(ctx context.Context, name string, region interface{}) (*model.ApplicationTemplate, error)
GetByNameAndRegion provides a mock function with given fields: ctx, name, region
func (*AppTmplService) Update ¶
func (_m *AppTmplService) 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 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) CreateInputJSONToModel ¶
func (_m *ApplicationConverter) CreateInputJSONToModel(ctx context.Context, in string) (model.ApplicationRegisterInput, error)
CreateInputJSONToModel provides a mock function with given fields: ctx, 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) PrepareApplicationCreateInputJSON ¶
func (_m *ApplicationTemplateService) PrepareApplicationCreateInputJSON(appTemplate *model.ApplicationTemplate, values model.ApplicationFromTemplateInputValues) (string, error)
PrepareApplicationCreateInputJSON provides a mock function with given fields: appTemplate, values
type BusinessTenantMappingService ¶
BusinessTenantMappingService is an autogenerated mock type for the BusinessTenantMappingService type
func NewBusinessTenantMappingService ¶
func NewBusinessTenantMappingService(t interface { mock.TestingT Cleanup(func()) }) *BusinessTenantMappingService
NewBusinessTenantMappingService creates a new instance of BusinessTenantMappingService. 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 (*BusinessTenantMappingService) GetTenantByExternalID ¶
func (_m *BusinessTenantMappingService) GetTenantByExternalID(ctx context.Context, id string) (*model.BusinessTenantMapping, error)
GetTenantByExternalID provides a mock function with given fields: ctx, id
func (*BusinessTenantMappingService) GetTenantByID ¶
func (_m *BusinessTenantMappingService) GetTenantByID(ctx context.Context, id string) (*model.BusinessTenantMapping, error)
GetTenantByID provides a mock function with given fields: ctx, id
func (*BusinessTenantMappingService) List ¶
func (_m *BusinessTenantMappingService) List(ctx context.Context) ([]*model.BusinessTenantMapping, error)
List provides a mock function with given fields: ctx
type DirectorClient ¶
DirectorClient is an autogenerated mock type for the directorClient type
func NewDirectorClient ¶
func NewDirectorClient(t interface { mock.TestingT Cleanup(func()) }) *DirectorClient
NewDirectorClient creates a new instance of DirectorClient. 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 (*DirectorClient) DeleteSystemAsync ¶
DeleteSystemAsync provides a mock function with given fields: ctx, id, tenant
type IntSysSvc ¶
IntSysSvc is an autogenerated mock type for the intSysSvc type
func NewIntSysSvc ¶
NewIntSysSvc creates a new instance of IntSysSvc. 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 OperationMaintainer ¶
OperationMaintainer is an autogenerated mock type for the OperationMaintainer type
func NewOperationMaintainer ¶
func NewOperationMaintainer(t interface { mock.TestingT Cleanup(func()) }) *OperationMaintainer
NewOperationMaintainer creates a new instance of OperationMaintainer. 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 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) CreateMultiple ¶
func (_m *OperationService) CreateMultiple(ctx context.Context, in []*model.OperationInput) error
CreateMultiple provides a mock function with given fields: ctx, in
func (*OperationService) DeleteMultiple ¶
func (_m *OperationService) DeleteMultiple(ctx context.Context, ids []string) error
DeleteMultiple provides a mock function with given fields: ctx, ids
func (*OperationService) ListAllByType ¶
func (_m *OperationService) ListAllByType(ctx context.Context, opType model.OperationType) ([]*model.Operation, error)
ListAllByType provides a mock function with given fields: ctx, opType
type OperationsManager ¶
OperationsManager is an autogenerated mock type for the OperationsManager type
func NewOperationsManager ¶
func NewOperationsManager(t interface { mock.TestingT Cleanup(func()) }) *OperationsManager
NewOperationsManager creates a new instance of OperationsManager. 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 (*OperationsManager) CreateOperation ¶
func (_m *OperationsManager) CreateOperation(ctx context.Context, in *model.OperationInput) (string, error)
CreateOperation provides a mock function with given fields: ctx, in
func (*OperationsManager) FindOperationByData ¶
func (_m *OperationsManager) FindOperationByData(ctx context.Context, data interface{}) (*model.Operation, error)
FindOperationByData provides a mock function with given fields: ctx, data
func (*OperationsManager) RescheduleOperation ¶
func (_m *OperationsManager) RescheduleOperation(ctx context.Context, operationID string) error
RescheduleOperation provides a mock function with given fields: ctx, operationID
type SystemFetcherService ¶
SystemFetcherService is an autogenerated mock type for the SystemFetcherService type
func NewSystemFetcherService ¶
func NewSystemFetcherService(t interface { mock.TestingT Cleanup(func()) }) *SystemFetcherService
NewSystemFetcherService creates a new instance of SystemFetcherService. 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 (*SystemFetcherService) ProcessTenant ¶
func (_m *SystemFetcherService) ProcessTenant(ctx context.Context, tenantID string) error
ProcessTenant provides a mock function with given fields: ctx, tenantID
func (*SystemFetcherService) SetTemplateRenderer ¶
func (_m *SystemFetcherService) SetTemplateRenderer(templateRenderer systemfetcher.TemplateRenderer)
SetTemplateRenderer provides a mock function with given fields: templateRenderer
type SystemsAPIClient ¶
SystemsAPIClient is an autogenerated mock type for the systemsAPIClient type
func NewSystemsAPIClient ¶
func NewSystemsAPIClient(t interface { mock.TestingT Cleanup(func()) }) *SystemsAPIClient
NewSystemsAPIClient creates a new instance of SystemsAPIClient. 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 (*SystemsAPIClient) FetchSystemsForTenant ¶
func (_m *SystemsAPIClient) FetchSystemsForTenant(ctx context.Context, tenant *model.BusinessTenantMapping, systemSynchronizationTimestamps map[string]systemfetcher.SystemSynchronizationTimestamp) ([]systemfetcher.System, error)
FetchSystemsForTenant provides a mock function with given fields: ctx, tenant, systemSynchronizationTimestamps
type SystemsService ¶
SystemsService is an autogenerated mock type for the systemsService type
func NewSystemsService ¶
func NewSystemsService(t interface { mock.TestingT Cleanup(func()) }) *SystemsService
NewSystemsService creates a new instance of SystemsService. 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 (*SystemsService) GetBySystemNumber ¶
func (_m *SystemsService) GetBySystemNumber(ctx context.Context, systemNumber string) (*model.Application, error)
GetBySystemNumber provides a mock function with given fields: ctx, systemNumber
func (*SystemsService) TrustedUpsert ¶
func (_m *SystemsService) TrustedUpsert(ctx context.Context, in model.ApplicationRegisterInput) error
TrustedUpsert provides a mock function with given fields: ctx, in
func (*SystemsService) TrustedUpsertFromTemplate ¶
func (_m *SystemsService) TrustedUpsertFromTemplate(ctx context.Context, in model.ApplicationRegisterInput, appTemplateID *string) error
TrustedUpsertFromTemplate provides a mock function with given fields: ctx, in, appTemplateID
type SystemsSyncService ¶
SystemsSyncService is an autogenerated mock type for the SystemsSyncService type
func NewSystemsSyncService ¶
func NewSystemsSyncService(t interface { mock.TestingT Cleanup(func()) }) *SystemsSyncService
NewSystemsSyncService creates a new instance of SystemsSyncService. 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 (*SystemsSyncService) ListByTenant ¶
func (_m *SystemsSyncService) ListByTenant(ctx context.Context, tenant string) ([]*model.SystemSynchronizationTimestamp, error)
ListByTenant provides a mock function with given fields: ctx, tenant
func (*SystemsSyncService) Upsert ¶
func (_m *SystemsSyncService) Upsert(ctx context.Context, in *model.SystemSynchronizationTimestamp) error
Upsert provides a mock function with given fields: ctx, in
type TemplateRenderer ¶
TemplateRenderer is an autogenerated mock type for the TemplateRenderer type
func NewTemplateRenderer ¶
func NewTemplateRenderer(t interface { mock.TestingT Cleanup(func()) }) *TemplateRenderer
NewTemplateRenderer creates a new instance of TemplateRenderer. 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 (*TemplateRenderer) ApplicationRegisterInputFromTemplate ¶
func (_m *TemplateRenderer) ApplicationRegisterInputFromTemplate(ctx context.Context, sc systemfetcher.System) (*model.ApplicationRegisterInput, error)
ApplicationRegisterInputFromTemplate provides a mock function with given fields: ctx, sc
func (*TemplateRenderer) GenerateAppRegisterInput ¶
func (_m *TemplateRenderer) GenerateAppRegisterInput(ctx context.Context, sc systemfetcher.System, appTemplate *model.ApplicationTemplate, overridePlaceholders bool) (*model.ApplicationRegisterInput, error)
GenerateAppRegisterInput provides a mock function with given fields: ctx, sc, appTemplate, overridePlaceholders
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) GetTenantByExternalID ¶
func (_m *TenantService) GetTenantByExternalID(ctx context.Context, id string) (*model.BusinessTenantMapping, error)
GetTenantByExternalID provides a mock function with given fields: ctx, id
func (*TenantService) GetTenantByID ¶
func (_m *TenantService) GetTenantByID(ctx context.Context, id string) (*model.BusinessTenantMapping, error)
GetTenantByID provides a mock function with given fields: ctx, id
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, owningResourceID string, in model.WebhookInput, objectType model.WebhookReferenceObjectType) (string, error)
Create provides a mock function with given fields: ctx, owningResourceID, 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) 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) 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
Source Files ¶
- api_client.go
- app_tmpl_service.go
- application_converter.go
- application_template_service.go
- business_tenant_mapping_service.go
- director_client.go
- int_sys_svc.go
- operation_maintainer.go
- operation_service.go
- operations_manager.go
- system_fetcher_service.go
- systems_api_client.go
- systems_service.go
- systems_sync_service.go
- template_renderer.go
- tenant_service.go
- webhook_service.go