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
+16
View File
@@ -0,0 +1,16 @@
syntax = "proto3";
package config;
import "repos/protobuf/gogoproto/gogo.proto";
enum PullOrder {
option (gogoproto.goproto_enum_stringer) = false;
PULL_ORDER_RANDOM = 0;
PULL_ORDER_ALPHABETIC = 1;
PULL_ORDER_SMALLEST_FIRST = 2;
PULL_ORDER_LARGEST_FIRST = 3;
PULL_ORDER_OLDEST_FIRST = 4;
PULL_ORDER_NEWEST_FIRST = 5;
}