Help us shape the future of Go! Take the 2026 Go Developer Survey

alert

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package alert provides necessary interfaces and implementations for processing alerts.

Index

Constants

View Source
const ActionType engif.ActionType = "alert"

ActionType is the type of the alert engine

Variables

This section is empty.

Functions

func NewRuleAlert

func NewRuleAlert(
	ctx context.Context,
	ruletype *pb.RuleType,
	provider provinfv1.Provider,
	setting models.ActionOpt,
) (engif.Action, error)

NewRuleAlert creates a new rule alert engine

Types

This section is empty.

Directories

Path Synopsis
Package noop provides a fallback alert engine for cases where no alert is set.
Package noop provides a fallback alert engine for cases where no alert is set.
Package pull_request_comment provides necessary interfaces and implementations for processing pull request comment alerts.
Package pull_request_comment provides necessary interfaces and implementations for processing pull request comment alerts.
Package security_advisory provides necessary interfaces and implementations for creating alerts of type security advisory.
Package security_advisory provides necessary interfaces and implementations for creating alerts of type security advisory.

Jump to

Keyboard shortcuts

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