Dmitriy Matrenichev bd56621cdf
feat: add structprotogen tool
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>
2022-09-05 16:54:00 +03:00

15 lines
323 B
Protocol Buffer
Executable File

syntax = "proto3";
package talos.resource.definitions.proto;
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/definitions/proto";
// Mount specifies a mount for a container.
message Mount {
string destination = 1;
string type = 2;
string source = 3;
repeated string options = 4;
}