github.com/qiniu/go-sdk/v7@v7.27.0/sandbox/internal/envdapi/process/process.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.36.11 4 // protoc (unknown) 5 // source: process/process.proto 6 7 package process 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 type Signal int32 25 26 const ( 27 Signal_SIGNAL_UNSPECIFIED Signal = 0 28 Signal_SIGNAL_SIGTERM Signal = 15 29 Signal_SIGNAL_SIGKILL Signal = 9 30 ) 31 32 // Enum value maps for Signal. 33 var ( 34 Signal_name = map[int32]string{ 35 0: "SIGNAL_UNSPECIFIED", 36 15: "SIGNAL_SIGTERM", 37 9: "SIGNAL_SIGKILL", 38 } 39 Signal_value = map[string]int32{ 40 "SIGNAL_UNSPECIFIED": 0, 41 "SIGNAL_SIGTERM": 15, 42 "SIGNAL_SIGKILL": 9, 43 } 44 ) 45 46 func (x Signal) Enum() *Signal { 47 p := new(Signal) 48 *p = x 49 return p 50 } 51 52 func (x Signal) String() string { 53 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 54 } 55 56 func (Signal) Descriptor() protoreflect.EnumDescriptor { 57 return file_process_process_proto_enumTypes[0].Descriptor() 58 } 59 60 func (Signal) Type() protoreflect.EnumType { 61 return &file_process_process_proto_enumTypes[0] 62 } 63 64 func (x Signal) Number() protoreflect.EnumNumber { 65 return protoreflect.EnumNumber(x) 66 } 67 68 // Deprecated: Use Signal.Descriptor instead. 69 func (Signal) EnumDescriptor() ([]byte, []int) { 70 return file_process_process_proto_rawDescGZIP(), []int{0} 71 } 72 73 type PTY struct { 74 state protoimpl.MessageState `protogen:"open.v1"` 75 Size *PTY_Size `protobuf:"bytes,1,opt,name=size,proto3" json:"size,omitempty"` 76 unknownFields protoimpl.UnknownFields 77 sizeCache protoimpl.SizeCache 78 } 79 80 func (x *PTY) Reset() { 81 *x = PTY{} 82 mi := &file_process_process_proto_msgTypes[0] 83 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 84 ms.StoreMessageInfo(mi) 85 } 86 87 func (x *PTY) String() string { 88 return protoimpl.X.MessageStringOf(x) 89 } 90 91 func (*PTY) ProtoMessage() {} 92 93 func (x *PTY) ProtoReflect() protoreflect.Message { 94 mi := &file_process_process_proto_msgTypes[0] 95 if x != nil { 96 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 97 if ms.LoadMessageInfo() == nil { 98 ms.StoreMessageInfo(mi) 99 } 100 return ms 101 } 102 return mi.MessageOf(x) 103 } 104 105 // Deprecated: Use PTY.ProtoReflect.Descriptor instead. 106 func (*PTY) Descriptor() ([]byte, []int) { 107 return file_process_process_proto_rawDescGZIP(), []int{0} 108 } 109 110 func (x *PTY) GetSize() *PTY_Size { 111 if x != nil { 112 return x.Size 113 } 114 return nil 115 } 116 117 type ProcessConfig struct { 118 state protoimpl.MessageState `protogen:"open.v1"` 119 Cmd string `protobuf:"bytes,1,opt,name=cmd,proto3" json:"cmd,omitempty"` 120 Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` 121 Envs map[string]string `protobuf:"bytes,3,rep,name=envs,proto3" json:"envs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` 122 Cwd *string `protobuf:"bytes,4,opt,name=cwd,proto3,oneof" json:"cwd,omitempty"` 123 unknownFields protoimpl.UnknownFields 124 sizeCache protoimpl.SizeCache 125 } 126 127 func (x *ProcessConfig) Reset() { 128 *x = ProcessConfig{} 129 mi := &file_process_process_proto_msgTypes[1] 130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 131 ms.StoreMessageInfo(mi) 132 } 133 134 func (x *ProcessConfig) String() string { 135 return protoimpl.X.MessageStringOf(x) 136 } 137 138 func (*ProcessConfig) ProtoMessage() {} 139 140 func (x *ProcessConfig) ProtoReflect() protoreflect.Message { 141 mi := &file_process_process_proto_msgTypes[1] 142 if x != nil { 143 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 144 if ms.LoadMessageInfo() == nil { 145 ms.StoreMessageInfo(mi) 146 } 147 return ms 148 } 149 return mi.MessageOf(x) 150 } 151 152 // Deprecated: Use ProcessConfig.ProtoReflect.Descriptor instead. 153 func (*ProcessConfig) Descriptor() ([]byte, []int) { 154 return file_process_process_proto_rawDescGZIP(), []int{1} 155 } 156 157 func (x *ProcessConfig) GetCmd() string { 158 if x != nil { 159 return x.Cmd 160 } 161 return "" 162 } 163 164 func (x *ProcessConfig) GetArgs() []string { 165 if x != nil { 166 return x.Args 167 } 168 return nil 169 } 170 171 func (x *ProcessConfig) GetEnvs() map[string]string { 172 if x != nil { 173 return x.Envs 174 } 175 return nil 176 } 177 178 func (x *ProcessConfig) GetCwd() string { 179 if x != nil && x.Cwd != nil { 180 return *x.Cwd 181 } 182 return "" 183 } 184 185 type ListRequest struct { 186 state protoimpl.MessageState `protogen:"open.v1"` 187 unknownFields protoimpl.UnknownFields 188 sizeCache protoimpl.SizeCache 189 } 190 191 func (x *ListRequest) Reset() { 192 *x = ListRequest{} 193 mi := &file_process_process_proto_msgTypes[2] 194 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 195 ms.StoreMessageInfo(mi) 196 } 197 198 func (x *ListRequest) String() string { 199 return protoimpl.X.MessageStringOf(x) 200 } 201 202 func (*ListRequest) ProtoMessage() {} 203 204 func (x *ListRequest) ProtoReflect() protoreflect.Message { 205 mi := &file_process_process_proto_msgTypes[2] 206 if x != nil { 207 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 208 if ms.LoadMessageInfo() == nil { 209 ms.StoreMessageInfo(mi) 210 } 211 return ms 212 } 213 return mi.MessageOf(x) 214 } 215 216 // Deprecated: Use ListRequest.ProtoReflect.Descriptor instead. 217 func (*ListRequest) Descriptor() ([]byte, []int) { 218 return file_process_process_proto_rawDescGZIP(), []int{2} 219 } 220 221 type ProcessInfo struct { 222 state protoimpl.MessageState `protogen:"open.v1"` 223 Config *ProcessConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` 224 Pid uint32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"` 225 Tag *string `protobuf:"bytes,3,opt,name=tag,proto3,oneof" json:"tag,omitempty"` 226 unknownFields protoimpl.UnknownFields 227 sizeCache protoimpl.SizeCache 228 } 229 230 func (x *ProcessInfo) Reset() { 231 *x = ProcessInfo{} 232 mi := &file_process_process_proto_msgTypes[3] 233 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 234 ms.StoreMessageInfo(mi) 235 } 236 237 func (x *ProcessInfo) String() string { 238 return protoimpl.X.MessageStringOf(x) 239 } 240 241 func (*ProcessInfo) ProtoMessage() {} 242 243 func (x *ProcessInfo) ProtoReflect() protoreflect.Message { 244 mi := &file_process_process_proto_msgTypes[3] 245 if x != nil { 246 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 247 if ms.LoadMessageInfo() == nil { 248 ms.StoreMessageInfo(mi) 249 } 250 return ms 251 } 252 return mi.MessageOf(x) 253 } 254 255 // Deprecated: Use ProcessInfo.ProtoReflect.Descriptor instead. 256 func (*ProcessInfo) Descriptor() ([]byte, []int) { 257 return file_process_process_proto_rawDescGZIP(), []int{3} 258 } 259 260 func (x *ProcessInfo) GetConfig() *ProcessConfig { 261 if x != nil { 262 return x.Config 263 } 264 return nil 265 } 266 267 func (x *ProcessInfo) GetPid() uint32 { 268 if x != nil { 269 return x.Pid 270 } 271 return 0 272 } 273 274 func (x *ProcessInfo) GetTag() string { 275 if x != nil && x.Tag != nil { 276 return *x.Tag 277 } 278 return "" 279 } 280 281 type ListResponse struct { 282 state protoimpl.MessageState `protogen:"open.v1"` 283 Processes []*ProcessInfo `protobuf:"bytes,1,rep,name=processes,proto3" json:"processes,omitempty"` 284 unknownFields protoimpl.UnknownFields 285 sizeCache protoimpl.SizeCache 286 } 287 288 func (x *ListResponse) Reset() { 289 *x = ListResponse{} 290 mi := &file_process_process_proto_msgTypes[4] 291 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 292 ms.StoreMessageInfo(mi) 293 } 294 295 func (x *ListResponse) String() string { 296 return protoimpl.X.MessageStringOf(x) 297 } 298 299 func (*ListResponse) ProtoMessage() {} 300 301 func (x *ListResponse) ProtoReflect() protoreflect.Message { 302 mi := &file_process_process_proto_msgTypes[4] 303 if x != nil { 304 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 305 if ms.LoadMessageInfo() == nil { 306 ms.StoreMessageInfo(mi) 307 } 308 return ms 309 } 310 return mi.MessageOf(x) 311 } 312 313 // Deprecated: Use ListResponse.ProtoReflect.Descriptor instead. 314 func (*ListResponse) Descriptor() ([]byte, []int) { 315 return file_process_process_proto_rawDescGZIP(), []int{4} 316 } 317 318 func (x *ListResponse) GetProcesses() []*ProcessInfo { 319 if x != nil { 320 return x.Processes 321 } 322 return nil 323 } 324 325 type StartRequest struct { 326 state protoimpl.MessageState `protogen:"open.v1"` 327 Process *ProcessConfig `protobuf:"bytes,1,opt,name=process,proto3" json:"process,omitempty"` 328 Pty *PTY `protobuf:"bytes,2,opt,name=pty,proto3,oneof" json:"pty,omitempty"` 329 Tag *string `protobuf:"bytes,3,opt,name=tag,proto3,oneof" json:"tag,omitempty"` 330 // This is optional for backwards compatibility. 331 // We default to true. New SDK versions will set this to false by default. 332 Stdin *bool `protobuf:"varint,4,opt,name=stdin,proto3,oneof" json:"stdin,omitempty"` 333 unknownFields protoimpl.UnknownFields 334 sizeCache protoimpl.SizeCache 335 } 336 337 func (x *StartRequest) Reset() { 338 *x = StartRequest{} 339 mi := &file_process_process_proto_msgTypes[5] 340 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 341 ms.StoreMessageInfo(mi) 342 } 343 344 func (x *StartRequest) String() string { 345 return protoimpl.X.MessageStringOf(x) 346 } 347 348 func (*StartRequest) ProtoMessage() {} 349 350 func (x *StartRequest) ProtoReflect() protoreflect.Message { 351 mi := &file_process_process_proto_msgTypes[5] 352 if x != nil { 353 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 354 if ms.LoadMessageInfo() == nil { 355 ms.StoreMessageInfo(mi) 356 } 357 return ms 358 } 359 return mi.MessageOf(x) 360 } 361 362 // Deprecated: Use StartRequest.ProtoReflect.Descriptor instead. 363 func (*StartRequest) Descriptor() ([]byte, []int) { 364 return file_process_process_proto_rawDescGZIP(), []int{5} 365 } 366 367 func (x *StartRequest) GetProcess() *ProcessConfig { 368 if x != nil { 369 return x.Process 370 } 371 return nil 372 } 373 374 func (x *StartRequest) GetPty() *PTY { 375 if x != nil { 376 return x.Pty 377 } 378 return nil 379 } 380 381 func (x *StartRequest) GetTag() string { 382 if x != nil && x.Tag != nil { 383 return *x.Tag 384 } 385 return "" 386 } 387 388 func (x *StartRequest) GetStdin() bool { 389 if x != nil && x.Stdin != nil { 390 return *x.Stdin 391 } 392 return false 393 } 394 395 type UpdateRequest struct { 396 state protoimpl.MessageState `protogen:"open.v1"` 397 Process *ProcessSelector `protobuf:"bytes,1,opt,name=process,proto3" json:"process,omitempty"` 398 Pty *PTY `protobuf:"bytes,2,opt,name=pty,proto3,oneof" json:"pty,omitempty"` 399 unknownFields protoimpl.UnknownFields 400 sizeCache protoimpl.SizeCache 401 } 402 403 func (x *UpdateRequest) Reset() { 404 *x = UpdateRequest{} 405 mi := &file_process_process_proto_msgTypes[6] 406 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 407 ms.StoreMessageInfo(mi) 408 } 409 410 func (x *UpdateRequest) String() string { 411 return protoimpl.X.MessageStringOf(x) 412 } 413 414 func (*UpdateRequest) ProtoMessage() {} 415 416 func (x *UpdateRequest) ProtoReflect() protoreflect.Message { 417 mi := &file_process_process_proto_msgTypes[6] 418 if x != nil { 419 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 420 if ms.LoadMessageInfo() == nil { 421 ms.StoreMessageInfo(mi) 422 } 423 return ms 424 } 425 return mi.MessageOf(x) 426 } 427 428 // Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead. 429 func (*UpdateRequest) Descriptor() ([]byte, []int) { 430 return file_process_process_proto_rawDescGZIP(), []int{6} 431 } 432 433 func (x *UpdateRequest) GetProcess() *ProcessSelector { 434 if x != nil { 435 return x.Process 436 } 437 return nil 438 } 439 440 func (x *UpdateRequest) GetPty() *PTY { 441 if x != nil { 442 return x.Pty 443 } 444 return nil 445 } 446 447 type UpdateResponse struct { 448 state protoimpl.MessageState `protogen:"open.v1"` 449 unknownFields protoimpl.UnknownFields 450 sizeCache protoimpl.SizeCache 451 } 452 453 func (x *UpdateResponse) Reset() { 454 *x = UpdateResponse{} 455 mi := &file_process_process_proto_msgTypes[7] 456 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 457 ms.StoreMessageInfo(mi) 458 } 459 460 func (x *UpdateResponse) String() string { 461 return protoimpl.X.MessageStringOf(x) 462 } 463 464 func (*UpdateResponse) ProtoMessage() {} 465 466 func (x *UpdateResponse) ProtoReflect() protoreflect.Message { 467 mi := &file_process_process_proto_msgTypes[7] 468 if x != nil { 469 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 470 if ms.LoadMessageInfo() == nil { 471 ms.StoreMessageInfo(mi) 472 } 473 return ms 474 } 475 return mi.MessageOf(x) 476 } 477 478 // Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead. 479 func (*UpdateResponse) Descriptor() ([]byte, []int) { 480 return file_process_process_proto_rawDescGZIP(), []int{7} 481 } 482 483 type ProcessEvent struct { 484 state protoimpl.MessageState `protogen:"open.v1"` 485 // Types that are valid to be assigned to Event: 486 // 487 // *ProcessEvent_Start 488 // *ProcessEvent_Data 489 // *ProcessEvent_End 490 // *ProcessEvent_Keepalive 491 Event isProcessEvent_Event `protobuf_oneof:"event"` 492 unknownFields protoimpl.UnknownFields 493 sizeCache protoimpl.SizeCache 494 } 495 496 func (x *ProcessEvent) Reset() { 497 *x = ProcessEvent{} 498 mi := &file_process_process_proto_msgTypes[8] 499 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 500 ms.StoreMessageInfo(mi) 501 } 502 503 func (x *ProcessEvent) String() string { 504 return protoimpl.X.MessageStringOf(x) 505 } 506 507 func (*ProcessEvent) ProtoMessage() {} 508 509 func (x *ProcessEvent) ProtoReflect() protoreflect.Message { 510 mi := &file_process_process_proto_msgTypes[8] 511 if x != nil { 512 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 513 if ms.LoadMessageInfo() == nil { 514 ms.StoreMessageInfo(mi) 515 } 516 return ms 517 } 518 return mi.MessageOf(x) 519 } 520 521 // Deprecated: Use ProcessEvent.ProtoReflect.Descriptor instead. 522 func (*ProcessEvent) Descriptor() ([]byte, []int) { 523 return file_process_process_proto_rawDescGZIP(), []int{8} 524 } 525 526 func (x *ProcessEvent) GetEvent() isProcessEvent_Event { 527 if x != nil { 528 return x.Event 529 } 530 return nil 531 } 532 533 func (x *ProcessEvent) GetStart() *ProcessEvent_StartEvent { 534 if x != nil { 535 if x, ok := x.Event.(*ProcessEvent_Start); ok { 536 return x.Start 537 } 538 } 539 return nil 540 } 541 542 func (x *ProcessEvent) GetData() *ProcessEvent_DataEvent { 543 if x != nil { 544 if x, ok := x.Event.(*ProcessEvent_Data); ok { 545 return x.Data 546 } 547 } 548 return nil 549 } 550 551 func (x *ProcessEvent) GetEnd() *ProcessEvent_EndEvent { 552 if x != nil { 553 if x, ok := x.Event.(*ProcessEvent_End); ok { 554 return x.End 555 } 556 } 557 return nil 558 } 559 560 func (x *ProcessEvent) GetKeepalive() *ProcessEvent_KeepAlive { 561 if x != nil { 562 if x, ok := x.Event.(*ProcessEvent_Keepalive); ok { 563 return x.Keepalive 564 } 565 } 566 return nil 567 } 568 569 type isProcessEvent_Event interface { 570 isProcessEvent_Event() 571 } 572 573 type ProcessEvent_Start struct { 574 Start *ProcessEvent_StartEvent `protobuf:"bytes,1,opt,name=start,proto3,oneof"` 575 } 576 577 type ProcessEvent_Data struct { 578 Data *ProcessEvent_DataEvent `protobuf:"bytes,2,opt,name=data,proto3,oneof"` 579 } 580 581 type ProcessEvent_End struct { 582 End *ProcessEvent_EndEvent `protobuf:"bytes,3,opt,name=end,proto3,oneof"` 583 } 584 585 type ProcessEvent_Keepalive struct { 586 Keepalive *ProcessEvent_KeepAlive `protobuf:"bytes,4,opt,name=keepalive,proto3,oneof"` 587 } 588 589 func (*ProcessEvent_Start) isProcessEvent_Event() {} 590 591 func (*ProcessEvent_Data) isProcessEvent_Event() {} 592 593 func (*ProcessEvent_End) isProcessEvent_Event() {} 594 595 func (*ProcessEvent_Keepalive) isProcessEvent_Event() {} 596 597 type StartResponse struct { 598 state protoimpl.MessageState `protogen:"open.v1"` 599 Event *ProcessEvent `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` 600 unknownFields protoimpl.UnknownFields 601 sizeCache protoimpl.SizeCache 602 } 603 604 func (x *StartResponse) Reset() { 605 *x = StartResponse{} 606 mi := &file_process_process_proto_msgTypes[9] 607 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 608 ms.StoreMessageInfo(mi) 609 } 610 611 func (x *StartResponse) String() string { 612 return protoimpl.X.MessageStringOf(x) 613 } 614 615 func (*StartResponse) ProtoMessage() {} 616 617 func (x *StartResponse) ProtoReflect() protoreflect.Message { 618 mi := &file_process_process_proto_msgTypes[9] 619 if x != nil { 620 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 621 if ms.LoadMessageInfo() == nil { 622 ms.StoreMessageInfo(mi) 623 } 624 return ms 625 } 626 return mi.MessageOf(x) 627 } 628 629 // Deprecated: Use StartResponse.ProtoReflect.Descriptor instead. 630 func (*StartResponse) Descriptor() ([]byte, []int) { 631 return file_process_process_proto_rawDescGZIP(), []int{9} 632 } 633 634 func (x *StartResponse) GetEvent() *ProcessEvent { 635 if x != nil { 636 return x.Event 637 } 638 return nil 639 } 640 641 type ConnectResponse struct { 642 state protoimpl.MessageState `protogen:"open.v1"` 643 Event *ProcessEvent `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` 644 unknownFields protoimpl.UnknownFields 645 sizeCache protoimpl.SizeCache 646 } 647 648 func (x *ConnectResponse) Reset() { 649 *x = ConnectResponse{} 650 mi := &file_process_process_proto_msgTypes[10] 651 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 652 ms.StoreMessageInfo(mi) 653 } 654 655 func (x *ConnectResponse) String() string { 656 return protoimpl.X.MessageStringOf(x) 657 } 658 659 func (*ConnectResponse) ProtoMessage() {} 660 661 func (x *ConnectResponse) ProtoReflect() protoreflect.Message { 662 mi := &file_process_process_proto_msgTypes[10] 663 if x != nil { 664 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 665 if ms.LoadMessageInfo() == nil { 666 ms.StoreMessageInfo(mi) 667 } 668 return ms 669 } 670 return mi.MessageOf(x) 671 } 672 673 // Deprecated: Use ConnectResponse.ProtoReflect.Descriptor instead. 674 func (*ConnectResponse) Descriptor() ([]byte, []int) { 675 return file_process_process_proto_rawDescGZIP(), []int{10} 676 } 677 678 func (x *ConnectResponse) GetEvent() *ProcessEvent { 679 if x != nil { 680 return x.Event 681 } 682 return nil 683 } 684 685 type SendInputRequest struct { 686 state protoimpl.MessageState `protogen:"open.v1"` 687 Process *ProcessSelector `protobuf:"bytes,1,opt,name=process,proto3" json:"process,omitempty"` 688 Input *ProcessInput `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"` 689 unknownFields protoimpl.UnknownFields 690 sizeCache protoimpl.SizeCache 691 } 692 693 func (x *SendInputRequest) Reset() { 694 *x = SendInputRequest{} 695 mi := &file_process_process_proto_msgTypes[11] 696 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 697 ms.StoreMessageInfo(mi) 698 } 699 700 func (x *SendInputRequest) String() string { 701 return protoimpl.X.MessageStringOf(x) 702 } 703 704 func (*SendInputRequest) ProtoMessage() {} 705 706 func (x *SendInputRequest) ProtoReflect() protoreflect.Message { 707 mi := &file_process_process_proto_msgTypes[11] 708 if x != nil { 709 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 710 if ms.LoadMessageInfo() == nil { 711 ms.StoreMessageInfo(mi) 712 } 713 return ms 714 } 715 return mi.MessageOf(x) 716 } 717 718 // Deprecated: Use SendInputRequest.ProtoReflect.Descriptor instead. 719 func (*SendInputRequest) Descriptor() ([]byte, []int) { 720 return file_process_process_proto_rawDescGZIP(), []int{11} 721 } 722 723 func (x *SendInputRequest) GetProcess() *ProcessSelector { 724 if x != nil { 725 return x.Process 726 } 727 return nil 728 } 729 730 func (x *SendInputRequest) GetInput() *ProcessInput { 731 if x != nil { 732 return x.Input 733 } 734 return nil 735 } 736 737 type SendInputResponse struct { 738 state protoimpl.MessageState `protogen:"open.v1"` 739 unknownFields protoimpl.UnknownFields 740 sizeCache protoimpl.SizeCache 741 } 742 743 func (x *SendInputResponse) Reset() { 744 *x = SendInputResponse{} 745 mi := &file_process_process_proto_msgTypes[12] 746 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 747 ms.StoreMessageInfo(mi) 748 } 749 750 func (x *SendInputResponse) String() string { 751 return protoimpl.X.MessageStringOf(x) 752 } 753 754 func (*SendInputResponse) ProtoMessage() {} 755 756 func (x *SendInputResponse) ProtoReflect() protoreflect.Message { 757 mi := &file_process_process_proto_msgTypes[12] 758 if x != nil { 759 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 760 if ms.LoadMessageInfo() == nil { 761 ms.StoreMessageInfo(mi) 762 } 763 return ms 764 } 765 return mi.MessageOf(x) 766 } 767 768 // Deprecated: Use SendInputResponse.ProtoReflect.Descriptor instead. 769 func (*SendInputResponse) Descriptor() ([]byte, []int) { 770 return file_process_process_proto_rawDescGZIP(), []int{12} 771 } 772 773 type ProcessInput struct { 774 state protoimpl.MessageState `protogen:"open.v1"` 775 // Types that are valid to be assigned to Input: 776 // 777 // *ProcessInput_Stdin 778 // *ProcessInput_Pty 779 Input isProcessInput_Input `protobuf_oneof:"input"` 780 unknownFields protoimpl.UnknownFields 781 sizeCache protoimpl.SizeCache 782 } 783 784 func (x *ProcessInput) Reset() { 785 *x = ProcessInput{} 786 mi := &file_process_process_proto_msgTypes[13] 787 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 788 ms.StoreMessageInfo(mi) 789 } 790 791 func (x *ProcessInput) String() string { 792 return protoimpl.X.MessageStringOf(x) 793 } 794 795 func (*ProcessInput) ProtoMessage() {} 796 797 func (x *ProcessInput) ProtoReflect() protoreflect.Message { 798 mi := &file_process_process_proto_msgTypes[13] 799 if x != nil { 800 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 801 if ms.LoadMessageInfo() == nil { 802 ms.StoreMessageInfo(mi) 803 } 804 return ms 805 } 806 return mi.MessageOf(x) 807 } 808 809 // Deprecated: Use ProcessInput.ProtoReflect.Descriptor instead. 810 func (*ProcessInput) Descriptor() ([]byte, []int) { 811 return file_process_process_proto_rawDescGZIP(), []int{13} 812 } 813 814 func (x *ProcessInput) GetInput() isProcessInput_Input { 815 if x != nil { 816 return x.Input 817 } 818 return nil 819 } 820 821 func (x *ProcessInput) GetStdin() []byte { 822 if x != nil { 823 if x, ok := x.Input.(*ProcessInput_Stdin); ok { 824 return x.Stdin 825 } 826 } 827 return nil 828 } 829 830 func (x *ProcessInput) GetPty() []byte { 831 if x != nil { 832 if x, ok := x.Input.(*ProcessInput_Pty); ok { 833 return x.Pty 834 } 835 } 836 return nil 837 } 838 839 type isProcessInput_Input interface { 840 isProcessInput_Input() 841 } 842 843 type ProcessInput_Stdin struct { 844 Stdin []byte `protobuf:"bytes,1,opt,name=stdin,proto3,oneof"` 845 } 846 847 type ProcessInput_Pty struct { 848 Pty []byte `protobuf:"bytes,2,opt,name=pty,proto3,oneof"` 849 } 850 851 func (*ProcessInput_Stdin) isProcessInput_Input() {} 852 853 func (*ProcessInput_Pty) isProcessInput_Input() {} 854 855 type StreamInputRequest struct { 856 state protoimpl.MessageState `protogen:"open.v1"` 857 // Types that are valid to be assigned to Event: 858 // 859 // *StreamInputRequest_Start 860 // *StreamInputRequest_Data 861 // *StreamInputRequest_Keepalive 862 Event isStreamInputRequest_Event `protobuf_oneof:"event"` 863 unknownFields protoimpl.UnknownFields 864 sizeCache protoimpl.SizeCache 865 } 866 867 func (x *StreamInputRequest) Reset() { 868 *x = StreamInputRequest{} 869 mi := &file_process_process_proto_msgTypes[14] 870 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 871 ms.StoreMessageInfo(mi) 872 } 873 874 func (x *StreamInputRequest) String() string { 875 return protoimpl.X.MessageStringOf(x) 876 } 877 878 func (*StreamInputRequest) ProtoMessage() {} 879 880 func (x *StreamInputRequest) ProtoReflect() protoreflect.Message { 881 mi := &file_process_process_proto_msgTypes[14] 882 if x != nil { 883 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 884 if ms.LoadMessageInfo() == nil { 885 ms.StoreMessageInfo(mi) 886 } 887 return ms 888 } 889 return mi.MessageOf(x) 890 } 891 892 // Deprecated: Use StreamInputRequest.ProtoReflect.Descriptor instead. 893 func (*StreamInputRequest) Descriptor() ([]byte, []int) { 894 return file_process_process_proto_rawDescGZIP(), []int{14} 895 } 896 897 func (x *StreamInputRequest) GetEvent() isStreamInputRequest_Event { 898 if x != nil { 899 return x.Event 900 } 901 return nil 902 } 903 904 func (x *StreamInputRequest) GetStart() *StreamInputRequest_StartEvent { 905 if x != nil { 906 if x, ok := x.Event.(*StreamInputRequest_Start); ok { 907 return x.Start 908 } 909 } 910 return nil 911 } 912 913 func (x *StreamInputRequest) GetData() *StreamInputRequest_DataEvent { 914 if x != nil { 915 if x, ok := x.Event.(*StreamInputRequest_Data); ok { 916 return x.Data 917 } 918 } 919 return nil 920 } 921 922 func (x *StreamInputRequest) GetKeepalive() *StreamInputRequest_KeepAlive { 923 if x != nil { 924 if x, ok := x.Event.(*StreamInputRequest_Keepalive); ok { 925 return x.Keepalive 926 } 927 } 928 return nil 929 } 930 931 type isStreamInputRequest_Event interface { 932 isStreamInputRequest_Event() 933 } 934 935 type StreamInputRequest_Start struct { 936 Start *StreamInputRequest_StartEvent `protobuf:"bytes,1,opt,name=start,proto3,oneof"` 937 } 938 939 type StreamInputRequest_Data struct { 940 Data *StreamInputRequest_DataEvent `protobuf:"bytes,2,opt,name=data,proto3,oneof"` 941 } 942 943 type StreamInputRequest_Keepalive struct { 944 Keepalive *StreamInputRequest_KeepAlive `protobuf:"bytes,3,opt,name=keepalive,proto3,oneof"` 945 } 946 947 func (*StreamInputRequest_Start) isStreamInputRequest_Event() {} 948 949 func (*StreamInputRequest_Data) isStreamInputRequest_Event() {} 950 951 func (*StreamInputRequest_Keepalive) isStreamInputRequest_Event() {} 952 953 type StreamInputResponse struct { 954 state protoimpl.MessageState `protogen:"open.v1"` 955 unknownFields protoimpl.UnknownFields 956 sizeCache protoimpl.SizeCache 957 } 958 959 func (x *StreamInputResponse) Reset() { 960 *x = StreamInputResponse{} 961 mi := &file_process_process_proto_msgTypes[15] 962 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 963 ms.StoreMessageInfo(mi) 964 } 965 966 func (x *StreamInputResponse) String() string { 967 return protoimpl.X.MessageStringOf(x) 968 } 969 970 func (*StreamInputResponse) ProtoMessage() {} 971 972 func (x *StreamInputResponse) ProtoReflect() protoreflect.Message { 973 mi := &file_process_process_proto_msgTypes[15] 974 if x != nil { 975 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 976 if ms.LoadMessageInfo() == nil { 977 ms.StoreMessageInfo(mi) 978 } 979 return ms 980 } 981 return mi.MessageOf(x) 982 } 983 984 // Deprecated: Use StreamInputResponse.ProtoReflect.Descriptor instead. 985 func (*StreamInputResponse) Descriptor() ([]byte, []int) { 986 return file_process_process_proto_rawDescGZIP(), []int{15} 987 } 988 989 type SendSignalRequest struct { 990 state protoimpl.MessageState `protogen:"open.v1"` 991 Process *ProcessSelector `protobuf:"bytes,1,opt,name=process,proto3" json:"process,omitempty"` 992 Signal Signal `protobuf:"varint,2,opt,name=signal,proto3,enum=process.Signal" json:"signal,omitempty"` 993 unknownFields protoimpl.UnknownFields 994 sizeCache protoimpl.SizeCache 995 } 996 997 func (x *SendSignalRequest) Reset() { 998 *x = SendSignalRequest{} 999 mi := &file_process_process_proto_msgTypes[16] 1000 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1001 ms.StoreMessageInfo(mi) 1002 } 1003 1004 func (x *SendSignalRequest) String() string { 1005 return protoimpl.X.MessageStringOf(x) 1006 } 1007 1008 func (*SendSignalRequest) ProtoMessage() {} 1009 1010 func (x *SendSignalRequest) ProtoReflect() protoreflect.Message { 1011 mi := &file_process_process_proto_msgTypes[16] 1012 if x != nil { 1013 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1014 if ms.LoadMessageInfo() == nil { 1015 ms.StoreMessageInfo(mi) 1016 } 1017 return ms 1018 } 1019 return mi.MessageOf(x) 1020 } 1021 1022 // Deprecated: Use SendSignalRequest.ProtoReflect.Descriptor instead. 1023 func (*SendSignalRequest) Descriptor() ([]byte, []int) { 1024 return file_process_process_proto_rawDescGZIP(), []int{16} 1025 } 1026 1027 func (x *SendSignalRequest) GetProcess() *ProcessSelector { 1028 if x != nil { 1029 return x.Process 1030 } 1031 return nil 1032 } 1033 1034 func (x *SendSignalRequest) GetSignal() Signal { 1035 if x != nil { 1036 return x.Signal 1037 } 1038 return Signal_SIGNAL_UNSPECIFIED 1039 } 1040 1041 type SendSignalResponse struct { 1042 state protoimpl.MessageState `protogen:"open.v1"` 1043 unknownFields protoimpl.UnknownFields 1044 sizeCache protoimpl.SizeCache 1045 } 1046 1047 func (x *SendSignalResponse) Reset() { 1048 *x = SendSignalResponse{} 1049 mi := &file_process_process_proto_msgTypes[17] 1050 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1051 ms.StoreMessageInfo(mi) 1052 } 1053 1054 func (x *SendSignalResponse) String() string { 1055 return protoimpl.X.MessageStringOf(x) 1056 } 1057 1058 func (*SendSignalResponse) ProtoMessage() {} 1059 1060 func (x *SendSignalResponse) ProtoReflect() protoreflect.Message { 1061 mi := &file_process_process_proto_msgTypes[17] 1062 if x != nil { 1063 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1064 if ms.LoadMessageInfo() == nil { 1065 ms.StoreMessageInfo(mi) 1066 } 1067 return ms 1068 } 1069 return mi.MessageOf(x) 1070 } 1071 1072 // Deprecated: Use SendSignalResponse.ProtoReflect.Descriptor instead. 1073 func (*SendSignalResponse) Descriptor() ([]byte, []int) { 1074 return file_process_process_proto_rawDescGZIP(), []int{17} 1075 } 1076 1077 type CloseStdinRequest struct { 1078 state protoimpl.MessageState `protogen:"open.v1"` 1079 Process *ProcessSelector `protobuf:"bytes,1,opt,name=process,proto3" json:"process,omitempty"` 1080 unknownFields protoimpl.UnknownFields 1081 sizeCache protoimpl.SizeCache 1082 } 1083 1084 func (x *CloseStdinRequest) Reset() { 1085 *x = CloseStdinRequest{} 1086 mi := &file_process_process_proto_msgTypes[18] 1087 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1088 ms.StoreMessageInfo(mi) 1089 } 1090 1091 func (x *CloseStdinRequest) String() string { 1092 return protoimpl.X.MessageStringOf(x) 1093 } 1094 1095 func (*CloseStdinRequest) ProtoMessage() {} 1096 1097 func (x *CloseStdinRequest) ProtoReflect() protoreflect.Message { 1098 mi := &file_process_process_proto_msgTypes[18] 1099 if x != nil { 1100 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1101 if ms.LoadMessageInfo() == nil { 1102 ms.StoreMessageInfo(mi) 1103 } 1104 return ms 1105 } 1106 return mi.MessageOf(x) 1107 } 1108 1109 // Deprecated: Use CloseStdinRequest.ProtoReflect.Descriptor instead. 1110 func (*CloseStdinRequest) Descriptor() ([]byte, []int) { 1111 return file_process_process_proto_rawDescGZIP(), []int{18} 1112 } 1113 1114 func (x *CloseStdinRequest) GetProcess() *ProcessSelector { 1115 if x != nil { 1116 return x.Process 1117 } 1118 return nil 1119 } 1120 1121 type CloseStdinResponse struct { 1122 state protoimpl.MessageState `protogen:"open.v1"` 1123 unknownFields protoimpl.UnknownFields 1124 sizeCache protoimpl.SizeCache 1125 } 1126 1127 func (x *CloseStdinResponse) Reset() { 1128 *x = CloseStdinResponse{} 1129 mi := &file_process_process_proto_msgTypes[19] 1130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1131 ms.StoreMessageInfo(mi) 1132 } 1133 1134 func (x *CloseStdinResponse) String() string { 1135 return protoimpl.X.MessageStringOf(x) 1136 } 1137 1138 func (*CloseStdinResponse) ProtoMessage() {} 1139 1140 func (x *CloseStdinResponse) ProtoReflect() protoreflect.Message { 1141 mi := &file_process_process_proto_msgTypes[19] 1142 if x != nil { 1143 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1144 if ms.LoadMessageInfo() == nil { 1145 ms.StoreMessageInfo(mi) 1146 } 1147 return ms 1148 } 1149 return mi.MessageOf(x) 1150 } 1151 1152 // Deprecated: Use CloseStdinResponse.ProtoReflect.Descriptor instead. 1153 func (*CloseStdinResponse) Descriptor() ([]byte, []int) { 1154 return file_process_process_proto_rawDescGZIP(), []int{19} 1155 } 1156 1157 type ConnectRequest struct { 1158 state protoimpl.MessageState `protogen:"open.v1"` 1159 Process *ProcessSelector `protobuf:"bytes,1,opt,name=process,proto3" json:"process,omitempty"` 1160 unknownFields protoimpl.UnknownFields 1161 sizeCache protoimpl.SizeCache 1162 } 1163 1164 func (x *ConnectRequest) Reset() { 1165 *x = ConnectRequest{} 1166 mi := &file_process_process_proto_msgTypes[20] 1167 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1168 ms.StoreMessageInfo(mi) 1169 } 1170 1171 func (x *ConnectRequest) String() string { 1172 return protoimpl.X.MessageStringOf(x) 1173 } 1174 1175 func (*ConnectRequest) ProtoMessage() {} 1176 1177 func (x *ConnectRequest) ProtoReflect() protoreflect.Message { 1178 mi := &file_process_process_proto_msgTypes[20] 1179 if x != nil { 1180 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1181 if ms.LoadMessageInfo() == nil { 1182 ms.StoreMessageInfo(mi) 1183 } 1184 return ms 1185 } 1186 return mi.MessageOf(x) 1187 } 1188 1189 // Deprecated: Use ConnectRequest.ProtoReflect.Descriptor instead. 1190 func (*ConnectRequest) Descriptor() ([]byte, []int) { 1191 return file_process_process_proto_rawDescGZIP(), []int{20} 1192 } 1193 1194 func (x *ConnectRequest) GetProcess() *ProcessSelector { 1195 if x != nil { 1196 return x.Process 1197 } 1198 return nil 1199 } 1200 1201 type ProcessSelector struct { 1202 state protoimpl.MessageState `protogen:"open.v1"` 1203 // Types that are valid to be assigned to Selector: 1204 // 1205 // *ProcessSelector_Pid 1206 // *ProcessSelector_Tag 1207 Selector isProcessSelector_Selector `protobuf_oneof:"selector"` 1208 unknownFields protoimpl.UnknownFields 1209 sizeCache protoimpl.SizeCache 1210 } 1211 1212 func (x *ProcessSelector) Reset() { 1213 *x = ProcessSelector{} 1214 mi := &file_process_process_proto_msgTypes[21] 1215 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1216 ms.StoreMessageInfo(mi) 1217 } 1218 1219 func (x *ProcessSelector) String() string { 1220 return protoimpl.X.MessageStringOf(x) 1221 } 1222 1223 func (*ProcessSelector) ProtoMessage() {} 1224 1225 func (x *ProcessSelector) ProtoReflect() protoreflect.Message { 1226 mi := &file_process_process_proto_msgTypes[21] 1227 if x != nil { 1228 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1229 if ms.LoadMessageInfo() == nil { 1230 ms.StoreMessageInfo(mi) 1231 } 1232 return ms 1233 } 1234 return mi.MessageOf(x) 1235 } 1236 1237 // Deprecated: Use ProcessSelector.ProtoReflect.Descriptor instead. 1238 func (*ProcessSelector) Descriptor() ([]byte, []int) { 1239 return file_process_process_proto_rawDescGZIP(), []int{21} 1240 } 1241 1242 func (x *ProcessSelector) GetSelector() isProcessSelector_Selector { 1243 if x != nil { 1244 return x.Selector 1245 } 1246 return nil 1247 } 1248 1249 func (x *ProcessSelector) GetPid() uint32 { 1250 if x != nil { 1251 if x, ok := x.Selector.(*ProcessSelector_Pid); ok { 1252 return x.Pid 1253 } 1254 } 1255 return 0 1256 } 1257 1258 func (x *ProcessSelector) GetTag() string { 1259 if x != nil { 1260 if x, ok := x.Selector.(*ProcessSelector_Tag); ok { 1261 return x.Tag 1262 } 1263 } 1264 return "" 1265 } 1266 1267 type isProcessSelector_Selector interface { 1268 isProcessSelector_Selector() 1269 } 1270 1271 type ProcessSelector_Pid struct { 1272 Pid uint32 `protobuf:"varint,1,opt,name=pid,proto3,oneof"` 1273 } 1274 1275 type ProcessSelector_Tag struct { 1276 Tag string `protobuf:"bytes,2,opt,name=tag,proto3,oneof"` 1277 } 1278 1279 func (*ProcessSelector_Pid) isProcessSelector_Selector() {} 1280 1281 func (*ProcessSelector_Tag) isProcessSelector_Selector() {} 1282 1283 type PTY_Size struct { 1284 state protoimpl.MessageState `protogen:"open.v1"` 1285 Cols uint32 `protobuf:"varint,1,opt,name=cols,proto3" json:"cols,omitempty"` 1286 Rows uint32 `protobuf:"varint,2,opt,name=rows,proto3" json:"rows,omitempty"` 1287 unknownFields protoimpl.UnknownFields 1288 sizeCache protoimpl.SizeCache 1289 } 1290 1291 func (x *PTY_Size) Reset() { 1292 *x = PTY_Size{} 1293 mi := &file_process_process_proto_msgTypes[22] 1294 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1295 ms.StoreMessageInfo(mi) 1296 } 1297 1298 func (x *PTY_Size) String() string { 1299 return protoimpl.X.MessageStringOf(x) 1300 } 1301 1302 func (*PTY_Size) ProtoMessage() {} 1303 1304 func (x *PTY_Size) ProtoReflect() protoreflect.Message { 1305 mi := &file_process_process_proto_msgTypes[22] 1306 if x != nil { 1307 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1308 if ms.LoadMessageInfo() == nil { 1309 ms.StoreMessageInfo(mi) 1310 } 1311 return ms 1312 } 1313 return mi.MessageOf(x) 1314 } 1315 1316 // Deprecated: Use PTY_Size.ProtoReflect.Descriptor instead. 1317 func (*PTY_Size) Descriptor() ([]byte, []int) { 1318 return file_process_process_proto_rawDescGZIP(), []int{0, 0} 1319 } 1320 1321 func (x *PTY_Size) GetCols() uint32 { 1322 if x != nil { 1323 return x.Cols 1324 } 1325 return 0 1326 } 1327 1328 func (x *PTY_Size) GetRows() uint32 { 1329 if x != nil { 1330 return x.Rows 1331 } 1332 return 0 1333 } 1334 1335 type ProcessEvent_StartEvent struct { 1336 state protoimpl.MessageState `protogen:"open.v1"` 1337 Pid uint32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` 1338 unknownFields protoimpl.UnknownFields 1339 sizeCache protoimpl.SizeCache 1340 } 1341 1342 func (x *ProcessEvent_StartEvent) Reset() { 1343 *x = ProcessEvent_StartEvent{} 1344 mi := &file_process_process_proto_msgTypes[24] 1345 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1346 ms.StoreMessageInfo(mi) 1347 } 1348 1349 func (x *ProcessEvent_StartEvent) String() string { 1350 return protoimpl.X.MessageStringOf(x) 1351 } 1352 1353 func (*ProcessEvent_StartEvent) ProtoMessage() {} 1354 1355 func (x *ProcessEvent_StartEvent) ProtoReflect() protoreflect.Message { 1356 mi := &file_process_process_proto_msgTypes[24] 1357 if x != nil { 1358 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1359 if ms.LoadMessageInfo() == nil { 1360 ms.StoreMessageInfo(mi) 1361 } 1362 return ms 1363 } 1364 return mi.MessageOf(x) 1365 } 1366 1367 // Deprecated: Use ProcessEvent_StartEvent.ProtoReflect.Descriptor instead. 1368 func (*ProcessEvent_StartEvent) Descriptor() ([]byte, []int) { 1369 return file_process_process_proto_rawDescGZIP(), []int{8, 0} 1370 } 1371 1372 func (x *ProcessEvent_StartEvent) GetPid() uint32 { 1373 if x != nil { 1374 return x.Pid 1375 } 1376 return 0 1377 } 1378 1379 type ProcessEvent_DataEvent struct { 1380 state protoimpl.MessageState `protogen:"open.v1"` 1381 // Types that are valid to be assigned to Output: 1382 // 1383 // *ProcessEvent_DataEvent_Stdout 1384 // *ProcessEvent_DataEvent_Stderr 1385 // *ProcessEvent_DataEvent_Pty 1386 Output isProcessEvent_DataEvent_Output `protobuf_oneof:"output"` 1387 unknownFields protoimpl.UnknownFields 1388 sizeCache protoimpl.SizeCache 1389 } 1390 1391 func (x *ProcessEvent_DataEvent) Reset() { 1392 *x = ProcessEvent_DataEvent{} 1393 mi := &file_process_process_proto_msgTypes[25] 1394 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1395 ms.StoreMessageInfo(mi) 1396 } 1397 1398 func (x *ProcessEvent_DataEvent) String() string { 1399 return protoimpl.X.MessageStringOf(x) 1400 } 1401 1402 func (*ProcessEvent_DataEvent) ProtoMessage() {} 1403 1404 func (x *ProcessEvent_DataEvent) ProtoReflect() protoreflect.Message { 1405 mi := &file_process_process_proto_msgTypes[25] 1406 if x != nil { 1407 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1408 if ms.LoadMessageInfo() == nil { 1409 ms.StoreMessageInfo(mi) 1410 } 1411 return ms 1412 } 1413 return mi.MessageOf(x) 1414 } 1415 1416 // Deprecated: Use ProcessEvent_DataEvent.ProtoReflect.Descriptor instead. 1417 func (*ProcessEvent_DataEvent) Descriptor() ([]byte, []int) { 1418 return file_process_process_proto_rawDescGZIP(), []int{8, 1} 1419 } 1420 1421 func (x *ProcessEvent_DataEvent) GetOutput() isProcessEvent_DataEvent_Output { 1422 if x != nil { 1423 return x.Output 1424 } 1425 return nil 1426 } 1427 1428 func (x *ProcessEvent_DataEvent) GetStdout() []byte { 1429 if x != nil { 1430 if x, ok := x.Output.(*ProcessEvent_DataEvent_Stdout); ok { 1431 return x.Stdout 1432 } 1433 } 1434 return nil 1435 } 1436 1437 func (x *ProcessEvent_DataEvent) GetStderr() []byte { 1438 if x != nil { 1439 if x, ok := x.Output.(*ProcessEvent_DataEvent_Stderr); ok { 1440 return x.Stderr 1441 } 1442 } 1443 return nil 1444 } 1445 1446 func (x *ProcessEvent_DataEvent) GetPty() []byte { 1447 if x != nil { 1448 if x, ok := x.Output.(*ProcessEvent_DataEvent_Pty); ok { 1449 return x.Pty 1450 } 1451 } 1452 return nil 1453 } 1454 1455 type isProcessEvent_DataEvent_Output interface { 1456 isProcessEvent_DataEvent_Output() 1457 } 1458 1459 type ProcessEvent_DataEvent_Stdout struct { 1460 Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3,oneof"` 1461 } 1462 1463 type ProcessEvent_DataEvent_Stderr struct { 1464 Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3,oneof"` 1465 } 1466 1467 type ProcessEvent_DataEvent_Pty struct { 1468 Pty []byte `protobuf:"bytes,3,opt,name=pty,proto3,oneof"` 1469 } 1470 1471 func (*ProcessEvent_DataEvent_Stdout) isProcessEvent_DataEvent_Output() {} 1472 1473 func (*ProcessEvent_DataEvent_Stderr) isProcessEvent_DataEvent_Output() {} 1474 1475 func (*ProcessEvent_DataEvent_Pty) isProcessEvent_DataEvent_Output() {} 1476 1477 type ProcessEvent_EndEvent struct { 1478 state protoimpl.MessageState `protogen:"open.v1"` 1479 ExitCode int32 `protobuf:"zigzag32,1,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` 1480 Exited bool `protobuf:"varint,2,opt,name=exited,proto3" json:"exited,omitempty"` 1481 Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` 1482 Error *string `protobuf:"bytes,4,opt,name=error,proto3,oneof" json:"error,omitempty"` 1483 unknownFields protoimpl.UnknownFields 1484 sizeCache protoimpl.SizeCache 1485 } 1486 1487 func (x *ProcessEvent_EndEvent) Reset() { 1488 *x = ProcessEvent_EndEvent{} 1489 mi := &file_process_process_proto_msgTypes[26] 1490 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1491 ms.StoreMessageInfo(mi) 1492 } 1493 1494 func (x *ProcessEvent_EndEvent) String() string { 1495 return protoimpl.X.MessageStringOf(x) 1496 } 1497 1498 func (*ProcessEvent_EndEvent) ProtoMessage() {} 1499 1500 func (x *ProcessEvent_EndEvent) ProtoReflect() protoreflect.Message { 1501 mi := &file_process_process_proto_msgTypes[26] 1502 if x != nil { 1503 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1504 if ms.LoadMessageInfo() == nil { 1505 ms.StoreMessageInfo(mi) 1506 } 1507 return ms 1508 } 1509 return mi.MessageOf(x) 1510 } 1511 1512 // Deprecated: Use ProcessEvent_EndEvent.ProtoReflect.Descriptor instead. 1513 func (*ProcessEvent_EndEvent) Descriptor() ([]byte, []int) { 1514 return file_process_process_proto_rawDescGZIP(), []int{8, 2} 1515 } 1516 1517 func (x *ProcessEvent_EndEvent) GetExitCode() int32 { 1518 if x != nil { 1519 return x.ExitCode 1520 } 1521 return 0 1522 } 1523 1524 func (x *ProcessEvent_EndEvent) GetExited() bool { 1525 if x != nil { 1526 return x.Exited 1527 } 1528 return false 1529 } 1530 1531 func (x *ProcessEvent_EndEvent) GetStatus() string { 1532 if x != nil { 1533 return x.Status 1534 } 1535 return "" 1536 } 1537 1538 func (x *ProcessEvent_EndEvent) GetError() string { 1539 if x != nil && x.Error != nil { 1540 return *x.Error 1541 } 1542 return "" 1543 } 1544 1545 type ProcessEvent_KeepAlive struct { 1546 state protoimpl.MessageState `protogen:"open.v1"` 1547 unknownFields protoimpl.UnknownFields 1548 sizeCache protoimpl.SizeCache 1549 } 1550 1551 func (x *ProcessEvent_KeepAlive) Reset() { 1552 *x = ProcessEvent_KeepAlive{} 1553 mi := &file_process_process_proto_msgTypes[27] 1554 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1555 ms.StoreMessageInfo(mi) 1556 } 1557 1558 func (x *ProcessEvent_KeepAlive) String() string { 1559 return protoimpl.X.MessageStringOf(x) 1560 } 1561 1562 func (*ProcessEvent_KeepAlive) ProtoMessage() {} 1563 1564 func (x *ProcessEvent_KeepAlive) ProtoReflect() protoreflect.Message { 1565 mi := &file_process_process_proto_msgTypes[27] 1566 if x != nil { 1567 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1568 if ms.LoadMessageInfo() == nil { 1569 ms.StoreMessageInfo(mi) 1570 } 1571 return ms 1572 } 1573 return mi.MessageOf(x) 1574 } 1575 1576 // Deprecated: Use ProcessEvent_KeepAlive.ProtoReflect.Descriptor instead. 1577 func (*ProcessEvent_KeepAlive) Descriptor() ([]byte, []int) { 1578 return file_process_process_proto_rawDescGZIP(), []int{8, 3} 1579 } 1580 1581 type StreamInputRequest_StartEvent struct { 1582 state protoimpl.MessageState `protogen:"open.v1"` 1583 Process *ProcessSelector `protobuf:"bytes,1,opt,name=process,proto3" json:"process,omitempty"` 1584 unknownFields protoimpl.UnknownFields 1585 sizeCache protoimpl.SizeCache 1586 } 1587 1588 func (x *StreamInputRequest_StartEvent) Reset() { 1589 *x = StreamInputRequest_StartEvent{} 1590 mi := &file_process_process_proto_msgTypes[28] 1591 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1592 ms.StoreMessageInfo(mi) 1593 } 1594 1595 func (x *StreamInputRequest_StartEvent) String() string { 1596 return protoimpl.X.MessageStringOf(x) 1597 } 1598 1599 func (*StreamInputRequest_StartEvent) ProtoMessage() {} 1600 1601 func (x *StreamInputRequest_StartEvent) ProtoReflect() protoreflect.Message { 1602 mi := &file_process_process_proto_msgTypes[28] 1603 if x != nil { 1604 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1605 if ms.LoadMessageInfo() == nil { 1606 ms.StoreMessageInfo(mi) 1607 } 1608 return ms 1609 } 1610 return mi.MessageOf(x) 1611 } 1612 1613 // Deprecated: Use StreamInputRequest_StartEvent.ProtoReflect.Descriptor instead. 1614 func (*StreamInputRequest_StartEvent) Descriptor() ([]byte, []int) { 1615 return file_process_process_proto_rawDescGZIP(), []int{14, 0} 1616 } 1617 1618 func (x *StreamInputRequest_StartEvent) GetProcess() *ProcessSelector { 1619 if x != nil { 1620 return x.Process 1621 } 1622 return nil 1623 } 1624 1625 type StreamInputRequest_DataEvent struct { 1626 state protoimpl.MessageState `protogen:"open.v1"` 1627 Input *ProcessInput `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"` 1628 unknownFields protoimpl.UnknownFields 1629 sizeCache protoimpl.SizeCache 1630 } 1631 1632 func (x *StreamInputRequest_DataEvent) Reset() { 1633 *x = StreamInputRequest_DataEvent{} 1634 mi := &file_process_process_proto_msgTypes[29] 1635 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1636 ms.StoreMessageInfo(mi) 1637 } 1638 1639 func (x *StreamInputRequest_DataEvent) String() string { 1640 return protoimpl.X.MessageStringOf(x) 1641 } 1642 1643 func (*StreamInputRequest_DataEvent) ProtoMessage() {} 1644 1645 func (x *StreamInputRequest_DataEvent) ProtoReflect() protoreflect.Message { 1646 mi := &file_process_process_proto_msgTypes[29] 1647 if x != nil { 1648 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1649 if ms.LoadMessageInfo() == nil { 1650 ms.StoreMessageInfo(mi) 1651 } 1652 return ms 1653 } 1654 return mi.MessageOf(x) 1655 } 1656 1657 // Deprecated: Use StreamInputRequest_DataEvent.ProtoReflect.Descriptor instead. 1658 func (*StreamInputRequest_DataEvent) Descriptor() ([]byte, []int) { 1659 return file_process_process_proto_rawDescGZIP(), []int{14, 1} 1660 } 1661 1662 func (x *StreamInputRequest_DataEvent) GetInput() *ProcessInput { 1663 if x != nil { 1664 return x.Input 1665 } 1666 return nil 1667 } 1668 1669 type StreamInputRequest_KeepAlive struct { 1670 state protoimpl.MessageState `protogen:"open.v1"` 1671 unknownFields protoimpl.UnknownFields 1672 sizeCache protoimpl.SizeCache 1673 } 1674 1675 func (x *StreamInputRequest_KeepAlive) Reset() { 1676 *x = StreamInputRequest_KeepAlive{} 1677 mi := &file_process_process_proto_msgTypes[30] 1678 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1679 ms.StoreMessageInfo(mi) 1680 } 1681 1682 func (x *StreamInputRequest_KeepAlive) String() string { 1683 return protoimpl.X.MessageStringOf(x) 1684 } 1685 1686 func (*StreamInputRequest_KeepAlive) ProtoMessage() {} 1687 1688 func (x *StreamInputRequest_KeepAlive) ProtoReflect() protoreflect.Message { 1689 mi := &file_process_process_proto_msgTypes[30] 1690 if x != nil { 1691 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1692 if ms.LoadMessageInfo() == nil { 1693 ms.StoreMessageInfo(mi) 1694 } 1695 return ms 1696 } 1697 return mi.MessageOf(x) 1698 } 1699 1700 // Deprecated: Use StreamInputRequest_KeepAlive.ProtoReflect.Descriptor instead. 1701 func (*StreamInputRequest_KeepAlive) Descriptor() ([]byte, []int) { 1702 return file_process_process_proto_rawDescGZIP(), []int{14, 2} 1703 } 1704 1705 var File_process_process_proto protoreflect.FileDescriptor 1706 1707 const file_process_process_proto_rawDesc = "" + 1708 "\n" + 1709 "\x15process/process.proto\x12\aprocess\"\\\n" + 1710 "\x03PTY\x12%\n" + 1711 "\x04size\x18\x01 \x01(\v2\x11.process.PTY.SizeR\x04size\x1a.\n" + 1712 "\x04Size\x12\x12\n" + 1713 "\x04cols\x18\x01 \x01(\rR\x04cols\x12\x12\n" + 1714 "\x04rows\x18\x02 \x01(\rR\x04rows\"\xc3\x01\n" + 1715 "\rProcessConfig\x12\x10\n" + 1716 "\x03cmd\x18\x01 \x01(\tR\x03cmd\x12\x12\n" + 1717 "\x04args\x18\x02 \x03(\tR\x04args\x124\n" + 1718 "\x04envs\x18\x03 \x03(\v2 .process.ProcessConfig.EnvsEntryR\x04envs\x12\x15\n" + 1719 "\x03cwd\x18\x04 \x01(\tH\x00R\x03cwd\x88\x01\x01\x1a7\n" + 1720 "\tEnvsEntry\x12\x10\n" + 1721 "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + 1722 "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\x06\n" + 1723 "\x04_cwd\"\r\n" + 1724 "\vListRequest\"n\n" + 1725 "\vProcessInfo\x12.\n" + 1726 "\x06config\x18\x01 \x01(\v2\x16.process.ProcessConfigR\x06config\x12\x10\n" + 1727 "\x03pid\x18\x02 \x01(\rR\x03pid\x12\x15\n" + 1728 "\x03tag\x18\x03 \x01(\tH\x00R\x03tag\x88\x01\x01B\x06\n" + 1729 "\x04_tag\"B\n" + 1730 "\fListResponse\x122\n" + 1731 "\tprocesses\x18\x01 \x03(\v2\x14.process.ProcessInfoR\tprocesses\"\xb1\x01\n" + 1732 "\fStartRequest\x120\n" + 1733 "\aprocess\x18\x01 \x01(\v2\x16.process.ProcessConfigR\aprocess\x12#\n" + 1734 "\x03pty\x18\x02 \x01(\v2\f.process.PTYH\x00R\x03pty\x88\x01\x01\x12\x15\n" + 1735 "\x03tag\x18\x03 \x01(\tH\x01R\x03tag\x88\x01\x01\x12\x19\n" + 1736 "\x05stdin\x18\x04 \x01(\bH\x02R\x05stdin\x88\x01\x01B\x06\n" + 1737 "\x04_ptyB\x06\n" + 1738 "\x04_tagB\b\n" + 1739 "\x06_stdin\"p\n" + 1740 "\rUpdateRequest\x122\n" + 1741 "\aprocess\x18\x01 \x01(\v2\x18.process.ProcessSelectorR\aprocess\x12#\n" + 1742 "\x03pty\x18\x02 \x01(\v2\f.process.PTYH\x00R\x03pty\x88\x01\x01B\x06\n" + 1743 "\x04_pty\"\x10\n" + 1744 "\x0eUpdateResponse\"\x87\x04\n" + 1745 "\fProcessEvent\x128\n" + 1746 "\x05start\x18\x01 \x01(\v2 .process.ProcessEvent.StartEventH\x00R\x05start\x125\n" + 1747 "\x04data\x18\x02 \x01(\v2\x1f.process.ProcessEvent.DataEventH\x00R\x04data\x122\n" + 1748 "\x03end\x18\x03 \x01(\v2\x1e.process.ProcessEvent.EndEventH\x00R\x03end\x12?\n" + 1749 "\tkeepalive\x18\x04 \x01(\v2\x1f.process.ProcessEvent.KeepAliveH\x00R\tkeepalive\x1a\x1e\n" + 1750 "\n" + 1751 "StartEvent\x12\x10\n" + 1752 "\x03pid\x18\x01 \x01(\rR\x03pid\x1a]\n" + 1753 "\tDataEvent\x12\x18\n" + 1754 "\x06stdout\x18\x01 \x01(\fH\x00R\x06stdout\x12\x18\n" + 1755 "\x06stderr\x18\x02 \x01(\fH\x00R\x06stderr\x12\x12\n" + 1756 "\x03pty\x18\x03 \x01(\fH\x00R\x03ptyB\b\n" + 1757 "\x06output\x1a|\n" + 1758 "\bEndEvent\x12\x1b\n" + 1759 "\texit_code\x18\x01 \x01(\x11R\bexitCode\x12\x16\n" + 1760 "\x06exited\x18\x02 \x01(\bR\x06exited\x12\x16\n" + 1761 "\x06status\x18\x03 \x01(\tR\x06status\x12\x19\n" + 1762 "\x05error\x18\x04 \x01(\tH\x00R\x05error\x88\x01\x01B\b\n" + 1763 "\x06_error\x1a\v\n" + 1764 "\tKeepAliveB\a\n" + 1765 "\x05event\"<\n" + 1766 "\rStartResponse\x12+\n" + 1767 "\x05event\x18\x01 \x01(\v2\x15.process.ProcessEventR\x05event\">\n" + 1768 "\x0fConnectResponse\x12+\n" + 1769 "\x05event\x18\x01 \x01(\v2\x15.process.ProcessEventR\x05event\"s\n" + 1770 "\x10SendInputRequest\x122\n" + 1771 "\aprocess\x18\x01 \x01(\v2\x18.process.ProcessSelectorR\aprocess\x12+\n" + 1772 "\x05input\x18\x02 \x01(\v2\x15.process.ProcessInputR\x05input\"\x13\n" + 1773 "\x11SendInputResponse\"C\n" + 1774 "\fProcessInput\x12\x16\n" + 1775 "\x05stdin\x18\x01 \x01(\fH\x00R\x05stdin\x12\x12\n" + 1776 "\x03pty\x18\x02 \x01(\fH\x00R\x03ptyB\a\n" + 1777 "\x05input\"\xea\x02\n" + 1778 "\x12StreamInputRequest\x12>\n" + 1779 "\x05start\x18\x01 \x01(\v2&.process.StreamInputRequest.StartEventH\x00R\x05start\x12;\n" + 1780 "\x04data\x18\x02 \x01(\v2%.process.StreamInputRequest.DataEventH\x00R\x04data\x12E\n" + 1781 "\tkeepalive\x18\x03 \x01(\v2%.process.StreamInputRequest.KeepAliveH\x00R\tkeepalive\x1a@\n" + 1782 "\n" + 1783 "StartEvent\x122\n" + 1784 "\aprocess\x18\x01 \x01(\v2\x18.process.ProcessSelectorR\aprocess\x1a8\n" + 1785 "\tDataEvent\x12+\n" + 1786 "\x05input\x18\x02 \x01(\v2\x15.process.ProcessInputR\x05input\x1a\v\n" + 1787 "\tKeepAliveB\a\n" + 1788 "\x05event\"\x15\n" + 1789 "\x13StreamInputResponse\"p\n" + 1790 "\x11SendSignalRequest\x122\n" + 1791 "\aprocess\x18\x01 \x01(\v2\x18.process.ProcessSelectorR\aprocess\x12'\n" + 1792 "\x06signal\x18\x02 \x01(\x0e2\x0f.process.SignalR\x06signal\"\x14\n" + 1793 "\x12SendSignalResponse\"G\n" + 1794 "\x11CloseStdinRequest\x122\n" + 1795 "\aprocess\x18\x01 \x01(\v2\x18.process.ProcessSelectorR\aprocess\"\x14\n" + 1796 "\x12CloseStdinResponse\"D\n" + 1797 "\x0eConnectRequest\x122\n" + 1798 "\aprocess\x18\x01 \x01(\v2\x18.process.ProcessSelectorR\aprocess\"E\n" + 1799 "\x0fProcessSelector\x12\x12\n" + 1800 "\x03pid\x18\x01 \x01(\rH\x00R\x03pid\x12\x12\n" + 1801 "\x03tag\x18\x02 \x01(\tH\x00R\x03tagB\n" + 1802 "\n" + 1803 "\bselector*H\n" + 1804 "\x06Signal\x12\x16\n" + 1805 "\x12SIGNAL_UNSPECIFIED\x10\x00\x12\x12\n" + 1806 "\x0eSIGNAL_SIGTERM\x10\x0f\x12\x12\n" + 1807 "\x0eSIGNAL_SIGKILL\x10\t2\x91\x04\n" + 1808 "\aProcess\x123\n" + 1809 "\x04List\x12\x14.process.ListRequest\x1a\x15.process.ListResponse\x12>\n" + 1810 "\aConnect\x12\x17.process.ConnectRequest\x1a\x18.process.ConnectResponse0\x01\x128\n" + 1811 "\x05Start\x12\x15.process.StartRequest\x1a\x16.process.StartResponse0\x01\x129\n" + 1812 "\x06Update\x12\x16.process.UpdateRequest\x1a\x17.process.UpdateResponse\x12J\n" + 1813 "\vStreamInput\x12\x1b.process.StreamInputRequest\x1a\x1c.process.StreamInputResponse(\x01\x12B\n" + 1814 "\tSendInput\x12\x19.process.SendInputRequest\x1a\x1a.process.SendInputResponse\x12E\n" + 1815 "\n" + 1816 "SendSignal\x12\x1a.process.SendSignalRequest\x1a\x1b.process.SendSignalResponse\x12E\n" + 1817 "\n" + 1818 "CloseStdin\x12\x1a.process.CloseStdinRequest\x1a\x1b.process.CloseStdinResponseB\x94\x01\n" + 1819 "\vcom.processB\fProcessProtoP\x01Z;github.com/qiniu/go-sdk/v7/sandbox/internal/envdapi/process\xa2\x02\x03PXX\xaa\x02\aProcess\xca\x02\aProcess\xe2\x02\x13Process\\GPBMetadata\xea\x02\aProcessb\x06proto3" 1820 1821 var ( 1822 file_process_process_proto_rawDescOnce sync.Once 1823 file_process_process_proto_rawDescData []byte 1824 ) 1825 1826 func file_process_process_proto_rawDescGZIP() []byte { 1827 file_process_process_proto_rawDescOnce.Do(func() { 1828 file_process_process_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_process_process_proto_rawDesc), len(file_process_process_proto_rawDesc))) 1829 }) 1830 return file_process_process_proto_rawDescData 1831 } 1832 1833 var file_process_process_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 1834 var file_process_process_proto_msgTypes = make([]protoimpl.MessageInfo, 31) 1835 var file_process_process_proto_goTypes = []any{ 1836 (Signal)(0), // 0: process.Signal 1837 (*PTY)(nil), // 1: process.PTY 1838 (*ProcessConfig)(nil), // 2: process.ProcessConfig 1839 (*ListRequest)(nil), // 3: process.ListRequest 1840 (*ProcessInfo)(nil), // 4: process.ProcessInfo 1841 (*ListResponse)(nil), // 5: process.ListResponse 1842 (*StartRequest)(nil), // 6: process.StartRequest 1843 (*UpdateRequest)(nil), // 7: process.UpdateRequest 1844 (*UpdateResponse)(nil), // 8: process.UpdateResponse 1845 (*ProcessEvent)(nil), // 9: process.ProcessEvent 1846 (*StartResponse)(nil), // 10: process.StartResponse 1847 (*ConnectResponse)(nil), // 11: process.ConnectResponse 1848 (*SendInputRequest)(nil), // 12: process.SendInputRequest 1849 (*SendInputResponse)(nil), // 13: process.SendInputResponse 1850 (*ProcessInput)(nil), // 14: process.ProcessInput 1851 (*StreamInputRequest)(nil), // 15: process.StreamInputRequest 1852 (*StreamInputResponse)(nil), // 16: process.StreamInputResponse 1853 (*SendSignalRequest)(nil), // 17: process.SendSignalRequest 1854 (*SendSignalResponse)(nil), // 18: process.SendSignalResponse 1855 (*CloseStdinRequest)(nil), // 19: process.CloseStdinRequest 1856 (*CloseStdinResponse)(nil), // 20: process.CloseStdinResponse 1857 (*ConnectRequest)(nil), // 21: process.ConnectRequest 1858 (*ProcessSelector)(nil), // 22: process.ProcessSelector 1859 (*PTY_Size)(nil), // 23: process.PTY.Size 1860 nil, // 24: process.ProcessConfig.EnvsEntry 1861 (*ProcessEvent_StartEvent)(nil), // 25: process.ProcessEvent.StartEvent 1862 (*ProcessEvent_DataEvent)(nil), // 26: process.ProcessEvent.DataEvent 1863 (*ProcessEvent_EndEvent)(nil), // 27: process.ProcessEvent.EndEvent 1864 (*ProcessEvent_KeepAlive)(nil), // 28: process.ProcessEvent.KeepAlive 1865 (*StreamInputRequest_StartEvent)(nil), // 29: process.StreamInputRequest.StartEvent 1866 (*StreamInputRequest_DataEvent)(nil), // 30: process.StreamInputRequest.DataEvent 1867 (*StreamInputRequest_KeepAlive)(nil), // 31: process.StreamInputRequest.KeepAlive 1868 } 1869 var file_process_process_proto_depIdxs = []int32{ 1870 23, // 0: process.PTY.size:type_name -> process.PTY.Size 1871 24, // 1: process.ProcessConfig.envs:type_name -> process.ProcessConfig.EnvsEntry 1872 2, // 2: process.ProcessInfo.config:type_name -> process.ProcessConfig 1873 4, // 3: process.ListResponse.processes:type_name -> process.ProcessInfo 1874 2, // 4: process.StartRequest.process:type_name -> process.ProcessConfig 1875 1, // 5: process.StartRequest.pty:type_name -> process.PTY 1876 22, // 6: process.UpdateRequest.process:type_name -> process.ProcessSelector 1877 1, // 7: process.UpdateRequest.pty:type_name -> process.PTY 1878 25, // 8: process.ProcessEvent.start:type_name -> process.ProcessEvent.StartEvent 1879 26, // 9: process.ProcessEvent.data:type_name -> process.ProcessEvent.DataEvent 1880 27, // 10: process.ProcessEvent.end:type_name -> process.ProcessEvent.EndEvent 1881 28, // 11: process.ProcessEvent.keepalive:type_name -> process.ProcessEvent.KeepAlive 1882 9, // 12: process.StartResponse.event:type_name -> process.ProcessEvent 1883 9, // 13: process.ConnectResponse.event:type_name -> process.ProcessEvent 1884 22, // 14: process.SendInputRequest.process:type_name -> process.ProcessSelector 1885 14, // 15: process.SendInputRequest.input:type_name -> process.ProcessInput 1886 29, // 16: process.StreamInputRequest.start:type_name -> process.StreamInputRequest.StartEvent 1887 30, // 17: process.StreamInputRequest.data:type_name -> process.StreamInputRequest.DataEvent 1888 31, // 18: process.StreamInputRequest.keepalive:type_name -> process.StreamInputRequest.KeepAlive 1889 22, // 19: process.SendSignalRequest.process:type_name -> process.ProcessSelector 1890 0, // 20: process.SendSignalRequest.signal:type_name -> process.Signal 1891 22, // 21: process.CloseStdinRequest.process:type_name -> process.ProcessSelector 1892 22, // 22: process.ConnectRequest.process:type_name -> process.ProcessSelector 1893 22, // 23: process.StreamInputRequest.StartEvent.process:type_name -> process.ProcessSelector 1894 14, // 24: process.StreamInputRequest.DataEvent.input:type_name -> process.ProcessInput 1895 3, // 25: process.Process.List:input_type -> process.ListRequest 1896 21, // 26: process.Process.Connect:input_type -> process.ConnectRequest 1897 6, // 27: process.Process.Start:input_type -> process.StartRequest 1898 7, // 28: process.Process.Update:input_type -> process.UpdateRequest 1899 15, // 29: process.Process.StreamInput:input_type -> process.StreamInputRequest 1900 12, // 30: process.Process.SendInput:input_type -> process.SendInputRequest 1901 17, // 31: process.Process.SendSignal:input_type -> process.SendSignalRequest 1902 19, // 32: process.Process.CloseStdin:input_type -> process.CloseStdinRequest 1903 5, // 33: process.Process.List:output_type -> process.ListResponse 1904 11, // 34: process.Process.Connect:output_type -> process.ConnectResponse 1905 10, // 35: process.Process.Start:output_type -> process.StartResponse 1906 8, // 36: process.Process.Update:output_type -> process.UpdateResponse 1907 16, // 37: process.Process.StreamInput:output_type -> process.StreamInputResponse 1908 13, // 38: process.Process.SendInput:output_type -> process.SendInputResponse 1909 18, // 39: process.Process.SendSignal:output_type -> process.SendSignalResponse 1910 20, // 40: process.Process.CloseStdin:output_type -> process.CloseStdinResponse 1911 33, // [33:41] is the sub-list for method output_type 1912 25, // [25:33] is the sub-list for method input_type 1913 25, // [25:25] is the sub-list for extension type_name 1914 25, // [25:25] is the sub-list for extension extendee 1915 0, // [0:25] is the sub-list for field type_name 1916 } 1917 1918 func init() { file_process_process_proto_init() } 1919 func file_process_process_proto_init() { 1920 if File_process_process_proto != nil { 1921 return 1922 } 1923 file_process_process_proto_msgTypes[1].OneofWrappers = []any{} 1924 file_process_process_proto_msgTypes[3].OneofWrappers = []any{} 1925 file_process_process_proto_msgTypes[5].OneofWrappers = []any{} 1926 file_process_process_proto_msgTypes[6].OneofWrappers = []any{} 1927 file_process_process_proto_msgTypes[8].OneofWrappers = []any{ 1928 (*ProcessEvent_Start)(nil), 1929 (*ProcessEvent_Data)(nil), 1930 (*ProcessEvent_End)(nil), 1931 (*ProcessEvent_Keepalive)(nil), 1932 } 1933 file_process_process_proto_msgTypes[13].OneofWrappers = []any{ 1934 (*ProcessInput_Stdin)(nil), 1935 (*ProcessInput_Pty)(nil), 1936 } 1937 file_process_process_proto_msgTypes[14].OneofWrappers = []any{ 1938 (*StreamInputRequest_Start)(nil), 1939 (*StreamInputRequest_Data)(nil), 1940 (*StreamInputRequest_Keepalive)(nil), 1941 } 1942 file_process_process_proto_msgTypes[21].OneofWrappers = []any{ 1943 (*ProcessSelector_Pid)(nil), 1944 (*ProcessSelector_Tag)(nil), 1945 } 1946 file_process_process_proto_msgTypes[25].OneofWrappers = []any{ 1947 (*ProcessEvent_DataEvent_Stdout)(nil), 1948 (*ProcessEvent_DataEvent_Stderr)(nil), 1949 (*ProcessEvent_DataEvent_Pty)(nil), 1950 } 1951 file_process_process_proto_msgTypes[26].OneofWrappers = []any{} 1952 type x struct{} 1953 out := protoimpl.TypeBuilder{ 1954 File: protoimpl.DescBuilder{ 1955 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1956 RawDescriptor: unsafe.Slice(unsafe.StringData(file_process_process_proto_rawDesc), len(file_process_process_proto_rawDesc)), 1957 NumEnums: 1, 1958 NumMessages: 31, 1959 NumExtensions: 0, 1960 NumServices: 1, 1961 }, 1962 GoTypes: file_process_process_proto_goTypes, 1963 DependencyIndexes: file_process_process_proto_depIdxs, 1964 EnumInfos: file_process_process_proto_enumTypes, 1965 MessageInfos: file_process_process_proto_msgTypes, 1966 }.Build() 1967 File_process_process_proto = out.File 1968 file_process_process_proto_goTypes = nil 1969 file_process_process_proto_depIdxs = nil 1970 }