Documentation ¶
Index ¶
- func IsTerminalTimelineStatus(timeline pipelineConfig.TimelineStatus) bool
- type AppStatusConfig
- type CdApplicationStatusUpdateHandler
- type CdApplicationStatusUpdateHandlerImpl
- func (impl *CdApplicationStatusUpdateHandlerImpl) ArgoApplicationStatusUpdate()
- func (impl *CdApplicationStatusUpdateHandlerImpl) ArgoPipelineTimelineUpdate()
- func (impl *CdApplicationStatusUpdateHandlerImpl) HelmApplicationStatusUpdate()
- func (impl *CdApplicationStatusUpdateHandlerImpl) Subscribe() error
- func (impl *CdApplicationStatusUpdateHandlerImpl) SyncPipelineStatusForResourceTreeCall(acdAppName string, appId, envId int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTerminalTimelineStatus ¶ added in v0.6.4
func IsTerminalTimelineStatus(timeline pipelineConfig.TimelineStatus) bool
Types ¶
type AppStatusConfig ¶ added in v0.5.1
type AppStatusConfig struct { CdPipelineStatusCronTime string `env:"CD_PIPELINE_STATUS_CRON_TIME" envDefault:"*/2 * * * *"` PipelineDegradedTime string `env:"PIPELINE_DEGRADED_TIME" envDefault:"10"` //in minutes }
func GetAppStatusConfig ¶ added in v0.5.1
func GetAppStatusConfig() (*AppStatusConfig, error)
type CdApplicationStatusUpdateHandler ¶ added in v0.5.1
type CdApplicationStatusUpdateHandlerImpl ¶ added in v0.5.1
type CdApplicationStatusUpdateHandlerImpl struct { CdHandler pipeline.CdHandler AppStatusConfig *AppStatusConfig // contains filtered or unexported fields }
func NewCdApplicationStatusUpdateHandlerImpl ¶ added in v0.5.1
func NewCdApplicationStatusUpdateHandlerImpl(logger *zap.SugaredLogger, appService app.AppService, workflowDagExecutor pipeline.WorkflowDagExecutor, installedAppService service.InstalledAppService, CdHandler pipeline.CdHandler, AppStatusConfig *AppStatusConfig, pubsubClient *pubsub.PubSubClient, pipelineStatusTimelineRepository pipelineConfig.PipelineStatusTimelineRepository, eventClient client2.EventClient) *CdApplicationStatusUpdateHandlerImpl
func (*CdApplicationStatusUpdateHandlerImpl) ArgoApplicationStatusUpdate ¶ added in v0.5.1
func (impl *CdApplicationStatusUpdateHandlerImpl) ArgoApplicationStatusUpdate()
func (*CdApplicationStatusUpdateHandlerImpl) ArgoPipelineTimelineUpdate ¶ added in v0.6.4
func (impl *CdApplicationStatusUpdateHandlerImpl) ArgoPipelineTimelineUpdate()
func (*CdApplicationStatusUpdateHandlerImpl) HelmApplicationStatusUpdate ¶ added in v0.5.1
func (impl *CdApplicationStatusUpdateHandlerImpl) HelmApplicationStatusUpdate()
func (*CdApplicationStatusUpdateHandlerImpl) Subscribe ¶ added in v0.6.4
func (impl *CdApplicationStatusUpdateHandlerImpl) Subscribe() error
func (*CdApplicationStatusUpdateHandlerImpl) SyncPipelineStatusForResourceTreeCall ¶ added in v0.6.4
func (impl *CdApplicationStatusUpdateHandlerImpl) SyncPipelineStatusForResourceTreeCall(acdAppName string, appId, envId int) error
Click to show internal directories.
Click to hide internal directories.