proxmox/proxmox-notify/src/api
Lukas Wagner 9bea76c6b9 notify: add built-in config and 'origin' parameter
This allows us to define a (modifiable) builtin-config, which is
at the moment hardcoded in PVEContext

The 'origin' parameter indicates whether a config entry was created by
a user, builtin or a modified builtin.

These changes require context to be set for tests, so we set
PVEContext by default if in a test context. There might be a nicer
solution for that, but for now this should work.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-11-17 08:31:36 +01:00
..
common.rs notify: replace filters and groups with matcher-based system 2023-11-17 08:31:36 +01:00
gotify.rs notify: add built-in config and 'origin' parameter 2023-11-17 08:31:36 +01:00
matcher.rs notify: add built-in config and 'origin' parameter 2023-11-17 08:31:36 +01:00
mod.rs notify: add api for smtp endpoints 2023-11-17 08:31:36 +01:00
sendmail.rs notify: add built-in config and 'origin' parameter 2023-11-17 08:31:36 +01:00
smtp.rs notify: add built-in config and 'origin' parameter 2023-11-17 08:31:36 +01:00