Skip to content

Commit

Permalink
Merge branch 'master' into executor-allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMurkin committed Jul 26, 2019
2 parents c8797e3 + 0a83cde commit 204cd66
Show file tree
Hide file tree
Showing 21 changed files with 889 additions and 251 deletions.
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ require (
github.com/imdario/mergo v0.3.7 // indirect
github.com/json-iterator/go v1.1.6 // indirect
github.com/kjk/betterguid v0.0.0-20170621091430-c442874ba63a
github.com/oklog/ulid v1.3.1
github.com/spf13/viper v1.4.0
github.com/stretchr/testify v1.3.0
github.com/yuin/gopher-lua v0.0.0-20190514113301-1cd887cd7036 // indirect
Expand Down
271 changes: 252 additions & 19 deletions internal/armada/api/submit.pb.go

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

8 changes: 8 additions & 0 deletions internal/armada/api/submit.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ syntax = 'proto3';

package api;

import "google/protobuf/empty.proto";
import "k8s.io/api/core/v1/generated.proto";


message JobRequest {
string Queue = 1;
string JobSetId = 2;
Expand All @@ -15,6 +17,12 @@ message JobSubmitResponse {
string JobId = 1;
}

message Queue {
string Name = 1;
double Priority = 2;
}

service Submit {
rpc SubmitJob (JobRequest) returns (JobSubmitResponse);
rpc CreateQueue (Queue) returns (google.protobuf.Empty);
}
Loading

0 comments on commit 204cd66

Please sign in to comment.