github.com/muhammadn/cortex@v1.9.1-0.20220510110439-46bb7000d03d/tools/blocksconvert/scheduler.proto (about) 1 syntax = "proto3"; 2 3 package blocksconvert; 4 5 option go_package = "blocksconvert"; 6 7 import "github.com/gogo/protobuf/gogoproto/gogo.proto"; 8 9 option (gogoproto.marshaler_all) = true; 10 option (gogoproto.unmarshaler_all) = true; 11 12 service Scheduler { 13 // Returns next plan that builder should work on. 14 rpc NextPlan(NextPlanRequest) returns (NextPlanResponse) {}; 15 } 16 17 message NextPlanRequest { 18 // Name of service requesting the plan. 19 string name = 1; 20 } 21 22 message NextPlanResponse { 23 string planFile = 1; 24 string progressFile = 2; 25 }