Skip to content

Commit

Permalink
feat: add server name
Browse files Browse the repository at this point in the history
Signed-off-by: Armando Ruocco <[email protected]>
  • Loading branch information
armru committed Oct 18, 2024
1 parent c7644f8 commit 1122a73
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 21 deletions.
1 change: 1 addition & 0 deletions docs/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ Intentionally empty.
| instance_id | [string](#string) | | This field is OPTIONAL and contains the ID of the instance that have been backed up |
| online | [bool](#bool) | | This field is REQUIRED and is set to true for online/hot backups and to false otherwise. |
| metadata | [BackupResult.MetadataEntry](#cnpgi-backup-v1-BackupResult-MetadataEntry) | repeated | This field is OPTIONAL and contains all the plugin specific information that needs to be stored |
| server_name | [string](#string) | | This field is OPTIONAL and contains the name of the object storage server |



Expand Down
53 changes: 32 additions & 21 deletions pkg/backup/backup.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions proto/backup.proto
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,7 @@ message BackupResult {

// This field is OPTIONAL and contains all the plugin specific information that needs to be stored
map<string, string> metadata = 13;

// This field is OPTIONAL and contains the name of the object storage server
string server_name = 14;
}

0 comments on commit 1122a73

Please sign in to comment.