Documentation ¶
Index ¶
- func GetEmailer(config runtimeInterfaces.NotificationsConfig, scope promutils.Scope) interfaces.Emailer
- func NewEventsPublisher(config runtimeInterfaces.ExternalEventsConfig, scope promutils.Scope) interfaces.Publisher
- func NewNotificationsProcessor(config runtimeInterfaces.NotificationsConfig, scope promutils.Scope) interfaces.Processor
- func NewNotificationsPublisher(config runtimeInterfaces.NotificationsConfig, scope promutils.Scope) interfaces.Publisher
- func ToEmailMessageFromWorkflowExecutionEvent(config runtimeInterfaces.NotificationsConfig, ...) *admin.EmailMessage
- type EmailerConfig
- type GetTemplateValue
- type ProcessorConfig
- type PublisherConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEmailer ¶
func GetEmailer(config runtimeInterfaces.NotificationsConfig, scope promutils.Scope) interfaces.Emailer
func NewEventsPublisher ¶ added in v0.3.34
func NewEventsPublisher(config runtimeInterfaces.ExternalEventsConfig, scope promutils.Scope) interfaces.Publisher
func NewNotificationsProcessor ¶
func NewNotificationsProcessor(config runtimeInterfaces.NotificationsConfig, scope promutils.Scope) interfaces.Processor
func NewNotificationsPublisher ¶
func NewNotificationsPublisher(config runtimeInterfaces.NotificationsConfig, scope promutils.Scope) interfaces.Publisher
func ToEmailMessageFromWorkflowExecutionEvent ¶
func ToEmailMessageFromWorkflowExecutionEvent( config runtimeInterfaces.NotificationsConfig, emailNotification admin.EmailNotification, request admin.WorkflowExecutionEventRequest, execution *admin.Execution) *admin.EmailMessage
Converts a terminal execution event and existing execution model to an admin.EmailMessage proto, substituting parameters in customizable email fields set in the flyteadmin application notifications config.
Types ¶
type EmailerConfig ¶
type GetTemplateValue ¶ added in v0.1.4
type GetTemplateValue func(admin.WorkflowExecutionEventRequest, *admin.Execution) string
type ProcessorConfig ¶
type PublisherConfig ¶
type PublisherConfig struct {
TopicName string
}
Click to show internal directories.
Click to hide internal directories.