mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-10-10 20:27:42 +00:00
Move all labels into enums module
This way we have more control over them
This commit is contained in:
11
src/restic_compose_backup/enums.py
Normal file
11
src/restic_compose_backup/enums.py
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
# Labels
|
||||
LABEL_VOLUMES_ENABLED = 'restic-compose-backup.volumes'
|
||||
LABEL_VOLUMES_INCLUDE = 'restic-compose-backup.volumes.include'
|
||||
LABEL_VOLUMES_EXCLUDE = 'restic-compose-backup.volumes.exclude'
|
||||
|
||||
LABEL_MYSQL_ENABLED = 'restic-compose-backup.mysql'
|
||||
LABEL_POSTGRES_ENABLED = 'restic-compose-backup.postgres'
|
||||
LABEL_MARIADB_ENABLED = 'restic-compose-backup.mariadb'
|
||||
|
||||
LABEL_BACKUP_PROCESS = 'restic-compose-backup.backup_process'
|
Reference in New Issue
Block a user