Documentation ¶
Index ¶
- func NewNotifyClient() *client
- func SendErrorMessage(sender, title, requestID string, err error, log *zap.SugaredLogger)
- func SendFailedTaskMessage(username, productName, name, requestID string, ...)
- func SendMessage(sender, title, content, requestID string, log *zap.SugaredLogger)
- func SendWorkflowTaskStatusMsg(receiver string, content *models.WorkflowTaskStatusCtx, log *zap.SugaredLogger)
- type WorkflowTaskImage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNotifyClient ¶
func NewNotifyClient() *client
func SendErrorMessage ¶
func SendErrorMessage(sender, title, requestID string, err error, log *zap.SugaredLogger)
func SendFailedTaskMessage ¶
func SendFailedTaskMessage(username, productName, name, requestID string, workflowType config.PipelineType, err error, log *zap.SugaredLogger)
func SendMessage ¶
func SendMessage(sender, title, content, requestID string, log *zap.SugaredLogger)
func SendWorkflowTaskStatusMsg ¶ added in v2.3.0
func SendWorkflowTaskStatusMsg(receiver string, content *models.WorkflowTaskStatusCtx, log *zap.SugaredLogger)
Types ¶
type WorkflowTaskImage ¶
Click to show internal directories.
Click to hide internal directories.