mirror of
https://github.com/stefanprodan/podinfo.git
synced 2026-04-20 17:56:41 +00:00
25 lines
440 B
Protocol Buffer
25 lines
440 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option go_package = "./info";
|
|
|
|
package info;
|
|
|
|
message InfoRequest {}
|
|
|
|
message InfoResponse {
|
|
string hostname = 1;
|
|
string version = 2;
|
|
string revision = 3;
|
|
string color = 4 ;
|
|
string logo = 5 ;
|
|
string message = 6 ;
|
|
string goos = 7;
|
|
string goarch = 8;
|
|
string runtime = 9;
|
|
string numgoroutine = 10;
|
|
string numcpu = 11;
|
|
}
|
|
|
|
service InfoService {
|
|
rpc Info (InfoRequest) returns (InfoResponse) {}
|
|
} |