talos/api/common/common.proto
Brad Beam 3fd8abf426 chore: Move data messages to common proto
This is to allows reuse across multiple apis.

Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-11-04 14:24:41 -06:00

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;
}