alerting

package
v1.116.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlertingAlreadyEnabledError

func AlertingAlreadyEnabledError() error

func AlertingNotEnabledError

func AlertingNotEnabledError() error

func InvalidAlertError

func InvalidAlertError(alert string) error

func InvalidAlertReceiverError

func InvalidAlertReceiverError(alert, receiver string) error

func InvalidSlackURLError

func InvalidSlackURLError(underlyingError error) error

func InvalidSlackURLSchemeError

func InvalidSlackURLSchemeError() error

func MultipleAlertingConfigurationsError

func MultipleAlertingConfigurationsError() error

func NewAlertingController

func NewAlertingController() models.Controller

NewAlertingController Constructor

func UpdateReceiverSecretNotDefinedError

func UpdateReceiverSecretNotDefinedError(receiverName string) error

Types

type Handler

type Handler interface {
	GetAlertingConfig(ctx context.Context) (*alertModels.AlertingConfig, error)
	EnableAlerting(ctx context.Context) (*alertModels.AlertingConfig, error)
	DisableAlerting(ctx context.Context) (*alertModels.AlertingConfig, error)
	UpdateAlertingConfig(ctx context.Context, config alertModels.UpdateAlertingConfig) (*alertModels.AlertingConfig, error)
}

func NewApplicationHandler

func NewApplicationHandler(accounts models.Accounts, appName string) Handler

func NewEnvironmentHandler

func NewEnvironmentHandler(accounts models.Accounts, appName, envName string) Handler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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