alertmanager

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionIface added in v0.0.8

type ActionIface interface {
	Execute(webhook *models.Webhook, options map[string]string) error
}

type Receiver added in v0.0.7

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

func NewReceiver added in v0.0.7

func NewReceiver(config *[]config.Action) *Receiver

func (*Receiver) FindAction added in v0.0.8

func (r *Receiver) FindAction(action string) (ActionIface, error)

func (*Receiver) ReceiveWebhook added in v0.0.7

func (r *Receiver) ReceiveWebhook(webhook *models.Webhook) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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