mirror of
https://github.com/siderolabs/talos.git
synced 2025-11-23 03:31:13 +01:00
This is to allows reuse across multiple apis. Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
25 lines
438 B
Protocol Buffer
25 lines
438 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package common;
|
|
|
|
option go_package = "github.com/talos-systems/talos/api/common";
|
|
|
|
// Common metadata message nested in all reply message types
|
|
message NodeMetadata {
|
|
string hostname = 1;
|
|
}
|
|
|
|
// The response message containing the requested logs.
|
|
message Data {
|
|
bytes bytes = 1;
|
|
}
|
|
|
|
message DataResponse {
|
|
NodeMetadata metadata = 1;
|
|
Data bytes = 2;
|
|
}
|
|
|
|
message DataReply {
|
|
repeated DataResponse response = 1;
|
|
}
|