github.com/inspektor-gadget/inspektor-gadget@v0.28.1/pkg/gadgettracermanager/api/gadgettracermanager.pb.go (about) 1 // Copyright 2019-2021 The Inspektor Gadget authors 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // Code generated by protoc-gen-go. DO NOT EDIT. 16 // versions: 17 // protoc-gen-go v1.30.0 18 // protoc v3.12.4 19 // source: api/gadgettracermanager.proto 20 21 package gadgettracermanager 22 23 import ( 24 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 25 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 26 reflect "reflect" 27 sync "sync" 28 ) 29 30 const ( 31 // Verify that this generated code is sufficiently up-to-date. 32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 33 // Verify that runtime/protoimpl is sufficiently up-to-date. 34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 35 ) 36 37 type Label struct { 38 state protoimpl.MessageState 39 sizeCache protoimpl.SizeCache 40 unknownFields protoimpl.UnknownFields 41 42 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 43 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 44 } 45 46 func (x *Label) Reset() { 47 *x = Label{} 48 if protoimpl.UnsafeEnabled { 49 mi := &file_api_gadgettracermanager_proto_msgTypes[0] 50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 51 ms.StoreMessageInfo(mi) 52 } 53 } 54 55 func (x *Label) String() string { 56 return protoimpl.X.MessageStringOf(x) 57 } 58 59 func (*Label) ProtoMessage() {} 60 61 func (x *Label) ProtoReflect() protoreflect.Message { 62 mi := &file_api_gadgettracermanager_proto_msgTypes[0] 63 if protoimpl.UnsafeEnabled && x != nil { 64 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 65 if ms.LoadMessageInfo() == nil { 66 ms.StoreMessageInfo(mi) 67 } 68 return ms 69 } 70 return mi.MessageOf(x) 71 } 72 73 // Deprecated: Use Label.ProtoReflect.Descriptor instead. 74 func (*Label) Descriptor() ([]byte, []int) { 75 return file_api_gadgettracermanager_proto_rawDescGZIP(), []int{0} 76 } 77 78 func (x *Label) GetKey() string { 79 if x != nil { 80 return x.Key 81 } 82 return "" 83 } 84 85 func (x *Label) GetValue() string { 86 if x != nil { 87 return x.Value 88 } 89 return "" 90 } 91 92 type AddContainerResponse struct { 93 state protoimpl.MessageState 94 sizeCache protoimpl.SizeCache 95 unknownFields protoimpl.UnknownFields 96 97 Debug string `protobuf:"bytes,1,opt,name=debug,proto3" json:"debug,omitempty"` 98 } 99 100 func (x *AddContainerResponse) Reset() { 101 *x = AddContainerResponse{} 102 if protoimpl.UnsafeEnabled { 103 mi := &file_api_gadgettracermanager_proto_msgTypes[1] 104 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 105 ms.StoreMessageInfo(mi) 106 } 107 } 108 109 func (x *AddContainerResponse) String() string { 110 return protoimpl.X.MessageStringOf(x) 111 } 112 113 func (*AddContainerResponse) ProtoMessage() {} 114 115 func (x *AddContainerResponse) ProtoReflect() protoreflect.Message { 116 mi := &file_api_gadgettracermanager_proto_msgTypes[1] 117 if protoimpl.UnsafeEnabled && x != nil { 118 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 119 if ms.LoadMessageInfo() == nil { 120 ms.StoreMessageInfo(mi) 121 } 122 return ms 123 } 124 return mi.MessageOf(x) 125 } 126 127 // Deprecated: Use AddContainerResponse.ProtoReflect.Descriptor instead. 128 func (*AddContainerResponse) Descriptor() ([]byte, []int) { 129 return file_api_gadgettracermanager_proto_rawDescGZIP(), []int{1} 130 } 131 132 func (x *AddContainerResponse) GetDebug() string { 133 if x != nil { 134 return x.Debug 135 } 136 return "" 137 } 138 139 type RemoveContainerResponse struct { 140 state protoimpl.MessageState 141 sizeCache protoimpl.SizeCache 142 unknownFields protoimpl.UnknownFields 143 144 Debug string `protobuf:"bytes,1,opt,name=debug,proto3" json:"debug,omitempty"` 145 } 146 147 func (x *RemoveContainerResponse) Reset() { 148 *x = RemoveContainerResponse{} 149 if protoimpl.UnsafeEnabled { 150 mi := &file_api_gadgettracermanager_proto_msgTypes[2] 151 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 152 ms.StoreMessageInfo(mi) 153 } 154 } 155 156 func (x *RemoveContainerResponse) String() string { 157 return protoimpl.X.MessageStringOf(x) 158 } 159 160 func (*RemoveContainerResponse) ProtoMessage() {} 161 162 func (x *RemoveContainerResponse) ProtoReflect() protoreflect.Message { 163 mi := &file_api_gadgettracermanager_proto_msgTypes[2] 164 if protoimpl.UnsafeEnabled && x != nil { 165 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 166 if ms.LoadMessageInfo() == nil { 167 ms.StoreMessageInfo(mi) 168 } 169 return ms 170 } 171 return mi.MessageOf(x) 172 } 173 174 // Deprecated: Use RemoveContainerResponse.ProtoReflect.Descriptor instead. 175 func (*RemoveContainerResponse) Descriptor() ([]byte, []int) { 176 return file_api_gadgettracermanager_proto_rawDescGZIP(), []int{2} 177 } 178 179 func (x *RemoveContainerResponse) GetDebug() string { 180 if x != nil { 181 return x.Debug 182 } 183 return "" 184 } 185 186 type TracerID struct { 187 state protoimpl.MessageState 188 sizeCache protoimpl.SizeCache 189 unknownFields protoimpl.UnknownFields 190 191 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 192 } 193 194 func (x *TracerID) Reset() { 195 *x = TracerID{} 196 if protoimpl.UnsafeEnabled { 197 mi := &file_api_gadgettracermanager_proto_msgTypes[3] 198 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 199 ms.StoreMessageInfo(mi) 200 } 201 } 202 203 func (x *TracerID) String() string { 204 return protoimpl.X.MessageStringOf(x) 205 } 206 207 func (*TracerID) ProtoMessage() {} 208 209 func (x *TracerID) ProtoReflect() protoreflect.Message { 210 mi := &file_api_gadgettracermanager_proto_msgTypes[3] 211 if protoimpl.UnsafeEnabled && x != nil { 212 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 213 if ms.LoadMessageInfo() == nil { 214 ms.StoreMessageInfo(mi) 215 } 216 return ms 217 } 218 return mi.MessageOf(x) 219 } 220 221 // Deprecated: Use TracerID.ProtoReflect.Descriptor instead. 222 func (*TracerID) Descriptor() ([]byte, []int) { 223 return file_api_gadgettracermanager_proto_rawDescGZIP(), []int{3} 224 } 225 226 func (x *TracerID) GetId() string { 227 if x != nil { 228 return x.Id 229 } 230 return "" 231 } 232 233 type StreamData struct { 234 state protoimpl.MessageState 235 sizeCache protoimpl.SizeCache 236 unknownFields protoimpl.UnknownFields 237 238 Line string `protobuf:"bytes,1,opt,name=line,proto3" json:"line,omitempty"` 239 } 240 241 func (x *StreamData) Reset() { 242 *x = StreamData{} 243 if protoimpl.UnsafeEnabled { 244 mi := &file_api_gadgettracermanager_proto_msgTypes[4] 245 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 246 ms.StoreMessageInfo(mi) 247 } 248 } 249 250 func (x *StreamData) String() string { 251 return protoimpl.X.MessageStringOf(x) 252 } 253 254 func (*StreamData) ProtoMessage() {} 255 256 func (x *StreamData) ProtoReflect() protoreflect.Message { 257 mi := &file_api_gadgettracermanager_proto_msgTypes[4] 258 if protoimpl.UnsafeEnabled && x != nil { 259 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 260 if ms.LoadMessageInfo() == nil { 261 ms.StoreMessageInfo(mi) 262 } 263 return ms 264 } 265 return mi.MessageOf(x) 266 } 267 268 // Deprecated: Use StreamData.ProtoReflect.Descriptor instead. 269 func (*StreamData) Descriptor() ([]byte, []int) { 270 return file_api_gadgettracermanager_proto_rawDescGZIP(), []int{4} 271 } 272 273 func (x *StreamData) GetLine() string { 274 if x != nil { 275 return x.Line 276 } 277 return "" 278 } 279 280 type OwnerReference struct { 281 state protoimpl.MessageState 282 sizeCache protoimpl.SizeCache 283 unknownFields protoimpl.UnknownFields 284 285 Apiversion string `protobuf:"bytes,1,opt,name=apiversion,proto3" json:"apiversion,omitempty"` 286 Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` 287 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 288 Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid,omitempty"` 289 } 290 291 func (x *OwnerReference) Reset() { 292 *x = OwnerReference{} 293 if protoimpl.UnsafeEnabled { 294 mi := &file_api_gadgettracermanager_proto_msgTypes[5] 295 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 296 ms.StoreMessageInfo(mi) 297 } 298 } 299 300 func (x *OwnerReference) String() string { 301 return protoimpl.X.MessageStringOf(x) 302 } 303 304 func (*OwnerReference) ProtoMessage() {} 305 306 func (x *OwnerReference) ProtoReflect() protoreflect.Message { 307 mi := &file_api_gadgettracermanager_proto_msgTypes[5] 308 if protoimpl.UnsafeEnabled && x != nil { 309 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 310 if ms.LoadMessageInfo() == nil { 311 ms.StoreMessageInfo(mi) 312 } 313 return ms 314 } 315 return mi.MessageOf(x) 316 } 317 318 // Deprecated: Use OwnerReference.ProtoReflect.Descriptor instead. 319 func (*OwnerReference) Descriptor() ([]byte, []int) { 320 return file_api_gadgettracermanager_proto_rawDescGZIP(), []int{5} 321 } 322 323 func (x *OwnerReference) GetApiversion() string { 324 if x != nil { 325 return x.Apiversion 326 } 327 return "" 328 } 329 330 func (x *OwnerReference) GetKind() string { 331 if x != nil { 332 return x.Kind 333 } 334 return "" 335 } 336 337 func (x *OwnerReference) GetName() string { 338 if x != nil { 339 return x.Name 340 } 341 return "" 342 } 343 344 func (x *OwnerReference) GetUid() string { 345 if x != nil { 346 return x.Uid 347 } 348 return "" 349 } 350 351 type ContainerDefinition struct { 352 state protoimpl.MessageState 353 sizeCache protoimpl.SizeCache 354 unknownFields protoimpl.UnknownFields 355 356 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 357 Pid uint32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"` 358 OciConfig string `protobuf:"bytes,3,opt,name=oci_config,json=ociConfig,proto3" json:"oci_config,omitempty"` 359 // NRI and OCI hooks don't give the OCI config but give pod details 360 Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` 361 Podname string `protobuf:"bytes,5,opt,name=podname,proto3" json:"podname,omitempty"` 362 Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` 363 Labels []*Label `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty"` 364 // Some hooks do not have information about the pod labels 365 LabelsSet bool `protobuf:"varint,8,opt,name=labels_set,json=labelsSet,proto3" json:"labels_set,omitempty"` 366 } 367 368 func (x *ContainerDefinition) Reset() { 369 *x = ContainerDefinition{} 370 if protoimpl.UnsafeEnabled { 371 mi := &file_api_gadgettracermanager_proto_msgTypes[6] 372 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 373 ms.StoreMessageInfo(mi) 374 } 375 } 376 377 func (x *ContainerDefinition) String() string { 378 return protoimpl.X.MessageStringOf(x) 379 } 380 381 func (*ContainerDefinition) ProtoMessage() {} 382 383 func (x *ContainerDefinition) ProtoReflect() protoreflect.Message { 384 mi := &file_api_gadgettracermanager_proto_msgTypes[6] 385 if protoimpl.UnsafeEnabled && x != nil { 386 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 387 if ms.LoadMessageInfo() == nil { 388 ms.StoreMessageInfo(mi) 389 } 390 return ms 391 } 392 return mi.MessageOf(x) 393 } 394 395 // Deprecated: Use ContainerDefinition.ProtoReflect.Descriptor instead. 396 func (*ContainerDefinition) Descriptor() ([]byte, []int) { 397 return file_api_gadgettracermanager_proto_rawDescGZIP(), []int{6} 398 } 399 400 func (x *ContainerDefinition) GetId() string { 401 if x != nil { 402 return x.Id 403 } 404 return "" 405 } 406 407 func (x *ContainerDefinition) GetPid() uint32 { 408 if x != nil { 409 return x.Pid 410 } 411 return 0 412 } 413 414 func (x *ContainerDefinition) GetOciConfig() string { 415 if x != nil { 416 return x.OciConfig 417 } 418 return "" 419 } 420 421 func (x *ContainerDefinition) GetNamespace() string { 422 if x != nil { 423 return x.Namespace 424 } 425 return "" 426 } 427 428 func (x *ContainerDefinition) GetPodname() string { 429 if x != nil { 430 return x.Podname 431 } 432 return "" 433 } 434 435 func (x *ContainerDefinition) GetName() string { 436 if x != nil { 437 return x.Name 438 } 439 return "" 440 } 441 442 func (x *ContainerDefinition) GetLabels() []*Label { 443 if x != nil { 444 return x.Labels 445 } 446 return nil 447 } 448 449 func (x *ContainerDefinition) GetLabelsSet() bool { 450 if x != nil { 451 return x.LabelsSet 452 } 453 return false 454 } 455 456 type DumpStateRequest struct { 457 state protoimpl.MessageState 458 sizeCache protoimpl.SizeCache 459 unknownFields protoimpl.UnknownFields 460 } 461 462 func (x *DumpStateRequest) Reset() { 463 *x = DumpStateRequest{} 464 if protoimpl.UnsafeEnabled { 465 mi := &file_api_gadgettracermanager_proto_msgTypes[7] 466 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 467 ms.StoreMessageInfo(mi) 468 } 469 } 470 471 func (x *DumpStateRequest) String() string { 472 return protoimpl.X.MessageStringOf(x) 473 } 474 475 func (*DumpStateRequest) ProtoMessage() {} 476 477 func (x *DumpStateRequest) ProtoReflect() protoreflect.Message { 478 mi := &file_api_gadgettracermanager_proto_msgTypes[7] 479 if protoimpl.UnsafeEnabled && x != nil { 480 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 481 if ms.LoadMessageInfo() == nil { 482 ms.StoreMessageInfo(mi) 483 } 484 return ms 485 } 486 return mi.MessageOf(x) 487 } 488 489 // Deprecated: Use DumpStateRequest.ProtoReflect.Descriptor instead. 490 func (*DumpStateRequest) Descriptor() ([]byte, []int) { 491 return file_api_gadgettracermanager_proto_rawDescGZIP(), []int{7} 492 } 493 494 type Dump struct { 495 state protoimpl.MessageState 496 sizeCache protoimpl.SizeCache 497 unknownFields protoimpl.UnknownFields 498 499 Containers string `protobuf:"bytes,1,opt,name=containers,proto3" json:"containers,omitempty"` 500 Traces string `protobuf:"bytes,2,opt,name=traces,proto3" json:"traces,omitempty"` 501 Stacks string `protobuf:"bytes,3,opt,name=stacks,proto3" json:"stacks,omitempty"` 502 } 503 504 func (x *Dump) Reset() { 505 *x = Dump{} 506 if protoimpl.UnsafeEnabled { 507 mi := &file_api_gadgettracermanager_proto_msgTypes[8] 508 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 509 ms.StoreMessageInfo(mi) 510 } 511 } 512 513 func (x *Dump) String() string { 514 return protoimpl.X.MessageStringOf(x) 515 } 516 517 func (*Dump) ProtoMessage() {} 518 519 func (x *Dump) ProtoReflect() protoreflect.Message { 520 mi := &file_api_gadgettracermanager_proto_msgTypes[8] 521 if protoimpl.UnsafeEnabled && x != nil { 522 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 523 if ms.LoadMessageInfo() == nil { 524 ms.StoreMessageInfo(mi) 525 } 526 return ms 527 } 528 return mi.MessageOf(x) 529 } 530 531 // Deprecated: Use Dump.ProtoReflect.Descriptor instead. 532 func (*Dump) Descriptor() ([]byte, []int) { 533 return file_api_gadgettracermanager_proto_rawDescGZIP(), []int{8} 534 } 535 536 func (x *Dump) GetContainers() string { 537 if x != nil { 538 return x.Containers 539 } 540 return "" 541 } 542 543 func (x *Dump) GetTraces() string { 544 if x != nil { 545 return x.Traces 546 } 547 return "" 548 } 549 550 func (x *Dump) GetStacks() string { 551 if x != nil { 552 return x.Stacks 553 } 554 return "" 555 } 556 557 var File_api_gadgettracermanager_proto protoreflect.FileDescriptor 558 559 var file_api_gadgettracermanager_proto_rawDesc = []byte{ 560 0x0a, 0x1d, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x63, 561 0x65, 0x72, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 562 0x13, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x6d, 0x61, 0x6e, 563 0x61, 0x67, 0x65, 0x72, 0x22, 0x2f, 0x0a, 0x05, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x10, 0x0a, 564 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 565 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 566 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x2c, 0x0a, 0x14, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6e, 0x74, 567 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 568 0x05, 0x64, 0x65, 0x62, 0x75, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 569 0x62, 0x75, 0x67, 0x22, 0x2f, 0x0a, 0x17, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x43, 0x6f, 0x6e, 570 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 571 0x0a, 0x05, 0x64, 0x65, 0x62, 0x75, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 572 0x65, 0x62, 0x75, 0x67, 0x22, 0x1a, 0x0a, 0x08, 0x54, 0x72, 0x61, 0x63, 0x65, 0x72, 0x49, 0x44, 573 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 574 0x22, 0x20, 0x0a, 0x0a, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x12, 0x12, 575 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 576 0x6e, 0x65, 0x22, 0x6a, 0x0a, 0x0e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x66, 0x65, 0x72, 577 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x76, 0x65, 0x72, 0x73, 0x69, 578 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x76, 0x65, 0x72, 579 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 580 0x28, 0x09, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 581 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 582 0x75, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, 0xf5, 583 0x01, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x44, 0x65, 0x66, 0x69, 584 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 585 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 586 0x01, 0x28, 0x0d, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x63, 0x69, 0x5f, 587 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x63, 588 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 589 0x70, 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 590 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x6f, 0x64, 0x6e, 0x61, 0x6d, 0x65, 591 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6f, 0x64, 0x6e, 0x61, 0x6d, 0x65, 0x12, 592 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 593 0x61, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x07, 0x20, 594 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x63, 595 0x65, 0x72, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 596 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x61, 0x62, 0x65, 0x6c, 597 0x73, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6c, 0x61, 0x62, 598 0x65, 0x6c, 0x73, 0x53, 0x65, 0x74, 0x22, 0x12, 0x0a, 0x10, 0x44, 0x75, 0x6d, 0x70, 0x53, 0x74, 599 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x56, 0x0a, 0x04, 0x44, 0x75, 600 0x6d, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 601 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 602 0x72, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x72, 0x61, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 603 0x28, 0x09, 0x52, 0x06, 0x74, 0x72, 0x61, 0x63, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 604 0x61, 0x63, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x63, 605 0x6b, 0x73, 0x32, 0x8f, 0x03, 0x0a, 0x13, 0x47, 0x61, 0x64, 0x67, 0x65, 0x74, 0x54, 0x72, 0x61, 606 0x63, 0x65, 0x72, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x12, 0x53, 0x0a, 0x0d, 0x52, 0x65, 607 0x63, 0x65, 0x69, 0x76, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x1d, 0x2e, 0x67, 0x61, 608 0x64, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 609 0x72, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x72, 0x49, 0x44, 0x1a, 0x1f, 0x2e, 0x67, 0x61, 0x64, 610 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 611 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x22, 0x00, 0x30, 0x01, 0x12, 612 0x65, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 613 0x28, 0x2e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x6d, 0x61, 614 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x44, 615 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x29, 0x2e, 0x67, 0x61, 0x64, 0x67, 616 0x65, 0x74, 0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 617 0x41, 0x64, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 618 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6b, 0x0a, 0x0f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 619 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x28, 0x2e, 0x67, 0x61, 0x64, 0x67, 620 0x65, 0x74, 0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 621 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 622 0x69, 0x6f, 0x6e, 0x1a, 0x2c, 0x2e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x63, 623 0x65, 0x72, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 624 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 625 0x65, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x09, 0x44, 0x75, 0x6d, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 626 0x12, 0x25, 0x2e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x6d, 627 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x44, 0x75, 0x6d, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 628 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 629 0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2e, 0x44, 0x75, 630 0x6d, 0x70, 0x22, 0x00, 0x42, 0x46, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 631 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x6b, 0x74, 0x6f, 0x72, 0x2d, 0x67, 0x61, 0x64, 632 0x67, 0x65, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x6b, 0x74, 0x6f, 0x72, 0x2d, 0x67, 0x61, 633 0x64, 0x67, 0x65, 0x74, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x67, 0x61, 0x64, 0x67, 0x65, 0x74, 0x74, 634 0x72, 0x61, 0x63, 0x65, 0x72, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 635 0x6f, 0x74, 0x6f, 0x33, 636 } 637 638 var ( 639 file_api_gadgettracermanager_proto_rawDescOnce sync.Once 640 file_api_gadgettracermanager_proto_rawDescData = file_api_gadgettracermanager_proto_rawDesc 641 ) 642 643 func file_api_gadgettracermanager_proto_rawDescGZIP() []byte { 644 file_api_gadgettracermanager_proto_rawDescOnce.Do(func() { 645 file_api_gadgettracermanager_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_gadgettracermanager_proto_rawDescData) 646 }) 647 return file_api_gadgettracermanager_proto_rawDescData 648 } 649 650 var file_api_gadgettracermanager_proto_msgTypes = make([]protoimpl.MessageInfo, 9) 651 var file_api_gadgettracermanager_proto_goTypes = []interface{}{ 652 (*Label)(nil), // 0: gadgettracermanager.Label 653 (*AddContainerResponse)(nil), // 1: gadgettracermanager.AddContainerResponse 654 (*RemoveContainerResponse)(nil), // 2: gadgettracermanager.RemoveContainerResponse 655 (*TracerID)(nil), // 3: gadgettracermanager.TracerID 656 (*StreamData)(nil), // 4: gadgettracermanager.StreamData 657 (*OwnerReference)(nil), // 5: gadgettracermanager.OwnerReference 658 (*ContainerDefinition)(nil), // 6: gadgettracermanager.ContainerDefinition 659 (*DumpStateRequest)(nil), // 7: gadgettracermanager.DumpStateRequest 660 (*Dump)(nil), // 8: gadgettracermanager.Dump 661 } 662 var file_api_gadgettracermanager_proto_depIdxs = []int32{ 663 0, // 0: gadgettracermanager.ContainerDefinition.labels:type_name -> gadgettracermanager.Label 664 3, // 1: gadgettracermanager.GadgetTracerManager.ReceiveStream:input_type -> gadgettracermanager.TracerID 665 6, // 2: gadgettracermanager.GadgetTracerManager.AddContainer:input_type -> gadgettracermanager.ContainerDefinition 666 6, // 3: gadgettracermanager.GadgetTracerManager.RemoveContainer:input_type -> gadgettracermanager.ContainerDefinition 667 7, // 4: gadgettracermanager.GadgetTracerManager.DumpState:input_type -> gadgettracermanager.DumpStateRequest 668 4, // 5: gadgettracermanager.GadgetTracerManager.ReceiveStream:output_type -> gadgettracermanager.StreamData 669 1, // 6: gadgettracermanager.GadgetTracerManager.AddContainer:output_type -> gadgettracermanager.AddContainerResponse 670 2, // 7: gadgettracermanager.GadgetTracerManager.RemoveContainer:output_type -> gadgettracermanager.RemoveContainerResponse 671 8, // 8: gadgettracermanager.GadgetTracerManager.DumpState:output_type -> gadgettracermanager.Dump 672 5, // [5:9] is the sub-list for method output_type 673 1, // [1:5] is the sub-list for method input_type 674 1, // [1:1] is the sub-list for extension type_name 675 1, // [1:1] is the sub-list for extension extendee 676 0, // [0:1] is the sub-list for field type_name 677 } 678 679 func init() { file_api_gadgettracermanager_proto_init() } 680 func file_api_gadgettracermanager_proto_init() { 681 if File_api_gadgettracermanager_proto != nil { 682 return 683 } 684 if !protoimpl.UnsafeEnabled { 685 file_api_gadgettracermanager_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 686 switch v := v.(*Label); i { 687 case 0: 688 return &v.state 689 case 1: 690 return &v.sizeCache 691 case 2: 692 return &v.unknownFields 693 default: 694 return nil 695 } 696 } 697 file_api_gadgettracermanager_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 698 switch v := v.(*AddContainerResponse); i { 699 case 0: 700 return &v.state 701 case 1: 702 return &v.sizeCache 703 case 2: 704 return &v.unknownFields 705 default: 706 return nil 707 } 708 } 709 file_api_gadgettracermanager_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 710 switch v := v.(*RemoveContainerResponse); i { 711 case 0: 712 return &v.state 713 case 1: 714 return &v.sizeCache 715 case 2: 716 return &v.unknownFields 717 default: 718 return nil 719 } 720 } 721 file_api_gadgettracermanager_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 722 switch v := v.(*TracerID); i { 723 case 0: 724 return &v.state 725 case 1: 726 return &v.sizeCache 727 case 2: 728 return &v.unknownFields 729 default: 730 return nil 731 } 732 } 733 file_api_gadgettracermanager_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 734 switch v := v.(*StreamData); i { 735 case 0: 736 return &v.state 737 case 1: 738 return &v.sizeCache 739 case 2: 740 return &v.unknownFields 741 default: 742 return nil 743 } 744 } 745 file_api_gadgettracermanager_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 746 switch v := v.(*OwnerReference); i { 747 case 0: 748 return &v.state 749 case 1: 750 return &v.sizeCache 751 case 2: 752 return &v.unknownFields 753 default: 754 return nil 755 } 756 } 757 file_api_gadgettracermanager_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 758 switch v := v.(*ContainerDefinition); i { 759 case 0: 760 return &v.state 761 case 1: 762 return &v.sizeCache 763 case 2: 764 return &v.unknownFields 765 default: 766 return nil 767 } 768 } 769 file_api_gadgettracermanager_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 770 switch v := v.(*DumpStateRequest); i { 771 case 0: 772 return &v.state 773 case 1: 774 return &v.sizeCache 775 case 2: 776 return &v.unknownFields 777 default: 778 return nil 779 } 780 } 781 file_api_gadgettracermanager_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 782 switch v := v.(*Dump); i { 783 case 0: 784 return &v.state 785 case 1: 786 return &v.sizeCache 787 case 2: 788 return &v.unknownFields 789 default: 790 return nil 791 } 792 } 793 } 794 type x struct{} 795 out := protoimpl.TypeBuilder{ 796 File: protoimpl.DescBuilder{ 797 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 798 RawDescriptor: file_api_gadgettracermanager_proto_rawDesc, 799 NumEnums: 0, 800 NumMessages: 9, 801 NumExtensions: 0, 802 NumServices: 1, 803 }, 804 GoTypes: file_api_gadgettracermanager_proto_goTypes, 805 DependencyIndexes: file_api_gadgettracermanager_proto_depIdxs, 806 MessageInfos: file_api_gadgettracermanager_proto_msgTypes, 807 }.Build() 808 File_api_gadgettracermanager_proto = out.File 809 file_api_gadgettracermanager_proto_rawDesc = nil 810 file_api_gadgettracermanager_proto_goTypes = nil 811 file_api_gadgettracermanager_proto_depIdxs = nil 812 }