notify

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 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 added in v1.9.9

func SendErrorMessage(sender, title, requestID string, err error, log *zap.SugaredLogger)

func SendFailedTaskMessage added in v1.9.9

func SendFailedTaskMessage(username, productName, name, requestID string, workflowType config.PipelineType, err error, log *zap.SugaredLogger)

func SendMessage added in v1.9.9

func SendMessage(sender, title, content, requestID string, log *zap.SugaredLogger)

Types

type WorkflowTaskImage added in v1.8.0

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