notify

package
v2.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

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

type WorkflowTaskImage struct {
	Image        string `json:"image"`
	ServiceName  string `json:"service_name"`
	RegistryRepo string `json:"registry_repo"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL