Zum Hauptinhalt springen

PipelineRegistryService

Namespace: Meshmakers.Octo.Sdk.Common.Services

Implementation of the pipeline execution service

public sealed class PipelineRegistryService : IPipelineRegistryService

Inheritance Object → PipelineRegistryService
Implements IPipelineRegistryService

Constructors​

PipelineRegistryService(ILogger<PipelineRegistryService>, IServiceProvider, IPipelineConfigurationSerializer)​

Implementation of the pipeline execution service

public PipelineRegistryService(ILogger<PipelineRegistryService> logger, IServiceProvider serviceProvider, IPipelineConfigurationSerializer pipelineConfigurationSerializer)

Parameters​

logger ILogger<PipelineRegistryService>

serviceProvider IServiceProvider

pipelineConfigurationSerializer IPipelineConfigurationSerializer

Methods​

RegisterPipelineAsync(String, PipelineConfigurationDto)​

public Task RegisterPipelineAsync(string tenantId, PipelineConfigurationDto pipelineConfiguration)

Parameters​

tenantId String

pipelineConfiguration PipelineConfigurationDto

Returns​

Task

RegisterPipelinesAsync(String, ICollection<PipelineConfigurationDto>, List<DeploymentUpdateErrorMessageDto>)​

public Task<bool> RegisterPipelinesAsync(string tenantId, ICollection<PipelineConfigurationDto> pipelineConfigurations, List<DeploymentUpdateErrorMessageDto> deploymentErrorMessages)

Parameters​

tenantId String

pipelineConfigurations ICollection<PipelineConfigurationDto>

deploymentErrorMessages List<DeploymentUpdateErrorMessageDto>

Returns​

Task<Boolean>

UnregisterPipelineAsync(String, RtEntityId)​

public Task UnregisterPipelineAsync(string tenantId, RtEntityId pipelineRtEntityId)

Parameters​

tenantId String

pipelineRtEntityId RtEntityId

Returns​

Task

UnregisterAllPipelinesAsync(String)​

public Task UnregisterAllPipelinesAsync(string tenantId)

Parameters​

tenantId String

Returns​

Task

UpdatePipelinesAsync(String, ICollection<PipelineConfigurationDto>, List<DeploymentUpdateErrorMessageDto>)​

public Task<bool> UpdatePipelinesAsync(string tenantId, ICollection<PipelineConfigurationDto> pipelineConfigurations, List<DeploymentUpdateErrorMessageDto> deploymentErrorMessages)

Parameters​

tenantId String

pipelineConfigurations ICollection<PipelineConfigurationDto>

deploymentErrorMessages List<DeploymentUpdateErrorMessageDto>

Returns​

Task<Boolean>

IsRegistered(String, RtEntityId)​

public bool IsRegistered(string tenantId, RtEntityId pipelineRtEntityId)

Parameters​

tenantId String

pipelineRtEntityId RtEntityId

Returns​

Boolean

TryGetPipelineRegistration(String, RtEntityId, out PipelineRegistration)​

public bool TryGetPipelineRegistration(string tenantId, RtEntityId pipelineRtEntityId, out PipelineRegistration pipelineRegistration)

Parameters​

tenantId String

pipelineRtEntityId RtEntityId

pipelineRegistration PipelineRegistration

Returns​

Boolean

GetRegisteredPipelines(String)​

public IEnumerable<RtEntityId> GetRegisteredPipelines(string tenantId)

Parameters​

tenantId String

Returns​

IEnumerable<RtEntityId>