Documentation ¶
Overview ¶
Package eventhandlers provides event handlers for pipeline events.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InitializationHandler ¶
type InitializationHandler struct {
// contains filtered or unexported fields
}
InitializationHandler dictates if a pipeline node requires initialization.
func NewInitializationHandler ¶
func NewInitializationHandler( logger logger.Logger, dbClient *db.Client, pipelineUpdater pipeline.Updater, pipelineTemplateStore pipelinetemplate.DataStore, pipelineArtifactStore pipeline.Store, ) *InitializationHandler
NewInitializationHandler returns an instance of InitializationHandler.
func (*InitializationHandler) RegisterHandlers ¶
func (i *InitializationHandler) RegisterHandlers()
RegisterHandlers registers any handlers with the PipelineUpdater used by the InitializationHandler.
type MetricManager ¶
type MetricManager struct {
// contains filtered or unexported fields
}
MetricManager manages metrics based on the pipeline's state.
func NewMetricManager ¶
func NewMetricManager(logger logger.Logger, dbClient *db.Client, pipelineUpdater pipeline.Updater) *MetricManager
NewMetricManager returns an instance of MetricsManager.
func (*MetricManager) RegisterHandlers ¶
func (m *MetricManager) RegisterHandlers()
RegisterHandlers registers any handlers with the PipelineUpdater used by the MetricsManager.
type ToDoItemManager ¶
type ToDoItemManager struct {
// contains filtered or unexported fields
}
ToDoItemManager manages todo items based on a pipeline's state.
func NewToDoItemManager ¶
func NewToDoItemManager(logger logger.Logger, dbClient *db.Client, pipelineUpdater pipeline.Updater, emailClient email.Client) *ToDoItemManager
NewToDoItemManager returns an instance of ToDoItemManager.
func (*ToDoItemManager) RegisterHandlers ¶
func (t *ToDoItemManager) RegisterHandlers()
RegisterHandlers registers any handlers with the PipelineUpdater used by the ToDoItemManager.