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.
Click to show internal directories.
Click to hide internal directories.