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

18 lines
407 B
Protocol Buffer
Executable File

syntax = "proto3";
package talos.resource.definitions.files;
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/definitions/files";
// EtcFileSpecSpec describes status of rendered secrets.
message EtcFileSpecSpec {
bytes contents = 1;
uint32 mode = 2;
}
// EtcFileStatusSpec describes status of rendered secrets.
message EtcFileStatusSpec {
string spec_version = 1;
}