Skip to content

Commit

Permalink
feat: add fields
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 1122a73 commit bcf21a8
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 21 deletions.
2 changes: 2 additions & 0 deletions docs/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ Intentionally empty.
| 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 |
| endpoint_url | [string](#string) | | This field is OPTIONAL and contains the endpoint URL of the object storage server |
| destination_path | [string](#string) | | This field is OPTIONAL and contains the destination path of the backup |



Expand Down
65 changes: 44 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.

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

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

// This field is OPTIONAL and contains the endpoint URL of the object storage server
string endpoint_url = 15;

// This field is OPTIONAL and contains the destination path of the backup
string destination_path = 16;
}

0 comments on commit bcf21a8

Please sign in to comment.