Skip to content

Commit

Permalink
feat: add cluster and backup payload
Browse files Browse the repository at this point in the history
Signed-off-by: Armando Ruocco <[email protected]>
  • Loading branch information
armru committed Oct 17, 2024
1 parent 1e280ee commit c7644f8
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 24 deletions.
6 changes: 6 additions & 0 deletions docs/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1208,6 +1208,12 @@ through the kube-api server.



| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| cluster_definition | [bytes](#bytes) | | This field is REQUIRED. Value of this field is the JSON serialization of the Cluster. |
| backup_definition | [bytes](#bytes) | | This field is REQUIRED. Value of this field is the JSON serialization of the backup. |





Expand Down
74 changes: 50 additions & 24 deletions pkg/restore/job/restore_job.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/restore_job.proto
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ message RestoreJobHooksCapability {
}

message RestoreRequest {
// This field is REQUIRED. Value of this field is the JSON
// serialization of the Cluster.
bytes cluster_definition = 1;
// This field is REQUIRED. Value of this field is the JSON
// serialization of the backup.
bytes backup_definition = 2;
}

message RestoreResponse {
Expand Down

0 comments on commit c7644f8

Please sign in to comment.