Debian Codegraph @

buildkit/sourcepolicy/pb/policy.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.36.9
4 // protoc v3.11.4
5 // source: github.com/moby/buildkit/sourcepolicy/pb/policy.proto
6
7 package moby_buildkit_v1_sourcepolicy
8
9 import (
10 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12 reflect "reflect"
13 sync "sync"
14 unsafe "unsafe"
15 )
16
17 const (
18 // Verify that this generated code is sufficiently up-to-date.
19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20 // Verify that runtime/protoimpl is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22 )
23
24 // PolicyAction defines the action to take when a source is matched
25 type PolicyAction int32
26
27 const (
28 PolicyAction_ALLOW PolicyAction = 0
29 PolicyAction_DENY PolicyAction = 1
30 PolicyAction_CONVERT PolicyAction = 2
31 )
32
33 // Enum value maps for PolicyAction.
34 var (
35 PolicyAction_name = map[int32]string{
36 0: "ALLOW",
37 1: "DENY",
38 2: "CONVERT",
39 }
40 PolicyAction_value = map[string]int32{
41 "ALLOW": 0,
42 "DENY": 1,
43 "CONVERT": 2,
44 }
45 )
46
47 func (x PolicyAction) Enum() *PolicyAction {
48 p := new(PolicyAction)
49 *p = x
50 return p
51 }
52
53 func (x PolicyAction) String() string {
54 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
55 }
56
57 func (PolicyAction) Descriptor() protoreflect.EnumDescriptor {
58 return file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_enumTypes[0].Descriptor()
59 }
60
61 func (PolicyAction) Type() protoreflect.EnumType {
62 return &file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_enumTypes[0]
63 }
64
65 func (x PolicyAction) Number() protoreflect.EnumNumber {
66 return protoreflect.EnumNumber(x)
67 }
68
69 // Deprecated: Use PolicyAction.Descriptor instead.
70 func (PolicyAction) EnumDescriptor() ([]byte, []int) {
71 return file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_rawDescGZIP(), []int{0}
72 }
73
74 // AttrMatch defines the condition to match a source attribute
75 type AttrMatch int32
76
77 const (
78 AttrMatch_EQUAL AttrMatch = 0
79 AttrMatch_NOTEQUAL AttrMatch = 1
80 AttrMatch_MATCHES AttrMatch = 2
81 )
82
83 // Enum value maps for AttrMatch.
84 var (
85 AttrMatch_name = map[int32]string{
86 0: "EQUAL",
87 1: "NOTEQUAL",
88 2: "MATCHES",
89 }
90 AttrMatch_value = map[string]int32{
91 "EQUAL": 0,
92 "NOTEQUAL": 1,
93 "MATCHES": 2,
94 }
95 )
96
97 func (x AttrMatch) Enum() *AttrMatch {
98 p := new(AttrMatch)
99 *p = x
100 return p
101 }
102
103 func (x AttrMatch) String() string {
104 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
105 }
106
107 func (AttrMatch) Descriptor() protoreflect.EnumDescriptor {
108 return file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_enumTypes[1].Descriptor()
109 }
110
111 func (AttrMatch) Type() protoreflect.EnumType {
112 return &file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_enumTypes[1]
113 }
114
115 func (x AttrMatch) Number() protoreflect.EnumNumber {
116 return protoreflect.EnumNumber(x)
117 }
118
119 // Deprecated: Use AttrMatch.Descriptor instead.
120 func (AttrMatch) EnumDescriptor() ([]byte, []int) {
121 return file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_rawDescGZIP(), []int{1}
122 }
123
124 // Match type is used to determine how a rule source is matched
125 type MatchType int32
126
127 const (
128 // WILDCARD is the default matching type.
129 // It may first attempt to due an exact match but will follow up with a wildcard match
130 // For something more powerful, use REGEX
131 MatchType_WILDCARD MatchType = 0
132 // EXACT treats the source identifier as a litteral string match
133 MatchType_EXACT MatchType = 1
134 // REGEX treats the source identifier as a regular expression
135 // With regex matching you can also use match groups to replace values in the destination identifier
136 MatchType_REGEX MatchType = 2
137 )
138
139 // Enum value maps for MatchType.
140 var (
141 MatchType_name = map[int32]string{
142 0: "WILDCARD",
143 1: "EXACT",
144 2: "REGEX",
145 }
146 MatchType_value = map[string]int32{
147 "WILDCARD": 0,
148 "EXACT": 1,
149 "REGEX": 2,
150 }
151 )
152
153 func (x MatchType) Enum() *MatchType {
154 p := new(MatchType)
155 *p = x
156 return p
157 }
158
159 func (x MatchType) String() string {
160 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
161 }
162
163 func (MatchType) Descriptor() protoreflect.EnumDescriptor {
164 return file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_enumTypes[2].Descriptor()
165 }
166
167 func (MatchType) Type() protoreflect.EnumType {
168 return &file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_enumTypes[2]
169 }
170
171 func (x MatchType) Number() protoreflect.EnumNumber {
172 return protoreflect.EnumNumber(x)
173 }
174
175 // Deprecated: Use MatchType.Descriptor instead.
176 func (MatchType) EnumDescriptor() ([]byte, []int) {
177 return file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_rawDescGZIP(), []int{2}
178 }
179
180 // Rule defines the action(s) to take when a source is matched
181 type Rule struct {
182 state protoimpl.MessageState `protogen:"open.v1"`
183 Action PolicyAction `protobuf:"varint,1,opt,name=action,proto3,enum=moby.buildkit.v1.sourcepolicy.PolicyAction" json:"action,omitempty"`
184 Selector *Selector `protobuf:"bytes,2,opt,name=selector,proto3" json:"selector,omitempty"`
185 Updates *Update `protobuf:"bytes,3,opt,name=updates,proto3" json:"updates,omitempty"`
186 unknownFields protoimpl.UnknownFields
187 sizeCache protoimpl.SizeCache
188 }
189
190 func (x *Rule) Reset() {
191 *x = Rule{}
192 mi := &file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_msgTypes[0]
193 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
194 ms.StoreMessageInfo(mi)
195 }
196
197 func (x *Rule) String() string {
198 return protoimpl.X.MessageStringOf(x)
199 }
200
201 func (*Rule) ProtoMessage() {}
202
203 func (x *Rule) ProtoReflect() protoreflect.Message {
204 mi := &file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_msgTypes[0]
205 if x != nil {
206 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
207 if ms.LoadMessageInfo() == nil {
208 ms.StoreMessageInfo(mi)
209 }
210 return ms
211 }
212 return mi.MessageOf(x)
213 }
214
215 // Deprecated: Use Rule.ProtoReflect.Descriptor instead.
216 func (*Rule) Descriptor() ([]byte, []int) {
217 return file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_rawDescGZIP(), []int{0}
218 }
219
220 func (x *Rule) GetAction() PolicyAction {
221 if x != nil {
222 return x.Action
223 }
224 return PolicyAction_ALLOW
225 }
226
227 func (x *Rule) GetSelector() *Selector {
228 if x != nil {
229 return x.Selector
230 }
231 return nil
232 }
233
234 func (x *Rule) GetUpdates() *Update {
235 if x != nil {
236 return x.Updates
237 }
238 return nil
239 }
240
241 // Update contains updates to the matched build step after rule is applied
242 type Update struct {
243 state protoimpl.MessageState `protogen:"open.v1"`
244 Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
245 Attrs map[string]string `protobuf:"bytes,2,rep,name=attrs,proto3" json:"attrs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
246 unknownFields protoimpl.UnknownFields
247 sizeCache protoimpl.SizeCache
248 }
249
250 func (x *Update) Reset() {
251 *x = Update{}
252 mi := &file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_msgTypes[1]
253 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
254 ms.StoreMessageInfo(mi)
255 }
256
257 func (x *Update) String() string {
258 return protoimpl.X.MessageStringOf(x)
259 }
260
261 func (*Update) ProtoMessage() {}
262
263 func (x *Update) ProtoReflect() protoreflect.Message {
264 mi := &file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_msgTypes[1]
265 if x != nil {
266 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
267 if ms.LoadMessageInfo() == nil {
268 ms.StoreMessageInfo(mi)
269 }
270 return ms
271 }
272 return mi.MessageOf(x)
273 }
274
275 // Deprecated: Use Update.ProtoReflect.Descriptor instead.
276 func (*Update) Descriptor() ([]byte, []int) {
277 return file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_rawDescGZIP(), []int{1}
278 }
279
280 func (x *Update) GetIdentifier() string {
281 if x != nil {
282 return x.Identifier
283 }
284 return ""
285 }
286
287 func (x *Update) GetAttrs() map[string]string {
288 if x != nil {
289 return x.Attrs
290 }
291 return nil
292 }
293
294 // Selector identifies a source to match a policy to
295 type Selector struct {
296 state protoimpl.MessageState `protogen:"open.v1"`
297 Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
298 // MatchType is the type of match to perform on the source identifier
299 MatchType MatchType `protobuf:"varint,2,opt,name=match_type,json=matchType,proto3,enum=moby.buildkit.v1.sourcepolicy.MatchType" json:"match_type,omitempty"`
300 Constraints []*AttrConstraint `protobuf:"bytes,3,rep,name=constraints,proto3" json:"constraints,omitempty"`
301 unknownFields protoimpl.UnknownFields
302 sizeCache protoimpl.SizeCache
303 }
304
305 func (x *Selector) Reset() {
306 *x = Selector{}
307 mi := &file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_msgTypes[2]
308 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
309 ms.StoreMessageInfo(mi)
310 }
311
312 func (x *Selector) String() string {
313 return protoimpl.X.MessageStringOf(x)
314 }
315
316 func (*Selector) ProtoMessage() {}
317
318 func (x *Selector) ProtoReflect() protoreflect.Message {
319 mi := &file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_msgTypes[2]
320 if x != nil {
321 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
322 if ms.LoadMessageInfo() == nil {
323 ms.StoreMessageInfo(mi)
324 }
325 return ms
326 }
327 return mi.MessageOf(x)
328 }
329
330 // Deprecated: Use Selector.ProtoReflect.Descriptor instead.
331 func (*Selector) Descriptor() ([]byte, []int) {
332 return file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_rawDescGZIP(), []int{2}
333 }
334
335 func (x *Selector) GetIdentifier() string {
336 if x != nil {
337 return x.Identifier
338 }
339 return ""
340 }
341
342 func (x *Selector) GetMatchType() MatchType {
343 if x != nil {
344 return x.MatchType
345 }
346 return MatchType_WILDCARD
347 }
348
349 func (x *Selector) GetConstraints() []*AttrConstraint {
350 if x != nil {
351 return x.Constraints
352 }
353 return nil
354 }
355
356 // AttrConstraint defines a constraint on a source attribute
357 type AttrConstraint struct {
358 state protoimpl.MessageState `protogen:"open.v1"`
359 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
360 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
361 Condition AttrMatch `protobuf:"varint,3,opt,name=condition,proto3,enum=moby.buildkit.v1.sourcepolicy.AttrMatch" json:"condition,omitempty"`
362 unknownFields protoimpl.UnknownFields
363 sizeCache protoimpl.SizeCache
364 }
365
366 func (x *AttrConstraint) Reset() {
367 *x = AttrConstraint{}
368 mi := &file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_msgTypes[3]
369 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
370 ms.StoreMessageInfo(mi)
371 }
372
373 func (x *AttrConstraint) String() string {
374 return protoimpl.X.MessageStringOf(x)
375 }
376
377 func (*AttrConstraint) ProtoMessage() {}
378
379 func (x *AttrConstraint) ProtoReflect() protoreflect.Message {
380 mi := &file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_msgTypes[3]
381 if x != nil {
382 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
383 if ms.LoadMessageInfo() == nil {
384 ms.StoreMessageInfo(mi)
385 }
386 return ms
387 }
388 return mi.MessageOf(x)
389 }
390
391 // Deprecated: Use AttrConstraint.ProtoReflect.Descriptor instead.
392 func (*AttrConstraint) Descriptor() ([]byte, []int) {
393 return file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_rawDescGZIP(), []int{3}
394 }
395
396 func (x *AttrConstraint) GetKey() string {
397 if x != nil {
398 return x.Key
399 }
400 return ""
401 }
402
403 func (x *AttrConstraint) GetValue() string {
404 if x != nil {
405 return x.Value
406 }
407 return ""
408 }
409
410 func (x *AttrConstraint) GetCondition() AttrMatch {
411 if x != nil {
412 return x.Condition
413 }
414 return AttrMatch_EQUAL
415 }
416
417 // Policy is the list of rules the policy engine will perform
418 type Policy struct {
419 state protoimpl.MessageState `protogen:"open.v1"`
420 Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` // Currently 1
421 Rules []*Rule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
422 unknownFields protoimpl.UnknownFields
423 sizeCache protoimpl.SizeCache
424 }
425
426 func (x *Policy) Reset() {
427 *x = Policy{}
428 mi := &file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_msgTypes[4]
429 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
430 ms.StoreMessageInfo(mi)
431 }
432
433 func (x *Policy) String() string {
434 return protoimpl.X.MessageStringOf(x)
435 }
436
437 func (*Policy) ProtoMessage() {}
438
439 func (x *Policy) ProtoReflect() protoreflect.Message {
440 mi := &file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_msgTypes[4]
441 if x != nil {
442 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
443 if ms.LoadMessageInfo() == nil {
444 ms.StoreMessageInfo(mi)
445 }
446 return ms
447 }
448 return mi.MessageOf(x)
449 }
450
451 // Deprecated: Use Policy.ProtoReflect.Descriptor instead.
452 func (*Policy) Descriptor() ([]byte, []int) {
453 return file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_rawDescGZIP(), []int{4}
454 }
455
456 func (x *Policy) GetVersion() int64 {
457 if x != nil {
458 return x.Version
459 }
460 return 0
461 }
462
463 func (x *Policy) GetRules() []*Rule {
464 if x != nil {
465 return x.Rules
466 }
467 return nil
468 }
469
470 var File_github_com_moby_buildkit_sourcepolicy_pb_policy_proto protoreflect.FileDescriptor
471
472 const file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_rawDesc = "" +
473 "\n" +
474 "5github.com/moby/buildkit/sourcepolicy/pb/policy.proto\x12\x1dmoby.buildkit.v1.sourcepolicy\"\xd1\x01\n" +
475 "\x04Rule\x12C\n" +
476 "\x06action\x18\x01 \x01(\x0e2+.moby.buildkit.v1.sourcepolicy.PolicyActionR\x06action\x12C\n" +
477 "\bselector\x18\x02 \x01(\v2'.moby.buildkit.v1.sourcepolicy.SelectorR\bselector\x12?\n" +
478 "\aupdates\x18\x03 \x01(\v2%.moby.buildkit.v1.sourcepolicy.UpdateR\aupdates\"\xaa\x01\n" +
479 "\x06Update\x12\x1e\n" +
480 "\n" +
481 "identifier\x18\x01 \x01(\tR\n" +
482 "identifier\x12F\n" +
483 "\x05attrs\x18\x02 \x03(\v20.moby.buildkit.v1.sourcepolicy.Update.AttrsEntryR\x05attrs\x1a8\n" +
484 "\n" +
485 "AttrsEntry\x12\x10\n" +
486 "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
487 "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xc4\x01\n" +
488 "\bSelector\x12\x1e\n" +
489 "\n" +
490 "identifier\x18\x01 \x01(\tR\n" +
491 "identifier\x12G\n" +
492 "\n" +
493 "match_type\x18\x02 \x01(\x0e2(.moby.buildkit.v1.sourcepolicy.MatchTypeR\tmatchType\x12O\n" +
494 "\vconstraints\x18\x03 \x03(\v2-.moby.buildkit.v1.sourcepolicy.AttrConstraintR\vconstraints\"\x80\x01\n" +
495 "\x0eAttrConstraint\x12\x10\n" +
496 "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
497 "\x05value\x18\x02 \x01(\tR\x05value\x12F\n" +
498 "\tcondition\x18\x03 \x01(\x0e2(.moby.buildkit.v1.sourcepolicy.AttrMatchR\tcondition\"]\n" +
499 "\x06Policy\x12\x18\n" +
500 "\aversion\x18\x01 \x01(\x03R\aversion\x129\n" +
501 "\x05rules\x18\x02 \x03(\v2#.moby.buildkit.v1.sourcepolicy.RuleR\x05rules*0\n" +
502 "\fPolicyAction\x12\t\n" +
503 "\x05ALLOW\x10\x00\x12\b\n" +
504 "\x04DENY\x10\x01\x12\v\n" +
505 "\aCONVERT\x10\x02*1\n" +
506 "\tAttrMatch\x12\t\n" +
507 "\x05EQUAL\x10\x00\x12\f\n" +
508 "\bNOTEQUAL\x10\x01\x12\v\n" +
509 "\aMATCHES\x10\x02*/\n" +
510 "\tMatchType\x12\f\n" +
511 "\bWILDCARD\x10\x00\x12\t\n" +
512 "\x05EXACT\x10\x01\x12\t\n" +
513 "\x05REGEX\x10\x02BHZFgithub.com/moby/buildkit/sourcepolicy/pb;moby_buildkit_v1_sourcepolicyb\x06proto3"
514
515 var (
516 file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_rawDescOnce sync.Once
517 file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_rawDescData []byte
518 )
519
520 func file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_rawDescGZIP() []byte {
521 file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_rawDescOnce.Do(func() {
522 file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_rawDesc), len(file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_rawDesc)))
523 })
524 return file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_rawDescData
525 }
526
527 var file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
528 var file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
529 var file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_goTypes = []any{
530 (PolicyAction)(0), // 0: moby.buildkit.v1.sourcepolicy.PolicyAction
531 (AttrMatch)(0), // 1: moby.buildkit.v1.sourcepolicy.AttrMatch
532 (MatchType)(0), // 2: moby.buildkit.v1.sourcepolicy.MatchType
533 (*Rule)(nil), // 3: moby.buildkit.v1.sourcepolicy.Rule
534 (*Update)(nil), // 4: moby.buildkit.v1.sourcepolicy.Update
535 (*Selector)(nil), // 5: moby.buildkit.v1.sourcepolicy.Selector
536 (*AttrConstraint)(nil), // 6: moby.buildkit.v1.sourcepolicy.AttrConstraint
537 (*Policy)(nil), // 7: moby.buildkit.v1.sourcepolicy.Policy
538 nil, // 8: moby.buildkit.v1.sourcepolicy.Update.AttrsEntry
539 }
540 var file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_depIdxs = []int32{
541 0, // 0: moby.buildkit.v1.sourcepolicy.Rule.action:type_name -> moby.buildkit.v1.sourcepolicy.PolicyAction
542 5, // 1: moby.buildkit.v1.sourcepolicy.Rule.selector:type_name -> moby.buildkit.v1.sourcepolicy.Selector
543 4, // 2: moby.buildkit.v1.sourcepolicy.Rule.updates:type_name -> moby.buildkit.v1.sourcepolicy.Update
544 8, // 3: moby.buildkit.v1.sourcepolicy.Update.attrs:type_name -> moby.buildkit.v1.sourcepolicy.Update.AttrsEntry
545 2, // 4: moby.buildkit.v1.sourcepolicy.Selector.match_type:type_name -> moby.buildkit.v1.sourcepolicy.MatchType
546 6, // 5: moby.buildkit.v1.sourcepolicy.Selector.constraints:type_name -> moby.buildkit.v1.sourcepolicy.AttrConstraint
547 1, // 6: moby.buildkit.v1.sourcepolicy.AttrConstraint.condition:type_name -> moby.buildkit.v1.sourcepolicy.AttrMatch
548 3, // 7: moby.buildkit.v1.sourcepolicy.Policy.rules:type_name -> moby.buildkit.v1.sourcepolicy.Rule
549 8, // [8:8] is the sub-list for method output_type
550 8, // [8:8] is the sub-list for method input_type
551 8, // [8:8] is the sub-list for extension type_name
552 8, // [8:8] is the sub-list for extension extendee
553 0, // [0:8] is the sub-list for field type_name
554 }
555
556 func init() { file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_init() }
557 func file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_init() {
558 if File_github_com_moby_buildkit_sourcepolicy_pb_policy_proto != nil {
559 return
560 }
561 type x struct{}
562 out := protoimpl.TypeBuilder{
563 File: protoimpl.DescBuilder{
564 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
565 RawDescriptor: unsafe.Slice(unsafe.StringData(file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_rawDesc), len(file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_rawDesc)),
566 NumEnums: 3,
567 NumMessages: 6,
568 NumExtensions: 0,
569 NumServices: 0,
570 },
571 GoTypes: file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_goTypes,
572 DependencyIndexes: file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_depIdxs,
573 EnumInfos: file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_enumTypes,
574 MessageInfos: file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_msgTypes,
575 }.Build()
576 File_github_com_moby_buildkit_sourcepolicy_pb_policy_proto = out.File
577 file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_goTypes = nil
578 file_github_com_moby_buildkit_sourcepolicy_pb_policy_proto_depIdxs = nil
579 }