proxmox-backup/templates/default/gc-ok-body.txt.hbs
Lukas Wagner 7a3cbd7230 notifications: add type for GC notification template data
This commit adds a separate type for the data passed to this type of
notification template. Also we make sure that we do not expose any
non-primitive types to the template renderer, any data needed in the
template is mapped into the new dedicated template data type.

This ensures that any changes in types defined in other places do not
leak into the template rendering process by accident.
These changes are also preparation for allowing user-overrides for
notification templates.

This commit also tries to unify the style and naming of template
variables.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
Reviewed-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2025-04-02 14:42:42 +02:00

24 lines
734 B
Handlebars

Datastore: {{datastore}}
Task ID: {{upid}}
Index file count: {{index-file-count}}
Removed garbage: {{human-bytes removed-bytes}}
Removed chunks: {{removed-chunks}}
Removed bad chunks: {{removed-bad}}
Leftover bad chunks: {{still-bad}}
Pending removals: {{human-bytes pending-bytes}} (in {{pending-chunks}} chunks)
Original Data usage: {{human-bytes index-data-bytes}}
On-Disk usage: {{human-bytes disk-bytes}} ({{relative-percentage disk-bytes index-data-bytes}})
On-Disk chunks: {{disk-chunks}}
Deduplication Factor: {{deduplication-factor}}
Garbage collection successful.
Please visit the web interface for further details:
<{{base-url}}/#DataStore-{{datastore}}>