alerts

package
v0.0.0-...-03d9887 Latest Latest
Warning

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

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

Documentation

Overview

Package alerts provides set of API to send system and services alerts

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alerts

type Alerts struct {
	// contains filtered or unexported fields
}

Alerts instance.

func New

func New() (instance *Alerts, err error)

New creates new alerts object.

func (*Alerts) GetAlertsChannel

func (instance *Alerts) GetAlertsChannel() (channel <-chan interface{})

GetAlertsChannel returns channel with alerts to be sent.

func (*Alerts) SendAlert

func (instance *Alerts) SendAlert(alert interface{})

SendResourceAlert sends resource alert.

Jump to

Keyboard shortcuts

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