all: Use protobuf to generate config structs (fixes #6734) (#6900)

This commit is contained in:
Audrius Butkevicius
2020-08-25 08:11:14 +02:00
committed by GitHub
parent 5b953033c7
commit d507d932b8
84 changed files with 3807 additions and 542 deletions
+14
View File
@@ -0,0 +1,14 @@
syntax = "proto3";
package config;
import "repos/protobuf/gogoproto/gogo.proto";
import "ext.proto";
enum AuthMode {
option (gogoproto.goproto_enum_stringer) = false;
AUTH_MODE_STATIC = 0;
AUTH_MODE_LDAP = 1 [(ext.enumgoname) = "AuthModeLDAP"];
}