File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
proto/lekko/feature/v1beta1 Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,25 @@ syntax = "proto3";
17
17
package lekko.feature.v1beta1 ;
18
18
19
19
import "google/protobuf/any.proto" ;
20
+ import "google/protobuf/descriptor.proto" ;
20
21
import "google/protobuf/struct.proto" ;
21
22
import "lekko/rules/v1beta2/rules.proto" ;
22
23
import "lekko/rules/v1beta3/rules.proto" ;
23
24
25
+ // A config repository's contents are made up of namespaces/features and the types
26
+ // required to describe them.
27
+ // Lekkos written in all languages should be able to have 1:1 mappings with this
28
+ // structure.
29
+ message RepositoryContents {
30
+ repeated Namespace namespaces = 1 ;
31
+ google.protobuf.FileDescriptorSet file_descriptor_set = 2 ;
32
+ }
33
+
34
+ message Namespace {
35
+ string name = 1 ;
36
+ repeated Feature features = 2 ;
37
+ }
38
+
24
39
// A prototype of the wrapper type that will be used to house all feature flags for
25
40
// the 'homegrown' feature flagging solution:
26
41
// User-defined proto defintions, and a tree-based constraints system.
You can’t perform that action at this time.
0 commit comments