alerting

package
v0.6.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoCreate added in v0.6.0

func DoDelete added in v0.6.0

func DoDelete(
	p Provider,
	ctx context.Context,
	req *corev1.Reference,
) (*emptypb.Empty, error)

func IsNil added in v0.6.0

func IsNil(p *Provider) bool

Types

type Provider

type Provider interface {
	alertingv1alpha.AlertingClient
}

Provider alerting interface to be injected into the gateway

Should at least encapsulate all alerting plugin implementations

Directories

Path Synopsis
Building promethues / cortex alerting rules
Building promethues / cortex alerting rules
Module implements a noop alerting model, in case the alerting plugin is not loaded
Module implements a noop alerting model, in case the alerting plugin is not loaded
Shared definitions (constants & errors) for opni alerting
Shared definitions (constants & errors) for opni alerting

Jump to

Keyboard shortcuts

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