Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 CdApplicationStatusUpdateHandler interface { HelmApplicationStatusUpdate() ArgoApplicationStatusUpdate() }
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) *CdApplicationStatusUpdateHandlerImpl
func (*CdApplicationStatusUpdateHandlerImpl) ArgoApplicationStatusUpdate ¶ added in v0.5.1
func (impl *CdApplicationStatusUpdateHandlerImpl) ArgoApplicationStatusUpdate()
func (*CdApplicationStatusUpdateHandlerImpl) HelmApplicationStatusUpdate ¶ added in v0.5.1
func (impl *CdApplicationStatusUpdateHandlerImpl) HelmApplicationStatusUpdate()
Click to show internal directories.
Click to hide internal directories.