mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-09 14:41:31 +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>
18 lines
407 B
Protocol Buffer
Executable File
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;
|
|
}
|
|
|