github.com/castai/kvisor@v1.7.1-0.20240516114728-b3572a2607b5/api/v1/kube/kube_api.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.1 4 // protoc v5.26.1 5 // source: api/v1/kube/kube_api.proto 6 7 package v1 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 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type GetClusterInfoRequest struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 } 28 29 func (x *GetClusterInfoRequest) Reset() { 30 *x = GetClusterInfoRequest{} 31 if protoimpl.UnsafeEnabled { 32 mi := &file_api_v1_kube_kube_api_proto_msgTypes[0] 33 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 34 ms.StoreMessageInfo(mi) 35 } 36 } 37 38 func (x *GetClusterInfoRequest) String() string { 39 return protoimpl.X.MessageStringOf(x) 40 } 41 42 func (*GetClusterInfoRequest) ProtoMessage() {} 43 44 func (x *GetClusterInfoRequest) ProtoReflect() protoreflect.Message { 45 mi := &file_api_v1_kube_kube_api_proto_msgTypes[0] 46 if protoimpl.UnsafeEnabled && x != nil { 47 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 48 if ms.LoadMessageInfo() == nil { 49 ms.StoreMessageInfo(mi) 50 } 51 return ms 52 } 53 return mi.MessageOf(x) 54 } 55 56 // Deprecated: Use GetClusterInfoRequest.ProtoReflect.Descriptor instead. 57 func (*GetClusterInfoRequest) Descriptor() ([]byte, []int) { 58 return file_api_v1_kube_kube_api_proto_rawDescGZIP(), []int{0} 59 } 60 61 type GetClusterInfoResponse struct { 62 state protoimpl.MessageState 63 sizeCache protoimpl.SizeCache 64 unknownFields protoimpl.UnknownFields 65 66 PodsCidr string `protobuf:"bytes,1,opt,name=pods_cidr,json=podsCidr,proto3" json:"pods_cidr,omitempty"` 67 ServiceCidr string `protobuf:"bytes,2,opt,name=service_cidr,json=serviceCidr,proto3" json:"service_cidr,omitempty"` 68 } 69 70 func (x *GetClusterInfoResponse) Reset() { 71 *x = GetClusterInfoResponse{} 72 if protoimpl.UnsafeEnabled { 73 mi := &file_api_v1_kube_kube_api_proto_msgTypes[1] 74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 75 ms.StoreMessageInfo(mi) 76 } 77 } 78 79 func (x *GetClusterInfoResponse) String() string { 80 return protoimpl.X.MessageStringOf(x) 81 } 82 83 func (*GetClusterInfoResponse) ProtoMessage() {} 84 85 func (x *GetClusterInfoResponse) ProtoReflect() protoreflect.Message { 86 mi := &file_api_v1_kube_kube_api_proto_msgTypes[1] 87 if protoimpl.UnsafeEnabled && x != nil { 88 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 89 if ms.LoadMessageInfo() == nil { 90 ms.StoreMessageInfo(mi) 91 } 92 return ms 93 } 94 return mi.MessageOf(x) 95 } 96 97 // Deprecated: Use GetClusterInfoResponse.ProtoReflect.Descriptor instead. 98 func (*GetClusterInfoResponse) Descriptor() ([]byte, []int) { 99 return file_api_v1_kube_kube_api_proto_rawDescGZIP(), []int{1} 100 } 101 102 func (x *GetClusterInfoResponse) GetPodsCidr() string { 103 if x != nil { 104 return x.PodsCidr 105 } 106 return "" 107 } 108 109 func (x *GetClusterInfoResponse) GetServiceCidr() string { 110 if x != nil { 111 return x.ServiceCidr 112 } 113 return "" 114 } 115 116 type GetIPInfoRequest struct { 117 state protoimpl.MessageState 118 sizeCache protoimpl.SizeCache 119 unknownFields protoimpl.UnknownFields 120 121 Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` 122 } 123 124 func (x *GetIPInfoRequest) Reset() { 125 *x = GetIPInfoRequest{} 126 if protoimpl.UnsafeEnabled { 127 mi := &file_api_v1_kube_kube_api_proto_msgTypes[2] 128 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 129 ms.StoreMessageInfo(mi) 130 } 131 } 132 133 func (x *GetIPInfoRequest) String() string { 134 return protoimpl.X.MessageStringOf(x) 135 } 136 137 func (*GetIPInfoRequest) ProtoMessage() {} 138 139 func (x *GetIPInfoRequest) ProtoReflect() protoreflect.Message { 140 mi := &file_api_v1_kube_kube_api_proto_msgTypes[2] 141 if protoimpl.UnsafeEnabled && x != nil { 142 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 143 if ms.LoadMessageInfo() == nil { 144 ms.StoreMessageInfo(mi) 145 } 146 return ms 147 } 148 return mi.MessageOf(x) 149 } 150 151 // Deprecated: Use GetIPInfoRequest.ProtoReflect.Descriptor instead. 152 func (*GetIPInfoRequest) Descriptor() ([]byte, []int) { 153 return file_api_v1_kube_kube_api_proto_rawDescGZIP(), []int{2} 154 } 155 156 func (x *GetIPInfoRequest) GetIp() string { 157 if x != nil { 158 return x.Ip 159 } 160 return "" 161 } 162 163 type GetIPInfoResponse struct { 164 state protoimpl.MessageState 165 sizeCache protoimpl.SizeCache 166 unknownFields protoimpl.UnknownFields 167 168 Info *IPInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` 169 } 170 171 func (x *GetIPInfoResponse) Reset() { 172 *x = GetIPInfoResponse{} 173 if protoimpl.UnsafeEnabled { 174 mi := &file_api_v1_kube_kube_api_proto_msgTypes[3] 175 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 176 ms.StoreMessageInfo(mi) 177 } 178 } 179 180 func (x *GetIPInfoResponse) String() string { 181 return protoimpl.X.MessageStringOf(x) 182 } 183 184 func (*GetIPInfoResponse) ProtoMessage() {} 185 186 func (x *GetIPInfoResponse) ProtoReflect() protoreflect.Message { 187 mi := &file_api_v1_kube_kube_api_proto_msgTypes[3] 188 if protoimpl.UnsafeEnabled && x != nil { 189 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 190 if ms.LoadMessageInfo() == nil { 191 ms.StoreMessageInfo(mi) 192 } 193 return ms 194 } 195 return mi.MessageOf(x) 196 } 197 198 // Deprecated: Use GetIPInfoResponse.ProtoReflect.Descriptor instead. 199 func (*GetIPInfoResponse) Descriptor() ([]byte, []int) { 200 return file_api_v1_kube_kube_api_proto_rawDescGZIP(), []int{3} 201 } 202 203 func (x *GetIPInfoResponse) GetInfo() *IPInfo { 204 if x != nil { 205 return x.Info 206 } 207 return nil 208 } 209 210 type IPInfo struct { 211 state protoimpl.MessageState 212 sizeCache protoimpl.SizeCache 213 unknownFields protoimpl.UnknownFields 214 215 PodUid string `protobuf:"bytes,1,opt,name=pod_uid,json=podUid,proto3" json:"pod_uid,omitempty"` 216 PodName string `protobuf:"bytes,3,opt,name=pod_name,json=podName,proto3" json:"pod_name,omitempty"` 217 Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` 218 WorkloadName string `protobuf:"bytes,4,opt,name=workload_name,json=workloadName,proto3" json:"workload_name,omitempty"` 219 WorkloadKind string `protobuf:"bytes,5,opt,name=workload_kind,json=workloadKind,proto3" json:"workload_kind,omitempty"` 220 WorkloadUid string `protobuf:"bytes,6,opt,name=workload_uid,json=workloadUid,proto3" json:"workload_uid,omitempty"` 221 Zone string `protobuf:"bytes,7,opt,name=zone,proto3" json:"zone,omitempty"` 222 } 223 224 func (x *IPInfo) Reset() { 225 *x = IPInfo{} 226 if protoimpl.UnsafeEnabled { 227 mi := &file_api_v1_kube_kube_api_proto_msgTypes[4] 228 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 229 ms.StoreMessageInfo(mi) 230 } 231 } 232 233 func (x *IPInfo) String() string { 234 return protoimpl.X.MessageStringOf(x) 235 } 236 237 func (*IPInfo) ProtoMessage() {} 238 239 func (x *IPInfo) ProtoReflect() protoreflect.Message { 240 mi := &file_api_v1_kube_kube_api_proto_msgTypes[4] 241 if protoimpl.UnsafeEnabled && x != nil { 242 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 243 if ms.LoadMessageInfo() == nil { 244 ms.StoreMessageInfo(mi) 245 } 246 return ms 247 } 248 return mi.MessageOf(x) 249 } 250 251 // Deprecated: Use IPInfo.ProtoReflect.Descriptor instead. 252 func (*IPInfo) Descriptor() ([]byte, []int) { 253 return file_api_v1_kube_kube_api_proto_rawDescGZIP(), []int{4} 254 } 255 256 func (x *IPInfo) GetPodUid() string { 257 if x != nil { 258 return x.PodUid 259 } 260 return "" 261 } 262 263 func (x *IPInfo) GetPodName() string { 264 if x != nil { 265 return x.PodName 266 } 267 return "" 268 } 269 270 func (x *IPInfo) GetNamespace() string { 271 if x != nil { 272 return x.Namespace 273 } 274 return "" 275 } 276 277 func (x *IPInfo) GetWorkloadName() string { 278 if x != nil { 279 return x.WorkloadName 280 } 281 return "" 282 } 283 284 func (x *IPInfo) GetWorkloadKind() string { 285 if x != nil { 286 return x.WorkloadKind 287 } 288 return "" 289 } 290 291 func (x *IPInfo) GetWorkloadUid() string { 292 if x != nil { 293 return x.WorkloadUid 294 } 295 return "" 296 } 297 298 func (x *IPInfo) GetZone() string { 299 if x != nil { 300 return x.Zone 301 } 302 return "" 303 } 304 305 type GetPodRequest struct { 306 state protoimpl.MessageState 307 sizeCache protoimpl.SizeCache 308 unknownFields protoimpl.UnknownFields 309 310 Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` 311 } 312 313 func (x *GetPodRequest) Reset() { 314 *x = GetPodRequest{} 315 if protoimpl.UnsafeEnabled { 316 mi := &file_api_v1_kube_kube_api_proto_msgTypes[5] 317 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 318 ms.StoreMessageInfo(mi) 319 } 320 } 321 322 func (x *GetPodRequest) String() string { 323 return protoimpl.X.MessageStringOf(x) 324 } 325 326 func (*GetPodRequest) ProtoMessage() {} 327 328 func (x *GetPodRequest) ProtoReflect() protoreflect.Message { 329 mi := &file_api_v1_kube_kube_api_proto_msgTypes[5] 330 if protoimpl.UnsafeEnabled && x != nil { 331 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 332 if ms.LoadMessageInfo() == nil { 333 ms.StoreMessageInfo(mi) 334 } 335 return ms 336 } 337 return mi.MessageOf(x) 338 } 339 340 // Deprecated: Use GetPodRequest.ProtoReflect.Descriptor instead. 341 func (*GetPodRequest) Descriptor() ([]byte, []int) { 342 return file_api_v1_kube_kube_api_proto_rawDescGZIP(), []int{5} 343 } 344 345 func (x *GetPodRequest) GetUid() string { 346 if x != nil { 347 return x.Uid 348 } 349 return "" 350 } 351 352 type GetPodResponse struct { 353 state protoimpl.MessageState 354 sizeCache protoimpl.SizeCache 355 unknownFields protoimpl.UnknownFields 356 357 Pod *Pod `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"` 358 } 359 360 func (x *GetPodResponse) Reset() { 361 *x = GetPodResponse{} 362 if protoimpl.UnsafeEnabled { 363 mi := &file_api_v1_kube_kube_api_proto_msgTypes[6] 364 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 365 ms.StoreMessageInfo(mi) 366 } 367 } 368 369 func (x *GetPodResponse) String() string { 370 return protoimpl.X.MessageStringOf(x) 371 } 372 373 func (*GetPodResponse) ProtoMessage() {} 374 375 func (x *GetPodResponse) ProtoReflect() protoreflect.Message { 376 mi := &file_api_v1_kube_kube_api_proto_msgTypes[6] 377 if protoimpl.UnsafeEnabled && x != nil { 378 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 379 if ms.LoadMessageInfo() == nil { 380 ms.StoreMessageInfo(mi) 381 } 382 return ms 383 } 384 return mi.MessageOf(x) 385 } 386 387 // Deprecated: Use GetPodResponse.ProtoReflect.Descriptor instead. 388 func (*GetPodResponse) Descriptor() ([]byte, []int) { 389 return file_api_v1_kube_kube_api_proto_rawDescGZIP(), []int{6} 390 } 391 392 func (x *GetPodResponse) GetPod() *Pod { 393 if x != nil { 394 return x.Pod 395 } 396 return nil 397 } 398 399 type Pod struct { 400 state protoimpl.MessageState 401 sizeCache protoimpl.SizeCache 402 unknownFields protoimpl.UnknownFields 403 404 Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` 405 Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` 406 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 407 WorkloadName string `protobuf:"bytes,4,opt,name=workload_name,json=workloadName,proto3" json:"workload_name,omitempty"` 408 WorkloadKind string `protobuf:"bytes,5,opt,name=workload_kind,json=workloadKind,proto3" json:"workload_kind,omitempty"` 409 Zone string `protobuf:"bytes,6,opt,name=zone,proto3" json:"zone,omitempty"` 410 } 411 412 func (x *Pod) Reset() { 413 *x = Pod{} 414 if protoimpl.UnsafeEnabled { 415 mi := &file_api_v1_kube_kube_api_proto_msgTypes[7] 416 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 417 ms.StoreMessageInfo(mi) 418 } 419 } 420 421 func (x *Pod) String() string { 422 return protoimpl.X.MessageStringOf(x) 423 } 424 425 func (*Pod) ProtoMessage() {} 426 427 func (x *Pod) ProtoReflect() protoreflect.Message { 428 mi := &file_api_v1_kube_kube_api_proto_msgTypes[7] 429 if protoimpl.UnsafeEnabled && x != nil { 430 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 431 if ms.LoadMessageInfo() == nil { 432 ms.StoreMessageInfo(mi) 433 } 434 return ms 435 } 436 return mi.MessageOf(x) 437 } 438 439 // Deprecated: Use Pod.ProtoReflect.Descriptor instead. 440 func (*Pod) Descriptor() ([]byte, []int) { 441 return file_api_v1_kube_kube_api_proto_rawDescGZIP(), []int{7} 442 } 443 444 func (x *Pod) GetUid() string { 445 if x != nil { 446 return x.Uid 447 } 448 return "" 449 } 450 451 func (x *Pod) GetNamespace() string { 452 if x != nil { 453 return x.Namespace 454 } 455 return "" 456 } 457 458 func (x *Pod) GetName() string { 459 if x != nil { 460 return x.Name 461 } 462 return "" 463 } 464 465 func (x *Pod) GetWorkloadName() string { 466 if x != nil { 467 return x.WorkloadName 468 } 469 return "" 470 } 471 472 func (x *Pod) GetWorkloadKind() string { 473 if x != nil { 474 return x.WorkloadKind 475 } 476 return "" 477 } 478 479 func (x *Pod) GetZone() string { 480 if x != nil { 481 return x.Zone 482 } 483 return "" 484 } 485 486 var File_api_v1_kube_kube_api_proto protoreflect.FileDescriptor 487 488 var file_api_v1_kube_kube_api_proto_rawDesc = []byte{ 489 0x0a, 0x1a, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x2f, 0x6b, 0x75, 490 0x62, 0x65, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6b, 0x75, 491 0x62, 0x65, 0x2e, 0x76, 0x31, 0x22, 0x17, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 492 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x58, 493 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 494 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6f, 0x64, 0x73, 495 0x5f, 0x63, 0x69, 0x64, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x64, 496 0x73, 0x43, 0x69, 0x64, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 497 0x5f, 0x63, 0x69, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 498 0x76, 0x69, 0x63, 0x65, 0x43, 0x69, 0x64, 0x72, 0x22, 0x22, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x49, 499 0x50, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 500 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x22, 0x38, 0x0a, 0x11, 501 0x47, 0x65, 0x74, 0x49, 0x50, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 502 0x65, 0x12, 0x23, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 503 0x0f, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x50, 0x49, 0x6e, 0x66, 0x6f, 504 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0xdb, 0x01, 0x0a, 0x06, 0x49, 0x50, 0x49, 0x6e, 0x66, 505 0x6f, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x6f, 0x64, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 506 0x28, 0x09, 0x52, 0x06, 0x70, 0x6f, 0x64, 0x55, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 507 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6f, 508 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 509 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 510 0x61, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 511 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 512 0x6c, 0x6f, 0x61, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 513 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 514 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x21, 0x0a, 515 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x06, 0x20, 516 0x01, 0x28, 0x09, 0x52, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x69, 0x64, 517 0x12, 0x12, 0x0a, 0x04, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 518 0x7a, 0x6f, 0x6e, 0x65, 0x22, 0x21, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x50, 0x6f, 0x64, 0x52, 0x65, 519 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 520 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x22, 0x30, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x50, 0x6f, 521 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x03, 0x70, 0x6f, 0x64, 522 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x2e, 0x76, 0x31, 523 0x2e, 0x50, 0x6f, 0x64, 0x52, 0x03, 0x70, 0x6f, 0x64, 0x22, 0xa7, 0x01, 0x0a, 0x03, 0x50, 0x6f, 524 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 525 0x75, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 526 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 527 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 528 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 529 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f, 530 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x6f, 531 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 532 0x09, 0x52, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x6c, 0x6f, 0x61, 0x64, 0x4b, 0x69, 0x6e, 0x64, 0x12, 533 0x12, 0x0a, 0x04, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x7a, 534 0x6f, 0x6e, 0x65, 0x32, 0xdb, 0x01, 0x0a, 0x07, 0x4b, 0x75, 0x62, 0x65, 0x41, 0x50, 0x49, 0x12, 535 0x51, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 536 0x6f, 0x12, 0x1e, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 537 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 538 0x74, 0x1a, 0x1f, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 539 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 540 0x73, 0x65, 0x12, 0x42, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x49, 0x50, 0x49, 0x6e, 0x66, 0x6f, 0x12, 541 0x19, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x50, 0x49, 542 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x6b, 0x75, 0x62, 543 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x50, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 544 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x50, 0x6f, 0x64, 545 0x12, 0x16, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x6f, 546 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x6b, 0x75, 0x62, 0x65, 0x2e, 547 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x6f, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 548 0x65, 0x42, 0x26, 0x5a, 0x24, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 549 0x63, 0x61, 0x73, 0x74, 0x61, 0x69, 0x2f, 0x6b, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2f, 0x61, 0x70, 550 0x69, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 551 0x33, 552 } 553 554 var ( 555 file_api_v1_kube_kube_api_proto_rawDescOnce sync.Once 556 file_api_v1_kube_kube_api_proto_rawDescData = file_api_v1_kube_kube_api_proto_rawDesc 557 ) 558 559 func file_api_v1_kube_kube_api_proto_rawDescGZIP() []byte { 560 file_api_v1_kube_kube_api_proto_rawDescOnce.Do(func() { 561 file_api_v1_kube_kube_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_v1_kube_kube_api_proto_rawDescData) 562 }) 563 return file_api_v1_kube_kube_api_proto_rawDescData 564 } 565 566 var file_api_v1_kube_kube_api_proto_msgTypes = make([]protoimpl.MessageInfo, 8) 567 var file_api_v1_kube_kube_api_proto_goTypes = []interface{}{ 568 (*GetClusterInfoRequest)(nil), // 0: kube.v1.GetClusterInfoRequest 569 (*GetClusterInfoResponse)(nil), // 1: kube.v1.GetClusterInfoResponse 570 (*GetIPInfoRequest)(nil), // 2: kube.v1.GetIPInfoRequest 571 (*GetIPInfoResponse)(nil), // 3: kube.v1.GetIPInfoResponse 572 (*IPInfo)(nil), // 4: kube.v1.IPInfo 573 (*GetPodRequest)(nil), // 5: kube.v1.GetPodRequest 574 (*GetPodResponse)(nil), // 6: kube.v1.GetPodResponse 575 (*Pod)(nil), // 7: kube.v1.Pod 576 } 577 var file_api_v1_kube_kube_api_proto_depIdxs = []int32{ 578 4, // 0: kube.v1.GetIPInfoResponse.info:type_name -> kube.v1.IPInfo 579 7, // 1: kube.v1.GetPodResponse.pod:type_name -> kube.v1.Pod 580 0, // 2: kube.v1.KubeAPI.GetClusterInfo:input_type -> kube.v1.GetClusterInfoRequest 581 2, // 3: kube.v1.KubeAPI.GetIPInfo:input_type -> kube.v1.GetIPInfoRequest 582 5, // 4: kube.v1.KubeAPI.GetPod:input_type -> kube.v1.GetPodRequest 583 1, // 5: kube.v1.KubeAPI.GetClusterInfo:output_type -> kube.v1.GetClusterInfoResponse 584 3, // 6: kube.v1.KubeAPI.GetIPInfo:output_type -> kube.v1.GetIPInfoResponse 585 6, // 7: kube.v1.KubeAPI.GetPod:output_type -> kube.v1.GetPodResponse 586 5, // [5:8] is the sub-list for method output_type 587 2, // [2:5] is the sub-list for method input_type 588 2, // [2:2] is the sub-list for extension type_name 589 2, // [2:2] is the sub-list for extension extendee 590 0, // [0:2] is the sub-list for field type_name 591 } 592 593 func init() { file_api_v1_kube_kube_api_proto_init() } 594 func file_api_v1_kube_kube_api_proto_init() { 595 if File_api_v1_kube_kube_api_proto != nil { 596 return 597 } 598 if !protoimpl.UnsafeEnabled { 599 file_api_v1_kube_kube_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 600 switch v := v.(*GetClusterInfoRequest); i { 601 case 0: 602 return &v.state 603 case 1: 604 return &v.sizeCache 605 case 2: 606 return &v.unknownFields 607 default: 608 return nil 609 } 610 } 611 file_api_v1_kube_kube_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 612 switch v := v.(*GetClusterInfoResponse); i { 613 case 0: 614 return &v.state 615 case 1: 616 return &v.sizeCache 617 case 2: 618 return &v.unknownFields 619 default: 620 return nil 621 } 622 } 623 file_api_v1_kube_kube_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 624 switch v := v.(*GetIPInfoRequest); i { 625 case 0: 626 return &v.state 627 case 1: 628 return &v.sizeCache 629 case 2: 630 return &v.unknownFields 631 default: 632 return nil 633 } 634 } 635 file_api_v1_kube_kube_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 636 switch v := v.(*GetIPInfoResponse); i { 637 case 0: 638 return &v.state 639 case 1: 640 return &v.sizeCache 641 case 2: 642 return &v.unknownFields 643 default: 644 return nil 645 } 646 } 647 file_api_v1_kube_kube_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 648 switch v := v.(*IPInfo); i { 649 case 0: 650 return &v.state 651 case 1: 652 return &v.sizeCache 653 case 2: 654 return &v.unknownFields 655 default: 656 return nil 657 } 658 } 659 file_api_v1_kube_kube_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 660 switch v := v.(*GetPodRequest); i { 661 case 0: 662 return &v.state 663 case 1: 664 return &v.sizeCache 665 case 2: 666 return &v.unknownFields 667 default: 668 return nil 669 } 670 } 671 file_api_v1_kube_kube_api_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 672 switch v := v.(*GetPodResponse); i { 673 case 0: 674 return &v.state 675 case 1: 676 return &v.sizeCache 677 case 2: 678 return &v.unknownFields 679 default: 680 return nil 681 } 682 } 683 file_api_v1_kube_kube_api_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 684 switch v := v.(*Pod); i { 685 case 0: 686 return &v.state 687 case 1: 688 return &v.sizeCache 689 case 2: 690 return &v.unknownFields 691 default: 692 return nil 693 } 694 } 695 } 696 type x struct{} 697 out := protoimpl.TypeBuilder{ 698 File: protoimpl.DescBuilder{ 699 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 700 RawDescriptor: file_api_v1_kube_kube_api_proto_rawDesc, 701 NumEnums: 0, 702 NumMessages: 8, 703 NumExtensions: 0, 704 NumServices: 1, 705 }, 706 GoTypes: file_api_v1_kube_kube_api_proto_goTypes, 707 DependencyIndexes: file_api_v1_kube_kube_api_proto_depIdxs, 708 MessageInfos: file_api_v1_kube_kube_api_proto_msgTypes, 709 }.Build() 710 File_api_v1_kube_kube_api_proto = out.File 711 file_api_v1_kube_kube_api_proto_rawDesc = nil 712 file_api_v1_kube_kube_api_proto_goTypes = nil 713 file_api_v1_kube_kube_api_proto_depIdxs = nil 714 }