mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-11 07:31:18 +02:00
This commit adds structprotogen tool which is used to generate proto file from Go structs. Closes #6078. Signed-off-by: Dmitriy Matrenichev <dmitry.matrenichev@siderolabs.com>
32 lines
666 B
Protocol Buffer
Executable File
32 lines
666 B
Protocol Buffer
Executable File
syntax = "proto3";
|
|
|
|
package talos.resource.definitions.extensions;
|
|
|
|
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/definitions/extensions";
|
|
|
|
// Compatibility describes extension compatibility.
|
|
message Compatibility {
|
|
Constraint talos = 1;
|
|
}
|
|
|
|
// Constraint describes compatibility constraint.
|
|
message Constraint {
|
|
string version = 1;
|
|
}
|
|
|
|
// Layer defines overlay mount layer.
|
|
message Layer {
|
|
string image = 1;
|
|
Metadata metadata = 2;
|
|
}
|
|
|
|
// Metadata describes base extension metadata.
|
|
message Metadata {
|
|
string name = 1;
|
|
string version = 2;
|
|
string author = 3;
|
|
string description = 4;
|
|
Compatibility compatibility = 5;
|
|
}
|
|
|