Skip to content

@sourceloop/ctrl-plane-orchestrator-service / Exports / OrchestratorService

Class: OrchestratorService

Implements

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new OrchestratorService(handleTenantProvisioning, handleTenantDeprovisioning, handleTenantProvisioningSuccess, handleTenantProvisioningFailure, handleTenantDeployment)

Parameters

Name Type
handleTenantProvisioning TenantProvisioningHandler<{}>
handleTenantDeprovisioning TenantDeprovisioningHandler<{}>
handleTenantProvisioningSuccess TenantProvisioningSuccessHandler<{}>
handleTenantProvisioningFailure TenantProvisioningFailureHandler<{}>
handleTenantDeployment TenantDeploymentHandler<{}>

Defined in

services/orchestrator.service.ts:18

Properties

handleTenantDeployment

Private handleTenantDeployment: TenantDeploymentHandler<{}>

Defined in

services/orchestrator.service.ts:28


handleTenantDeprovisioning

Private handleTenantDeprovisioning: TenantDeprovisioningHandler<{}>

Defined in

services/orchestrator.service.ts:22


handleTenantProvisioning

Private handleTenantProvisioning: TenantProvisioningHandler<{}>

Defined in

services/orchestrator.service.ts:20


handleTenantProvisioningFailure

Private handleTenantProvisioningFailure: TenantProvisioningFailureHandler<{}>

Defined in

services/orchestrator.service.ts:26


handleTenantProvisioningSuccess

Private handleTenantProvisioningSuccess: TenantProvisioningSuccessHandler<{}>

Defined in

services/orchestrator.service.ts:24

Methods

handleEvent

handleEvent(eventType, eventBody): Promise<void>

Parameters

Name Type
eventType DefaultEventTypes
eventBody AnyObject

Returns

Promise<void>

Implementation of

OrchestratorServiceInterface.handleEvent

Defined in

services/orchestrator.service.ts:31