Documentation
¶
Index ¶
- Variables
- type AppStoreAppsEventProcessorImpl
- type CDPipelineEventProcessorImpl
- type CIPipelineEventProcessorImpl
- type DeployedApplicationEventProcessorImpl
- type WorkflowEventProcessorImpl
- func (impl *WorkflowEventProcessorImpl) BuildCiArtifactRequest(event bean.CiCompleteEvent) (*wrokflowDagBean.CiArtifactWebhookRequest, error)
- func (impl *WorkflowEventProcessorImpl) ProcessConcurrentAsyncDeploymentReq(ctx context.Context, cdAsyncInstallReq *bean.UserDeploymentRequest) error
- func (impl *WorkflowEventProcessorImpl) ProcessIncompleteDeploymentReq()
- func (impl *WorkflowEventProcessorImpl) RemoveReleaseContextForPipeline(pipelineId int, triggeredBy int32)
- func (impl *WorkflowEventProcessorImpl) ShutDownDevtronAppReleaseContext()
- func (impl *WorkflowEventProcessorImpl) SubscribeCDPipelineDeleteEvent() error
- func (impl *WorkflowEventProcessorImpl) SubscribeCDStageCompleteEvent() error
- func (impl *WorkflowEventProcessorImpl) SubscribeCDWorkflowStatusUpdate() error
- func (impl *WorkflowEventProcessorImpl) SubscribeCICompleteEvent() error
- func (impl *WorkflowEventProcessorImpl) SubscribeCIWorkflowStatusUpdate() error
- func (impl *WorkflowEventProcessorImpl) SubscribeDevtronAsyncInstallRequest() error
- func (impl *WorkflowEventProcessorImpl) SubscribeHibernateBulkAction() error
- func (impl *WorkflowEventProcessorImpl) SubscribeTriggerBulkAction() error
- func (impl *WorkflowEventProcessorImpl) UpdateReleaseContextForPipeline(ctx context.Context, pipelineId, cdWfrId int, ...)
- func (impl *WorkflowEventProcessorImpl) ValidateAndHandleCiSuccessEvent(triggerContext triggerBean.TriggerContext, ciPipelineId int, ...) (int, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type AppStoreAppsEventProcessorImpl ¶ added in v0.7.0
type AppStoreAppsEventProcessorImpl struct {
// contains filtered or unexported fields
}
func NewAppStoreAppsEventProcessorImpl ¶ added in v0.7.0
func NewAppStoreAppsEventProcessorImpl(logger *zap.SugaredLogger, pubSubClient *pubsub.PubSubClientServiceImpl, chartGroupService chartGroup.ChartGroupService, iavHistoryRepository repository.InstalledAppVersionHistoryRepository) *AppStoreAppsEventProcessorImpl
func (*AppStoreAppsEventProcessorImpl) SubscribeAppStoreAppsBulkDeployEvent ¶ added in v0.7.0
func (impl *AppStoreAppsEventProcessorImpl) SubscribeAppStoreAppsBulkDeployEvent() error
func (*AppStoreAppsEventProcessorImpl) SubscribeHelmInstallStatusEvent ¶ added in v0.7.0
func (impl *AppStoreAppsEventProcessorImpl) SubscribeHelmInstallStatusEvent() error
type CDPipelineEventProcessorImpl ¶ added in v0.7.0
type CDPipelineEventProcessorImpl struct {
// contains filtered or unexported fields
}
func NewCDPipelineEventProcessorImpl ¶ added in v0.7.0
func NewCDPipelineEventProcessorImpl(logger *zap.SugaredLogger, pubSubClient *pubsub.PubSubClientServiceImpl, cdWorkflowCommonService cd.CdWorkflowCommonService, workflowStatusService status.WorkflowStatusService, cdTriggerService devtronApps.TriggerService, argoUserService argo.ArgoUserService, pipelineRepository pipelineConfig.PipelineRepository, installedAppRepository repository2.InstalledAppRepository) *CDPipelineEventProcessorImpl
func (*CDPipelineEventProcessorImpl) SubscribeArgoTypePipelineSyncEvent ¶ added in v0.7.0
func (impl *CDPipelineEventProcessorImpl) SubscribeArgoTypePipelineSyncEvent() error
func (*CDPipelineEventProcessorImpl) SubscribeCDBulkTriggerTopic ¶ added in v0.7.0
func (impl *CDPipelineEventProcessorImpl) SubscribeCDBulkTriggerTopic() error
type CIPipelineEventProcessorImpl ¶ added in v0.7.0
type CIPipelineEventProcessorImpl struct {
// contains filtered or unexported fields
}
func NewCIPipelineEventProcessorImpl ¶ added in v0.7.0
func NewCIPipelineEventProcessorImpl(logger *zap.SugaredLogger, pubSubClient *pubsub.PubSubClientServiceImpl, gitWebhookService git.GitWebhookService) *CIPipelineEventProcessorImpl
func (*CIPipelineEventProcessorImpl) SubscribeNewCIMaterialEvent ¶ added in v0.7.0
func (impl *CIPipelineEventProcessorImpl) SubscribeNewCIMaterialEvent() error
type DeployedApplicationEventProcessorImpl ¶ added in v0.7.0
type DeployedApplicationEventProcessorImpl struct {
// contains filtered or unexported fields
}
func NewDeployedApplicationEventProcessorImpl ¶ added in v0.7.0
func NewDeployedApplicationEventProcessorImpl(logger *zap.SugaredLogger, pubSubClient *pubsub.PubSubClientServiceImpl, appService app.AppService, gitOpsConfigReadService config.GitOpsConfigReadService, installedAppService FullMode.InstalledAppDBExtendedService, workflowDagExecutor dag.WorkflowDagExecutor, cdWorkflowCommonService cd.CdWorkflowCommonService, pipelineBuilder pipeline.PipelineBuilder, appStoreDeploymentService service.AppStoreDeploymentService, pipelineRepository pipelineConfig.PipelineRepository, installedAppRepository repository.InstalledAppRepository) *DeployedApplicationEventProcessorImpl
func (*DeployedApplicationEventProcessorImpl) SubscribeArgoAppDeleteStatus ¶ added in v0.7.0
func (impl *DeployedApplicationEventProcessorImpl) SubscribeArgoAppDeleteStatus() error
func (*DeployedApplicationEventProcessorImpl) SubscribeArgoAppUpdate ¶ added in v0.7.0
func (impl *DeployedApplicationEventProcessorImpl) SubscribeArgoAppUpdate() error
type WorkflowEventProcessorImpl ¶
type WorkflowEventProcessorImpl struct {
// contains filtered or unexported fields
}
func NewWorkflowEventProcessorImpl ¶
func NewWorkflowEventProcessorImpl(logger *zap.SugaredLogger, pubSubClient *pubsub.PubSubClientServiceImpl, cdWorkflowService cd.CdWorkflowService, cdWorkflowRunnerService cd.CdWorkflowRunnerService, workflowDagExecutor dag.WorkflowDagExecutor, argoUserService argo.ArgoUserService, ciHandler pipeline.CiHandler, cdHandler pipeline.CdHandler, eventFactory client.EventFactory, eventClient client.EventClient, cdTriggerService devtronApps.TriggerService, deployedAppService deployedApp.DeployedAppService, webhookService pipeline.WebhookService, validator *validator.Validate, envVariables *globalUtil.EnvironmentVariables, cdWorkflowCommonService cd.CdWorkflowCommonService, cdPipelineConfigService pipeline.CdPipelineConfigService, userDeploymentRequestService service.UserDeploymentRequestService, pipelineRepository pipelineConfig.PipelineRepository, ciArtifactRepository repository.CiArtifactRepository, cdWorkflowRepository pipelineConfig.CdWorkflowRepository, deploymentConfigService common.DeploymentConfigService) (*WorkflowEventProcessorImpl, error)
func (*WorkflowEventProcessorImpl) BuildCiArtifactRequest ¶
func (impl *WorkflowEventProcessorImpl) BuildCiArtifactRequest(event bean.CiCompleteEvent) (*wrokflowDagBean.CiArtifactWebhookRequest, error)
func (*WorkflowEventProcessorImpl) ProcessConcurrentAsyncDeploymentReq ¶ added in v0.7.1
func (impl *WorkflowEventProcessorImpl) ProcessConcurrentAsyncDeploymentReq(ctx context.Context, cdAsyncInstallReq *bean.UserDeploymentRequest) error
func (*WorkflowEventProcessorImpl) ProcessIncompleteDeploymentReq ¶ added in v0.7.1
func (impl *WorkflowEventProcessorImpl) ProcessIncompleteDeploymentReq()
func (*WorkflowEventProcessorImpl) RemoveReleaseContextForPipeline ¶ added in v0.7.0
func (impl *WorkflowEventProcessorImpl) RemoveReleaseContextForPipeline(pipelineId int, triggeredBy int32)
func (*WorkflowEventProcessorImpl) ShutDownDevtronAppReleaseContext ¶ added in v0.7.1
func (impl *WorkflowEventProcessorImpl) ShutDownDevtronAppReleaseContext()
func (*WorkflowEventProcessorImpl) SubscribeCDPipelineDeleteEvent ¶ added in v0.7.0
func (impl *WorkflowEventProcessorImpl) SubscribeCDPipelineDeleteEvent() error
func (*WorkflowEventProcessorImpl) SubscribeCDStageCompleteEvent ¶
func (impl *WorkflowEventProcessorImpl) SubscribeCDStageCompleteEvent() error
func (*WorkflowEventProcessorImpl) SubscribeCDWorkflowStatusUpdate ¶
func (impl *WorkflowEventProcessorImpl) SubscribeCDWorkflowStatusUpdate() error
func (*WorkflowEventProcessorImpl) SubscribeCICompleteEvent ¶
func (impl *WorkflowEventProcessorImpl) SubscribeCICompleteEvent() error
func (*WorkflowEventProcessorImpl) SubscribeCIWorkflowStatusUpdate ¶
func (impl *WorkflowEventProcessorImpl) SubscribeCIWorkflowStatusUpdate() error
func (*WorkflowEventProcessorImpl) SubscribeDevtronAsyncInstallRequest ¶ added in v0.7.1
func (impl *WorkflowEventProcessorImpl) SubscribeDevtronAsyncInstallRequest() error
func (*WorkflowEventProcessorImpl) SubscribeHibernateBulkAction ¶
func (impl *WorkflowEventProcessorImpl) SubscribeHibernateBulkAction() error
func (*WorkflowEventProcessorImpl) SubscribeTriggerBulkAction ¶
func (impl *WorkflowEventProcessorImpl) SubscribeTriggerBulkAction() error
func (*WorkflowEventProcessorImpl) UpdateReleaseContextForPipeline ¶ added in v0.7.0
func (impl *WorkflowEventProcessorImpl) UpdateReleaseContextForPipeline(ctx context.Context, pipelineId, cdWfrId int, cancelWithCause context.CancelCauseFunc, cancelParentCtx context.CancelFunc)
func (*WorkflowEventProcessorImpl) ValidateAndHandleCiSuccessEvent ¶
func (impl *WorkflowEventProcessorImpl) ValidateAndHandleCiSuccessEvent(triggerContext triggerBean.TriggerContext, ciPipelineId int, request *wrokflowDagBean.CiArtifactWebhookRequest, imagePushedAt time.Time) (int, error)
Click to show internal directories.
Click to hide internal directories.