Skip to content

Commit

Permalink
FM-210-orb-fleet-cmdr-messages
Browse files Browse the repository at this point in the history
  • Loading branch information
paulquinn00 committed Feb 12, 2025
1 parent ef8cc29 commit b301a13
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions proto/fleet_cmdr/jobs.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
syntax = "proto3";

package fleet_cmdr.v1;

message JobExecutionRequest {
string job_id = 1;
string command = 2;
string args = 3;
}

message JobExecutionUpdate {
string job_id = 1;
string job_execution_id = 2;
JobExecutionStatus status = 3;
string std_out = 4;
string std_err = 5;
}

enum JobExecutionStatus {
JOB_EXECUTION_STATUS_UNSPECIFIED = 0;
PENDING = 1;
RUNNING = 2;
COMPLETED = 3;
FAILED = 4;
}
1 change: 1 addition & 0 deletions rust/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ fn main() {
"./proto/self_serve/orb/v1/orb.proto",
"./proto/config/backend.proto",
"./proto/config/orb.proto",
"./proto/fleet_cmdr/jobs.proto",
],
&["./proto"],
)
Expand Down

0 comments on commit b301a13

Please sign in to comment.