receiver

package
v1.27.2 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureCreated

func EnsureCreated(cfg alertmanagerconfig.Config, cluster metav1.Object, installation, opsgenieKey string) (alertmanagerconfig.Config, bool, error)

EnsureCreated ensure receiver exist in cfg.Receivers and is up to date. Returns true when changes have been made to cfg. Return untouched cfg and false when no changes are made.

func EnsureDeleted

func EnsureDeleted(cfg alertmanagerconfig.Config, cluster metav1.Object, installation, opsgenieKey string) (alertmanagerconfig.Config, bool, error)

EnsureDeleted ensure receiver is removed from cfg.Receivers. Returns true when changes have been made to cfg. Return untouched cfg and false when no changes are made.

Types

This section is empty.

Jump to

Keyboard shortcuts

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