Documentation
¶
Index ¶
- func AlertingAlreadyEnabledError() error
- func AlertingNotEnabledError() error
- func InvalidAlertError(alert string) error
- func InvalidAlertReceiverError(alert, receiver string) error
- func InvalidSlackURLError(underlyingError error) error
- func InvalidSlackURLSchemeError() error
- func MultipleAlertingConfigurationsError() error
- func NewAlertingController() models.Controller
- func UpdateReceiverSecretNotDefinedError(receiverName string) error
- type Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlertingAlreadyEnabledError ¶
func AlertingAlreadyEnabledError() error
func AlertingNotEnabledError ¶
func AlertingNotEnabledError() error
func InvalidAlertError ¶
func InvalidSlackURLError ¶
func InvalidSlackURLSchemeError ¶
func InvalidSlackURLSchemeError() error
func MultipleAlertingConfigurationsError ¶
func MultipleAlertingConfigurationsError() error
func NewAlertingController ¶
func NewAlertingController() models.Controller
NewAlertingController Constructor
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 ¶
Click to show internal directories.
Click to hide internal directories.