mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-26 09:01:17 +02:00
This adds linting to our protobuf definitions via prototool. Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
28 lines
577 B
Protocol Buffer
28 lines
577 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package proto;
|
|
|
|
option go_package = "proto";
|
|
option java_multiple_files = true;
|
|
option java_outer_classname = "ApiProto";
|
|
option java_package = "com.proto";
|
|
|
|
import "google/protobuf/empty.proto";
|
|
|
|
// The Init service definition.
|
|
service Proxyd {
|
|
rpc Backends(google.protobuf.Empty) returns (BackendsReply);
|
|
}
|
|
|
|
// The response message containing the proxyd backend status.
|
|
message BackendsReply {
|
|
repeated Backend backends = 1;
|
|
}
|
|
|
|
// Backend represents the proxyd backend
|
|
message Backend {
|
|
string id = 1;
|
|
string addr = 2;
|
|
uint32 connections = 3;
|
|
}
|