talos/api/common/common.proto
Brad Beam 41a4741bca refactor: Move logs to machined
This moves Logs endpoint to machined to reduce the mount footprint of osd.

Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-11-04 15:04:13 -08:00

30 lines
493 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;
}
enum ContainerDriver {
CONTAINERD = 0;
CRI = 1;
}