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

14 lines
360 B
Protocol Buffer
Executable File

syntax = "proto3";
package talos.resource.definitions.kubeaccess;
option go_package = "github.com/talos-systems/talos/pkg/machinery/api/resource/definitions/kubeaccess";
// ConfigSpec describes KubeSpan configuration..
message ConfigSpec {
bool enabled = 1;
repeated string allowed_api_roles = 2;
repeated string allowed_kubernetes_namespaces = 3;
}