proxmox/proxmox-notify
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
..
debian bump proxmox-notify to 0.2.0 2023-07-28 11:56:56 +02:00
examples notify: factor out notification content into its own type 2023-11-17 08:31:36 +01:00
src notify: add built-in config and 'origin' parameter 2023-11-17 08:31:36 +01:00
Cargo.toml notify: add 'smtp' endpoint 2023-11-17 08:31:36 +01:00