slack

package
v0.1.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package slack implements the slack alerter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alerter

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

Alerter sends an alert for test status.

func (*Alerter) Alert

func (a *Alerter) Alert(ctx context.Context, metrics []checker.Metric, amap map[string]alerter.Alert) error

Alert sends the notification on slack.

func (*Alerter) Provision

func (a *Alerter) Provision(ctx *appcontext.Context, _ alerter.Provider) error

Provision initializes required fields for a's execution.

Jump to

Keyboard shortcuts

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