notification

package
v0.67.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Info    level = iota // Informational messages
	Success              // Successful operations
	Warning              // Warning messages indicating potential issues
	Failure              // Error messages indicating failure of operations
)

Variables

This section is empty.

Functions

func GetRevision added in v0.32.1

func GetRevision(reference, commitSHA string) string

func Send

func Send(level level, title, message string, metadata Metadata) error

Send sends a notification using the Apprise service based on the provided configuration and parameters.

func SetAppriseConfig

func SetAppriseConfig(apiURL, notifyUrls, notifyLevel string)

SetAppriseConfig sets the configuration for the Apprise notification service.

Types

type Metadata added in v0.32.1

type Metadata struct {
	Repository string
	Stack      string
	Revision   string
	JobID      string
}

Jump to

Keyboard shortcuts

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