-
Notifications
You must be signed in to change notification settings - Fork 20
/
contlcycle.pb.go
715 lines (622 loc) · 25.1 KB
/
contlcycle.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.32.0
// protoc v3.21.12
// source: proto/contlcycle/contlcycle.proto
package contlcycle
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type ObjectKind int32
const (
ObjectKind_Container ObjectKind = 0
ObjectKind_Pod ObjectKind = 1
)
// Enum value maps for ObjectKind.
var (
ObjectKind_name = map[int32]string{
0: "Container",
1: "Pod",
}
ObjectKind_value = map[string]int32{
"Container": 0,
"Pod": 1,
}
)
func (x ObjectKind) Enum() *ObjectKind {
p := new(ObjectKind)
*p = x
return p
}
func (x ObjectKind) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ObjectKind) Descriptor() protoreflect.EnumDescriptor {
return file_proto_contlcycle_contlcycle_proto_enumTypes[0].Descriptor()
}
func (ObjectKind) Type() protoreflect.EnumType {
return &file_proto_contlcycle_contlcycle_proto_enumTypes[0]
}
func (x ObjectKind) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ObjectKind.Descriptor instead.
func (ObjectKind) EnumDescriptor() ([]byte, []int) {
return file_proto_contlcycle_contlcycle_proto_rawDescGZIP(), []int{0}
}
type Event_EventType int32
const (
Event_Delete Event_EventType = 0
)
// Enum value maps for Event_EventType.
var (
Event_EventType_name = map[int32]string{
0: "Delete",
}
Event_EventType_value = map[string]int32{
"Delete": 0,
}
)
func (x Event_EventType) Enum() *Event_EventType {
p := new(Event_EventType)
*p = x
return p
}
func (x Event_EventType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Event_EventType) Descriptor() protoreflect.EnumDescriptor {
return file_proto_contlcycle_contlcycle_proto_enumTypes[1].Descriptor()
}
func (Event_EventType) Type() protoreflect.EnumType {
return &file_proto_contlcycle_contlcycle_proto_enumTypes[1]
}
func (x Event_EventType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Event_EventType.Descriptor instead.
func (Event_EventType) EnumDescriptor() ([]byte, []int) {
return file_proto_contlcycle_contlcycle_proto_rawDescGZIP(), []int{1, 0}
}
// EventsPayload represents the main container lifecycle event payload
type EventsPayload struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // version represents the EventsPayload message version
Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` // host contains the hostname
ObjectKind ObjectKind `protobuf:"varint,3,opt,name=objectKind,proto3,enum=datadog.contlcycle.ObjectKind" json:"objectKind,omitempty"` // objectKind represents the object kind (container, pod)
Events []*Event `protobuf:"bytes,4,rep,name=events,proto3" json:"events,omitempty"` // events contains all the event details
}
func (x *EventsPayload) Reset() {
*x = EventsPayload{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_contlcycle_contlcycle_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EventsPayload) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EventsPayload) ProtoMessage() {}
func (x *EventsPayload) ProtoReflect() protoreflect.Message {
mi := &file_proto_contlcycle_contlcycle_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EventsPayload.ProtoReflect.Descriptor instead.
func (*EventsPayload) Descriptor() ([]byte, []int) {
return file_proto_contlcycle_contlcycle_proto_rawDescGZIP(), []int{0}
}
func (x *EventsPayload) GetVersion() string {
if x != nil {
return x.Version
}
return ""
}
func (x *EventsPayload) GetHost() string {
if x != nil {
return x.Host
}
return ""
}
func (x *EventsPayload) GetObjectKind() ObjectKind {
if x != nil {
return x.ObjectKind
}
return ObjectKind_Container
}
func (x *EventsPayload) GetEvents() []*Event {
if x != nil {
return x.Events
}
return nil
}
// Event contains the details about a container lifecycle event
type Event struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
EventType Event_EventType `protobuf:"varint,1,opt,name=eventType,proto3,enum=datadog.contlcycle.Event_EventType" json:"eventType,omitempty"` // eventType represents the event's type (deletion)
// Types that are assignable to TypedEvent:
// *Event_Container
// *Event_Pod
TypedEvent isEvent_TypedEvent `protobuf_oneof:"typedEvent"`
}
func (x *Event) Reset() {
*x = Event{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_contlcycle_contlcycle_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Event) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Event) ProtoMessage() {}
func (x *Event) ProtoReflect() protoreflect.Message {
mi := &file_proto_contlcycle_contlcycle_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Event.ProtoReflect.Descriptor instead.
func (*Event) Descriptor() ([]byte, []int) {
return file_proto_contlcycle_contlcycle_proto_rawDescGZIP(), []int{1}
}
func (x *Event) GetEventType() Event_EventType {
if x != nil {
return x.EventType
}
return Event_Delete
}
func (m *Event) GetTypedEvent() isEvent_TypedEvent {
if m != nil {
return m.TypedEvent
}
return nil
}
func (x *Event) GetContainer() *ContainerEvent {
if x, ok := x.GetTypedEvent().(*Event_Container); ok {
return x.Container
}
return nil
}
func (x *Event) GetPod() *PodEvent {
if x, ok := x.GetTypedEvent().(*Event_Pod); ok {
return x.Pod
}
return nil
}
type isEvent_TypedEvent interface {
isEvent_TypedEvent()
}
type Event_Container struct {
Container *ContainerEvent `protobuf:"bytes,2,opt,name=container,proto3,oneof"`
}
type Event_Pod struct {
Pod *PodEvent `protobuf:"bytes,3,opt,name=pod,proto3,oneof"`
}
func (*Event_Container) isEvent_TypedEvent() {}
func (*Event_Pod) isEvent_TypedEvent() {}
// ContainerEvent contains container event metadata
type ContainerEvent struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ContainerID string `protobuf:"bytes,1,opt,name=containerID,proto3" json:"containerID,omitempty"` // containerID contains the container ID
Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // source contains the container source (docker, containerd..)
// Types that are assignable to OptionalExitCode:
// *ContainerEvent_ExitCode
OptionalExitCode isContainerEvent_OptionalExitCode `protobuf_oneof:"optionalExitCode"`
// Types that are assignable to OptionalExitTimestamp:
// *ContainerEvent_ExitTimestamp
OptionalExitTimestamp isContainerEvent_OptionalExitTimestamp `protobuf_oneof:"optionalExitTimestamp"`
Owner *ContainerEvent_Owner `protobuf:"bytes,5,opt,name=owner,proto3,oneof" json:"owner,omitempty"` // owner contains the information about who this container belongs to
}
func (x *ContainerEvent) Reset() {
*x = ContainerEvent{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_contlcycle_contlcycle_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ContainerEvent) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ContainerEvent) ProtoMessage() {}
func (x *ContainerEvent) ProtoReflect() protoreflect.Message {
mi := &file_proto_contlcycle_contlcycle_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ContainerEvent.ProtoReflect.Descriptor instead.
func (*ContainerEvent) Descriptor() ([]byte, []int) {
return file_proto_contlcycle_contlcycle_proto_rawDescGZIP(), []int{2}
}
func (x *ContainerEvent) GetContainerID() string {
if x != nil {
return x.ContainerID
}
return ""
}
func (x *ContainerEvent) GetSource() string {
if x != nil {
return x.Source
}
return ""
}
func (m *ContainerEvent) GetOptionalExitCode() isContainerEvent_OptionalExitCode {
if m != nil {
return m.OptionalExitCode
}
return nil
}
func (x *ContainerEvent) GetExitCode() int32 {
if x, ok := x.GetOptionalExitCode().(*ContainerEvent_ExitCode); ok {
return x.ExitCode
}
return 0
}
func (m *ContainerEvent) GetOptionalExitTimestamp() isContainerEvent_OptionalExitTimestamp {
if m != nil {
return m.OptionalExitTimestamp
}
return nil
}
func (x *ContainerEvent) GetExitTimestamp() int64 {
if x, ok := x.GetOptionalExitTimestamp().(*ContainerEvent_ExitTimestamp); ok {
return x.ExitTimestamp
}
return 0
}
func (x *ContainerEvent) GetOwner() *ContainerEvent_Owner {
if x != nil {
return x.Owner
}
return nil
}
type isContainerEvent_OptionalExitCode interface {
isContainerEvent_OptionalExitCode()
}
type ContainerEvent_ExitCode struct {
ExitCode int32 `protobuf:"varint,3,opt,name=exitCode,proto3,oneof"` // exitCode contains the exit code of the container
}
func (*ContainerEvent_ExitCode) isContainerEvent_OptionalExitCode() {}
type isContainerEvent_OptionalExitTimestamp interface {
isContainerEvent_OptionalExitTimestamp()
}
type ContainerEvent_ExitTimestamp struct {
ExitTimestamp int64 `protobuf:"varint,4,opt,name=exitTimestamp,proto3,oneof"` // exitTimestamp contains the exit timestamp of the container
}
func (*ContainerEvent_ExitTimestamp) isContainerEvent_OptionalExitTimestamp() {}
// PodEvent contains pod event metadata
type PodEvent struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PodUID string `protobuf:"bytes,1,opt,name=podUID,proto3" json:"podUID,omitempty"` // podUID contains the pod UID
Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // source contains the pod source (kubelet)
ExitTimestamp *int64 `protobuf:"varint,3,opt,name=exitTimestamp,proto3,oneof" json:"exitTimestamp,omitempty"` // exitTimestamp contains the exit timestamp of the pod
}
func (x *PodEvent) Reset() {
*x = PodEvent{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_contlcycle_contlcycle_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PodEvent) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PodEvent) ProtoMessage() {}
func (x *PodEvent) ProtoReflect() protoreflect.Message {
mi := &file_proto_contlcycle_contlcycle_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PodEvent.ProtoReflect.Descriptor instead.
func (*PodEvent) Descriptor() ([]byte, []int) {
return file_proto_contlcycle_contlcycle_proto_rawDescGZIP(), []int{3}
}
func (x *PodEvent) GetPodUID() string {
if x != nil {
return x.PodUID
}
return ""
}
func (x *PodEvent) GetSource() string {
if x != nil {
return x.Source
}
return ""
}
func (x *PodEvent) GetExitTimestamp() int64 {
if x != nil && x.ExitTimestamp != nil {
return *x.ExitTimestamp
}
return 0
}
// Owner contains information about what a container belongs to
type ContainerEvent_Owner struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
OwnerType ObjectKind `protobuf:"varint,1,opt,name=ownerType,proto3,enum=datadog.contlcycle.ObjectKind" json:"ownerType,omitempty"` // ownerType represents the owner type (pod, etc)
OwnerUID string `protobuf:"bytes,2,opt,name=ownerUID,proto3" json:"ownerUID,omitempty"` // ownerUID contains the owner UID
}
func (x *ContainerEvent_Owner) Reset() {
*x = ContainerEvent_Owner{}
if protoimpl.UnsafeEnabled {
mi := &file_proto_contlcycle_contlcycle_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ContainerEvent_Owner) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ContainerEvent_Owner) ProtoMessage() {}
func (x *ContainerEvent_Owner) ProtoReflect() protoreflect.Message {
mi := &file_proto_contlcycle_contlcycle_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ContainerEvent_Owner.ProtoReflect.Descriptor instead.
func (*ContainerEvent_Owner) Descriptor() ([]byte, []int) {
return file_proto_contlcycle_contlcycle_proto_rawDescGZIP(), []int{2, 0}
}
func (x *ContainerEvent_Owner) GetOwnerType() ObjectKind {
if x != nil {
return x.OwnerType
}
return ObjectKind_Container
}
func (x *ContainerEvent_Owner) GetOwnerUID() string {
if x != nil {
return x.OwnerUID
}
return ""
}
var File_proto_contlcycle_contlcycle_proto protoreflect.FileDescriptor
var file_proto_contlcycle_contlcycle_proto_rawDesc = []byte{
0x0a, 0x21, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x6c, 0x63, 0x79, 0x63,
0x6c, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x6c, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x12, 0x12, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x6f, 0x6e,
0x74, 0x6c, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x22, 0xb0, 0x01, 0x0a, 0x0d, 0x45, 0x76, 0x65, 0x6e,
0x74, 0x73, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72,
0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73,
0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63,
0x74, 0x4b, 0x69, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x64, 0x61,
0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x6c, 0x63, 0x79, 0x63, 0x6c, 0x65,
0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x0a, 0x6f, 0x62, 0x6a,
0x65, 0x63, 0x74, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x31, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74,
0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f,
0x67, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x6c, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x2e, 0x45, 0x76, 0x65,
0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xe7, 0x01, 0x0a, 0x05, 0x45,
0x76, 0x65, 0x6e, 0x74, 0x12, 0x41, 0x0a, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f,
0x67, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x6c, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x2e, 0x45, 0x76, 0x65,
0x6e, 0x74, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x65, 0x76,
0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x42, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61,
0x69, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x64, 0x61, 0x74,
0x61, 0x64, 0x6f, 0x67, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x6c, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x2e,
0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00,
0x52, 0x09, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x30, 0x0a, 0x03, 0x70,
0x6f, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64,
0x6f, 0x67, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x6c, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x2e, 0x50, 0x6f,
0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x03, 0x70, 0x6f, 0x64, 0x22, 0x17, 0x0a,
0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x65,
0x6c, 0x65, 0x74, 0x65, 0x10, 0x00, 0x42, 0x0c, 0x0a, 0x0a, 0x74, 0x79, 0x70, 0x65, 0x64, 0x45,
0x76, 0x65, 0x6e, 0x74, 0x22, 0xef, 0x02, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61,
0x69, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f,
0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75,
0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63,
0x65, 0x12, 0x1c, 0x0a, 0x08, 0x65, 0x78, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20,
0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x08, 0x65, 0x78, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12,
0x26, 0x0a, 0x0d, 0x65, 0x78, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x48, 0x01, 0x52, 0x0d, 0x65, 0x78, 0x69, 0x74, 0x54, 0x69,
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x43, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72,
0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67,
0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x6c, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x74,
0x61, 0x69, 0x6e, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72,
0x48, 0x02, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x88, 0x01, 0x01, 0x1a, 0x61, 0x0a, 0x05,
0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x3c, 0x0a, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x79,
0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64,
0x6f, 0x67, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x6c, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x2e, 0x4f, 0x62,
0x6a, 0x65, 0x63, 0x74, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x09, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x54,
0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x49, 0x44, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x49, 0x44, 0x42,
0x12, 0x0a, 0x10, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x45, 0x78, 0x69, 0x74, 0x43,
0x6f, 0x64, 0x65, 0x42, 0x17, 0x0a, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x45,
0x78, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x08, 0x0a, 0x06,
0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x22, 0x77, 0x0a, 0x08, 0x50, 0x6f, 0x64, 0x45, 0x76, 0x65,
0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6f, 0x64, 0x55, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x06, 0x70, 0x6f, 0x64, 0x55, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f,
0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72,
0x63, 0x65, 0x12, 0x29, 0x0a, 0x0d, 0x65, 0x78, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x0d, 0x65, 0x78, 0x69,
0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x88, 0x01, 0x01, 0x42, 0x10, 0x0a,
0x0e, 0x5f, 0x65, 0x78, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2a,
0x24, 0x0a, 0x0a, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x0d, 0x0a,
0x09, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03,
0x50, 0x6f, 0x64, 0x10, 0x01, 0x42, 0x30, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x44, 0x6f, 0x67, 0x2f, 0x61, 0x67, 0x65, 0x6e,
0x74, 0x2d, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2f, 0x76, 0x35, 0x2f, 0x63, 0x6f, 0x6e,
0x74, 0x6c, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_proto_contlcycle_contlcycle_proto_rawDescOnce sync.Once
file_proto_contlcycle_contlcycle_proto_rawDescData = file_proto_contlcycle_contlcycle_proto_rawDesc
)
func file_proto_contlcycle_contlcycle_proto_rawDescGZIP() []byte {
file_proto_contlcycle_contlcycle_proto_rawDescOnce.Do(func() {
file_proto_contlcycle_contlcycle_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_contlcycle_contlcycle_proto_rawDescData)
})
return file_proto_contlcycle_contlcycle_proto_rawDescData
}
var file_proto_contlcycle_contlcycle_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_proto_contlcycle_contlcycle_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_proto_contlcycle_contlcycle_proto_goTypes = []interface{}{
(ObjectKind)(0), // 0: datadog.contlcycle.ObjectKind
(Event_EventType)(0), // 1: datadog.contlcycle.Event.EventType
(*EventsPayload)(nil), // 2: datadog.contlcycle.EventsPayload
(*Event)(nil), // 3: datadog.contlcycle.Event
(*ContainerEvent)(nil), // 4: datadog.contlcycle.ContainerEvent
(*PodEvent)(nil), // 5: datadog.contlcycle.PodEvent
(*ContainerEvent_Owner)(nil), // 6: datadog.contlcycle.ContainerEvent.Owner
}
var file_proto_contlcycle_contlcycle_proto_depIdxs = []int32{
0, // 0: datadog.contlcycle.EventsPayload.objectKind:type_name -> datadog.contlcycle.ObjectKind
3, // 1: datadog.contlcycle.EventsPayload.events:type_name -> datadog.contlcycle.Event
1, // 2: datadog.contlcycle.Event.eventType:type_name -> datadog.contlcycle.Event.EventType
4, // 3: datadog.contlcycle.Event.container:type_name -> datadog.contlcycle.ContainerEvent
5, // 4: datadog.contlcycle.Event.pod:type_name -> datadog.contlcycle.PodEvent
6, // 5: datadog.contlcycle.ContainerEvent.owner:type_name -> datadog.contlcycle.ContainerEvent.Owner
0, // 6: datadog.contlcycle.ContainerEvent.Owner.ownerType:type_name -> datadog.contlcycle.ObjectKind
7, // [7:7] is the sub-list for method output_type
7, // [7:7] is the sub-list for method input_type
7, // [7:7] is the sub-list for extension type_name
7, // [7:7] is the sub-list for extension extendee
0, // [0:7] is the sub-list for field type_name
}
func init() { file_proto_contlcycle_contlcycle_proto_init() }
func file_proto_contlcycle_contlcycle_proto_init() {
if File_proto_contlcycle_contlcycle_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_proto_contlcycle_contlcycle_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EventsPayload); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_contlcycle_contlcycle_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Event); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_contlcycle_contlcycle_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ContainerEvent); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_contlcycle_contlcycle_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PodEvent); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_proto_contlcycle_contlcycle_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ContainerEvent_Owner); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_proto_contlcycle_contlcycle_proto_msgTypes[1].OneofWrappers = []interface{}{
(*Event_Container)(nil),
(*Event_Pod)(nil),
}
file_proto_contlcycle_contlcycle_proto_msgTypes[2].OneofWrappers = []interface{}{
(*ContainerEvent_ExitCode)(nil),
(*ContainerEvent_ExitTimestamp)(nil),
}
file_proto_contlcycle_contlcycle_proto_msgTypes[3].OneofWrappers = []interface{}{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_proto_contlcycle_contlcycle_proto_rawDesc,
NumEnums: 2,
NumMessages: 5,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_proto_contlcycle_contlcycle_proto_goTypes,
DependencyIndexes: file_proto_contlcycle_contlcycle_proto_depIdxs,
EnumInfos: file_proto_contlcycle_contlcycle_proto_enumTypes,
MessageInfos: file_proto_contlcycle_contlcycle_proto_msgTypes,
}.Build()
File_proto_contlcycle_contlcycle_proto = out.File
file_proto_contlcycle_contlcycle_proto_rawDesc = nil
file_proto_contlcycle_contlcycle_proto_goTypes = nil
file_proto_contlcycle_contlcycle_proto_depIdxs = nil
}