mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-20 22:21:13 +02:00
The following RPCs have been renamed: - ps to containers - top to processes - df to mounts Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
28 lines
710 B
Protocol Buffer
28 lines
710 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package proto;
|
|
|
|
option go_package = "timeapi";
|
|
option java_multiple_files = true;
|
|
option java_outer_classname = "TimeApi";
|
|
option java_package = "com.time.api";
|
|
|
|
import "google/protobuf/empty.proto";
|
|
import "google/protobuf/timestamp.proto";
|
|
|
|
// The time service definition.
|
|
service Time {
|
|
rpc Time(google.protobuf.Empty) returns (TimeReply);
|
|
rpc TimeCheck(TimeRequest) returns (TimeReply);
|
|
}
|
|
|
|
// The response message containing the ntp server
|
|
message TimeRequest { string server = 1; }
|
|
|
|
// The response message containing the ntp server, time, and offset
|
|
message TimeReply {
|
|
string server = 1;
|
|
google.protobuf.Timestamp localtime = 2;
|
|
google.protobuf.Timestamp remotetime = 3;
|
|
}
|