iop/proto/iop/control.proto

29 lines
831 B
Protocol Buffer

syntax = "proto3";
package iop;
option go_package = "iop/proto/gen/iop";
// PolicyRule is a placeholder for future edge-level routing/resource constraints.
message PolicyRule {
string name = 1;
string expression = 2;
map<string, string> params = 3;
}
// ScheduleRequest is a legacy placeholder for future Control Plane orchestration.
// It must not be treated as an active contract for direct Node scheduling.
message ScheduleRequest {
string job_id = 1;
string target = 2;
repeated PolicyRule policies = 3;
map<string, string> metadata = 4;
}
// ScheduleResponse is a legacy placeholder. Future scheduling should be
// reworked around Edge-owned runtime state instead of bypassing Edge.
message ScheduleResponse {
string node_id = 1;
string address = 2;
string token = 3;
}