github.com/containerd/containerd@v22.0.0-20200918172823-438c87b8e050+incompatible/api/1.0.pb.txt (about) 1 file { 2 name: "google/protobuf/any.proto" 3 package: "google.protobuf" 4 message_type { 5 name: "Any" 6 field { 7 name: "type_url" 8 number: 1 9 label: LABEL_OPTIONAL 10 type: TYPE_STRING 11 json_name: "typeUrl" 12 } 13 field { 14 name: "value" 15 number: 2 16 label: LABEL_OPTIONAL 17 type: TYPE_BYTES 18 json_name: "value" 19 } 20 } 21 options { 22 java_package: "com.google.protobuf" 23 java_outer_classname: "AnyProto" 24 java_multiple_files: true 25 go_package: "github.com/golang/protobuf/ptypes/any" 26 objc_class_prefix: "GPB" 27 csharp_namespace: "Google.Protobuf.WellKnownTypes" 28 } 29 syntax: "proto3" 30 } 31 file { 32 name: "github.com/containerd/containerd/protobuf/plugin/fieldpath.proto" 33 package: "containerd.plugin" 34 dependency: "google/protobuf/descriptor.proto" 35 extension { 36 name: "fieldpath_all" 37 extendee: ".google.protobuf.FileOptions" 38 number: 63300 39 label: LABEL_OPTIONAL 40 type: TYPE_BOOL 41 json_name: "fieldpathAll" 42 } 43 extension { 44 name: "fieldpath" 45 extendee: ".google.protobuf.MessageOptions" 46 number: 64400 47 label: LABEL_OPTIONAL 48 type: TYPE_BOOL 49 json_name: "fieldpath" 50 } 51 } 52 file { 53 name: "github.com/containerd/containerd/api/events/container.proto" 54 package: "containerd.events" 55 dependency: "google/protobuf/any.proto" 56 dependency: "gogoproto/gogo.proto" 57 dependency: "github.com/containerd/containerd/protobuf/plugin/fieldpath.proto" 58 message_type { 59 name: "ContainerCreate" 60 field { 61 name: "id" 62 number: 1 63 label: LABEL_OPTIONAL 64 type: TYPE_STRING 65 json_name: "id" 66 } 67 field { 68 name: "image" 69 number: 2 70 label: LABEL_OPTIONAL 71 type: TYPE_STRING 72 json_name: "image" 73 } 74 field { 75 name: "runtime" 76 number: 3 77 label: LABEL_OPTIONAL 78 type: TYPE_MESSAGE 79 type_name: ".containerd.events.ContainerCreate.Runtime" 80 json_name: "runtime" 81 } 82 nested_type { 83 name: "Runtime" 84 field { 85 name: "name" 86 number: 1 87 label: LABEL_OPTIONAL 88 type: TYPE_STRING 89 json_name: "name" 90 } 91 field { 92 name: "options" 93 number: 2 94 label: LABEL_OPTIONAL 95 type: TYPE_MESSAGE 96 type_name: ".google.protobuf.Any" 97 json_name: "options" 98 } 99 } 100 } 101 message_type { 102 name: "ContainerUpdate" 103 field { 104 name: "id" 105 number: 1 106 label: LABEL_OPTIONAL 107 type: TYPE_STRING 108 json_name: "id" 109 } 110 field { 111 name: "image" 112 number: 2 113 label: LABEL_OPTIONAL 114 type: TYPE_STRING 115 json_name: "image" 116 } 117 field { 118 name: "labels" 119 number: 3 120 label: LABEL_REPEATED 121 type: TYPE_MESSAGE 122 type_name: ".containerd.events.ContainerUpdate.LabelsEntry" 123 json_name: "labels" 124 } 125 field { 126 name: "snapshot_key" 127 number: 4 128 label: LABEL_OPTIONAL 129 type: TYPE_STRING 130 json_name: "snapshotKey" 131 } 132 nested_type { 133 name: "LabelsEntry" 134 field { 135 name: "key" 136 number: 1 137 label: LABEL_OPTIONAL 138 type: TYPE_STRING 139 json_name: "key" 140 } 141 field { 142 name: "value" 143 number: 2 144 label: LABEL_OPTIONAL 145 type: TYPE_STRING 146 json_name: "value" 147 } 148 options { 149 map_entry: true 150 } 151 } 152 } 153 message_type { 154 name: "ContainerDelete" 155 field { 156 name: "id" 157 number: 1 158 label: LABEL_OPTIONAL 159 type: TYPE_STRING 160 json_name: "id" 161 } 162 } 163 options { 164 go_package: "github.com/containerd/containerd/api/events;events" 165 63300: 1 166 } 167 weak_dependency: 1 168 weak_dependency: 2 169 syntax: "proto3" 170 } 171 file { 172 name: "github.com/containerd/containerd/api/events/content.proto" 173 package: "containerd.events" 174 dependency: "gogoproto/gogo.proto" 175 dependency: "github.com/containerd/containerd/protobuf/plugin/fieldpath.proto" 176 message_type { 177 name: "ContentDelete" 178 field { 179 name: "digest" 180 number: 1 181 label: LABEL_OPTIONAL 182 type: TYPE_STRING 183 options { 184 65003: "github.com/opencontainers/go-digest.Digest" 185 65001: 0 186 } 187 json_name: "digest" 188 } 189 } 190 options { 191 go_package: "github.com/containerd/containerd/api/events;events" 192 63300: 1 193 } 194 weak_dependency: 0 195 weak_dependency: 1 196 syntax: "proto3" 197 } 198 file { 199 name: "github.com/containerd/containerd/api/events/image.proto" 200 package: "containerd.services.images.v1" 201 dependency: "github.com/containerd/containerd/protobuf/plugin/fieldpath.proto" 202 message_type { 203 name: "ImageCreate" 204 field { 205 name: "name" 206 number: 1 207 label: LABEL_OPTIONAL 208 type: TYPE_STRING 209 json_name: "name" 210 } 211 field { 212 name: "labels" 213 number: 2 214 label: LABEL_REPEATED 215 type: TYPE_MESSAGE 216 type_name: ".containerd.services.images.v1.ImageCreate.LabelsEntry" 217 json_name: "labels" 218 } 219 nested_type { 220 name: "LabelsEntry" 221 field { 222 name: "key" 223 number: 1 224 label: LABEL_OPTIONAL 225 type: TYPE_STRING 226 json_name: "key" 227 } 228 field { 229 name: "value" 230 number: 2 231 label: LABEL_OPTIONAL 232 type: TYPE_STRING 233 json_name: "value" 234 } 235 options { 236 map_entry: true 237 } 238 } 239 } 240 message_type { 241 name: "ImageUpdate" 242 field { 243 name: "name" 244 number: 1 245 label: LABEL_OPTIONAL 246 type: TYPE_STRING 247 json_name: "name" 248 } 249 field { 250 name: "labels" 251 number: 2 252 label: LABEL_REPEATED 253 type: TYPE_MESSAGE 254 type_name: ".containerd.services.images.v1.ImageUpdate.LabelsEntry" 255 json_name: "labels" 256 } 257 nested_type { 258 name: "LabelsEntry" 259 field { 260 name: "key" 261 number: 1 262 label: LABEL_OPTIONAL 263 type: TYPE_STRING 264 json_name: "key" 265 } 266 field { 267 name: "value" 268 number: 2 269 label: LABEL_OPTIONAL 270 type: TYPE_STRING 271 json_name: "value" 272 } 273 options { 274 map_entry: true 275 } 276 } 277 } 278 message_type { 279 name: "ImageDelete" 280 field { 281 name: "name" 282 number: 1 283 label: LABEL_OPTIONAL 284 type: TYPE_STRING 285 json_name: "name" 286 } 287 } 288 options { 289 go_package: "github.com/containerd/containerd/api/events;events" 290 63300: 1 291 } 292 weak_dependency: 0 293 syntax: "proto3" 294 } 295 file { 296 name: "github.com/containerd/containerd/api/events/namespace.proto" 297 package: "containerd.events" 298 dependency: "gogoproto/gogo.proto" 299 dependency: "github.com/containerd/containerd/protobuf/plugin/fieldpath.proto" 300 message_type { 301 name: "NamespaceCreate" 302 field { 303 name: "name" 304 number: 1 305 label: LABEL_OPTIONAL 306 type: TYPE_STRING 307 json_name: "name" 308 } 309 field { 310 name: "labels" 311 number: 2 312 label: LABEL_REPEATED 313 type: TYPE_MESSAGE 314 type_name: ".containerd.events.NamespaceCreate.LabelsEntry" 315 json_name: "labels" 316 } 317 nested_type { 318 name: "LabelsEntry" 319 field { 320 name: "key" 321 number: 1 322 label: LABEL_OPTIONAL 323 type: TYPE_STRING 324 json_name: "key" 325 } 326 field { 327 name: "value" 328 number: 2 329 label: LABEL_OPTIONAL 330 type: TYPE_STRING 331 json_name: "value" 332 } 333 options { 334 map_entry: true 335 } 336 } 337 } 338 message_type { 339 name: "NamespaceUpdate" 340 field { 341 name: "name" 342 number: 1 343 label: LABEL_OPTIONAL 344 type: TYPE_STRING 345 json_name: "name" 346 } 347 field { 348 name: "labels" 349 number: 2 350 label: LABEL_REPEATED 351 type: TYPE_MESSAGE 352 type_name: ".containerd.events.NamespaceUpdate.LabelsEntry" 353 json_name: "labels" 354 } 355 nested_type { 356 name: "LabelsEntry" 357 field { 358 name: "key" 359 number: 1 360 label: LABEL_OPTIONAL 361 type: TYPE_STRING 362 json_name: "key" 363 } 364 field { 365 name: "value" 366 number: 2 367 label: LABEL_OPTIONAL 368 type: TYPE_STRING 369 json_name: "value" 370 } 371 options { 372 map_entry: true 373 } 374 } 375 } 376 message_type { 377 name: "NamespaceDelete" 378 field { 379 name: "name" 380 number: 1 381 label: LABEL_OPTIONAL 382 type: TYPE_STRING 383 json_name: "name" 384 } 385 } 386 options { 387 go_package: "github.com/containerd/containerd/api/events;events" 388 63300: 1 389 } 390 weak_dependency: 0 391 weak_dependency: 1 392 syntax: "proto3" 393 } 394 file { 395 name: "github.com/containerd/containerd/api/events/snapshot.proto" 396 package: "containerd.events" 397 dependency: "github.com/containerd/containerd/protobuf/plugin/fieldpath.proto" 398 message_type { 399 name: "SnapshotPrepare" 400 field { 401 name: "key" 402 number: 1 403 label: LABEL_OPTIONAL 404 type: TYPE_STRING 405 json_name: "key" 406 } 407 field { 408 name: "parent" 409 number: 2 410 label: LABEL_OPTIONAL 411 type: TYPE_STRING 412 json_name: "parent" 413 } 414 } 415 message_type { 416 name: "SnapshotCommit" 417 field { 418 name: "key" 419 number: 1 420 label: LABEL_OPTIONAL 421 type: TYPE_STRING 422 json_name: "key" 423 } 424 field { 425 name: "name" 426 number: 2 427 label: LABEL_OPTIONAL 428 type: TYPE_STRING 429 json_name: "name" 430 } 431 } 432 message_type { 433 name: "SnapshotRemove" 434 field { 435 name: "key" 436 number: 1 437 label: LABEL_OPTIONAL 438 type: TYPE_STRING 439 json_name: "key" 440 } 441 } 442 options { 443 go_package: "github.com/containerd/containerd/api/events;events" 444 63300: 1 445 } 446 weak_dependency: 0 447 syntax: "proto3" 448 } 449 file { 450 name: "google/protobuf/timestamp.proto" 451 package: "google.protobuf" 452 message_type { 453 name: "Timestamp" 454 field { 455 name: "seconds" 456 number: 1 457 label: LABEL_OPTIONAL 458 type: TYPE_INT64 459 json_name: "seconds" 460 } 461 field { 462 name: "nanos" 463 number: 2 464 label: LABEL_OPTIONAL 465 type: TYPE_INT32 466 json_name: "nanos" 467 } 468 } 469 options { 470 java_package: "com.google.protobuf" 471 java_outer_classname: "TimestampProto" 472 java_multiple_files: true 473 go_package: "github.com/golang/protobuf/ptypes/timestamp" 474 cc_enable_arenas: true 475 objc_class_prefix: "GPB" 476 csharp_namespace: "Google.Protobuf.WellKnownTypes" 477 } 478 syntax: "proto3" 479 } 480 file { 481 name: "github.com/containerd/containerd/api/types/mount.proto" 482 package: "containerd.types" 483 dependency: "gogoproto/gogo.proto" 484 message_type { 485 name: "Mount" 486 field { 487 name: "type" 488 number: 1 489 label: LABEL_OPTIONAL 490 type: TYPE_STRING 491 json_name: "type" 492 } 493 field { 494 name: "source" 495 number: 2 496 label: LABEL_OPTIONAL 497 type: TYPE_STRING 498 json_name: "source" 499 } 500 field { 501 name: "target" 502 number: 3 503 label: LABEL_OPTIONAL 504 type: TYPE_STRING 505 json_name: "target" 506 } 507 field { 508 name: "options" 509 number: 4 510 label: LABEL_REPEATED 511 type: TYPE_STRING 512 json_name: "options" 513 } 514 } 515 options { 516 go_package: "github.com/containerd/containerd/api/types;types" 517 } 518 weak_dependency: 0 519 syntax: "proto3" 520 } 521 file { 522 name: "github.com/containerd/containerd/api/events/task.proto" 523 package: "containerd.events" 524 dependency: "gogoproto/gogo.proto" 525 dependency: "google/protobuf/timestamp.proto" 526 dependency: "github.com/containerd/containerd/api/types/mount.proto" 527 dependency: "github.com/containerd/containerd/protobuf/plugin/fieldpath.proto" 528 message_type { 529 name: "TaskCreate" 530 field { 531 name: "container_id" 532 number: 1 533 label: LABEL_OPTIONAL 534 type: TYPE_STRING 535 json_name: "containerId" 536 } 537 field { 538 name: "bundle" 539 number: 2 540 label: LABEL_OPTIONAL 541 type: TYPE_STRING 542 json_name: "bundle" 543 } 544 field { 545 name: "rootfs" 546 number: 3 547 label: LABEL_REPEATED 548 type: TYPE_MESSAGE 549 type_name: ".containerd.types.Mount" 550 json_name: "rootfs" 551 } 552 field { 553 name: "io" 554 number: 4 555 label: LABEL_OPTIONAL 556 type: TYPE_MESSAGE 557 type_name: ".containerd.events.TaskIO" 558 options { 559 65004: "IO" 560 } 561 json_name: "io" 562 } 563 field { 564 name: "checkpoint" 565 number: 5 566 label: LABEL_OPTIONAL 567 type: TYPE_STRING 568 json_name: "checkpoint" 569 } 570 field { 571 name: "pid" 572 number: 6 573 label: LABEL_OPTIONAL 574 type: TYPE_UINT32 575 json_name: "pid" 576 } 577 } 578 message_type { 579 name: "TaskStart" 580 field { 581 name: "container_id" 582 number: 1 583 label: LABEL_OPTIONAL 584 type: TYPE_STRING 585 json_name: "containerId" 586 } 587 field { 588 name: "pid" 589 number: 2 590 label: LABEL_OPTIONAL 591 type: TYPE_UINT32 592 json_name: "pid" 593 } 594 } 595 message_type { 596 name: "TaskDelete" 597 field { 598 name: "container_id" 599 number: 1 600 label: LABEL_OPTIONAL 601 type: TYPE_STRING 602 json_name: "containerId" 603 } 604 field { 605 name: "pid" 606 number: 2 607 label: LABEL_OPTIONAL 608 type: TYPE_UINT32 609 json_name: "pid" 610 } 611 field { 612 name: "exit_status" 613 number: 3 614 label: LABEL_OPTIONAL 615 type: TYPE_UINT32 616 json_name: "exitStatus" 617 } 618 field { 619 name: "exited_at" 620 number: 4 621 label: LABEL_OPTIONAL 622 type: TYPE_MESSAGE 623 type_name: ".google.protobuf.Timestamp" 624 options { 625 65010: 1 626 65001: 0 627 } 628 json_name: "exitedAt" 629 } 630 } 631 message_type { 632 name: "TaskIO" 633 field { 634 name: "stdin" 635 number: 1 636 label: LABEL_OPTIONAL 637 type: TYPE_STRING 638 json_name: "stdin" 639 } 640 field { 641 name: "stdout" 642 number: 2 643 label: LABEL_OPTIONAL 644 type: TYPE_STRING 645 json_name: "stdout" 646 } 647 field { 648 name: "stderr" 649 number: 3 650 label: LABEL_OPTIONAL 651 type: TYPE_STRING 652 json_name: "stderr" 653 } 654 field { 655 name: "terminal" 656 number: 4 657 label: LABEL_OPTIONAL 658 type: TYPE_BOOL 659 json_name: "terminal" 660 } 661 } 662 message_type { 663 name: "TaskExit" 664 field { 665 name: "container_id" 666 number: 1 667 label: LABEL_OPTIONAL 668 type: TYPE_STRING 669 json_name: "containerId" 670 } 671 field { 672 name: "id" 673 number: 2 674 label: LABEL_OPTIONAL 675 type: TYPE_STRING 676 json_name: "id" 677 } 678 field { 679 name: "pid" 680 number: 3 681 label: LABEL_OPTIONAL 682 type: TYPE_UINT32 683 json_name: "pid" 684 } 685 field { 686 name: "exit_status" 687 number: 4 688 label: LABEL_OPTIONAL 689 type: TYPE_UINT32 690 json_name: "exitStatus" 691 } 692 field { 693 name: "exited_at" 694 number: 5 695 label: LABEL_OPTIONAL 696 type: TYPE_MESSAGE 697 type_name: ".google.protobuf.Timestamp" 698 options { 699 65010: 1 700 65001: 0 701 } 702 json_name: "exitedAt" 703 } 704 } 705 message_type { 706 name: "TaskOOM" 707 field { 708 name: "container_id" 709 number: 1 710 label: LABEL_OPTIONAL 711 type: TYPE_STRING 712 json_name: "containerId" 713 } 714 } 715 message_type { 716 name: "TaskExecAdded" 717 field { 718 name: "container_id" 719 number: 1 720 label: LABEL_OPTIONAL 721 type: TYPE_STRING 722 json_name: "containerId" 723 } 724 field { 725 name: "exec_id" 726 number: 2 727 label: LABEL_OPTIONAL 728 type: TYPE_STRING 729 json_name: "execId" 730 } 731 } 732 message_type { 733 name: "TaskExecStarted" 734 field { 735 name: "container_id" 736 number: 1 737 label: LABEL_OPTIONAL 738 type: TYPE_STRING 739 json_name: "containerId" 740 } 741 field { 742 name: "exec_id" 743 number: 2 744 label: LABEL_OPTIONAL 745 type: TYPE_STRING 746 json_name: "execId" 747 } 748 field { 749 name: "pid" 750 number: 3 751 label: LABEL_OPTIONAL 752 type: TYPE_UINT32 753 json_name: "pid" 754 } 755 } 756 message_type { 757 name: "TaskPaused" 758 field { 759 name: "container_id" 760 number: 1 761 label: LABEL_OPTIONAL 762 type: TYPE_STRING 763 json_name: "containerId" 764 } 765 } 766 message_type { 767 name: "TaskResumed" 768 field { 769 name: "container_id" 770 number: 1 771 label: LABEL_OPTIONAL 772 type: TYPE_STRING 773 json_name: "containerId" 774 } 775 } 776 message_type { 777 name: "TaskCheckpointed" 778 field { 779 name: "container_id" 780 number: 1 781 label: LABEL_OPTIONAL 782 type: TYPE_STRING 783 json_name: "containerId" 784 } 785 field { 786 name: "checkpoint" 787 number: 2 788 label: LABEL_OPTIONAL 789 type: TYPE_STRING 790 json_name: "checkpoint" 791 } 792 } 793 options { 794 go_package: "github.com/containerd/containerd/api/events;events" 795 63300: 1 796 } 797 weak_dependency: 0 798 weak_dependency: 3 799 syntax: "proto3" 800 } 801 file { 802 name: "google/protobuf/empty.proto" 803 package: "google.protobuf" 804 message_type { 805 name: "Empty" 806 } 807 options { 808 java_package: "com.google.protobuf" 809 java_outer_classname: "EmptyProto" 810 java_multiple_files: true 811 go_package: "github.com/golang/protobuf/ptypes/empty" 812 cc_enable_arenas: true 813 objc_class_prefix: "GPB" 814 csharp_namespace: "Google.Protobuf.WellKnownTypes" 815 } 816 syntax: "proto3" 817 } 818 file { 819 name: "google/protobuf/field_mask.proto" 820 package: "google.protobuf" 821 message_type { 822 name: "FieldMask" 823 field { 824 name: "paths" 825 number: 1 826 label: LABEL_REPEATED 827 type: TYPE_STRING 828 json_name: "paths" 829 } 830 } 831 options { 832 java_package: "com.google.protobuf" 833 java_outer_classname: "FieldMaskProto" 834 java_multiple_files: true 835 go_package: "google.golang.org/genproto/protobuf/field_mask;field_mask" 836 objc_class_prefix: "GPB" 837 csharp_namespace: "Google.Protobuf.WellKnownTypes" 838 } 839 syntax: "proto3" 840 } 841 file { 842 name: "github.com/containerd/containerd/api/services/containers/v1/containers.proto" 843 package: "containerd.services.containers.v1" 844 dependency: "gogoproto/gogo.proto" 845 dependency: "google/protobuf/any.proto" 846 dependency: "google/protobuf/empty.proto" 847 dependency: "google/protobuf/field_mask.proto" 848 dependency: "google/protobuf/timestamp.proto" 849 message_type { 850 name: "Container" 851 field { 852 name: "id" 853 number: 1 854 label: LABEL_OPTIONAL 855 type: TYPE_STRING 856 json_name: "id" 857 } 858 field { 859 name: "labels" 860 number: 2 861 label: LABEL_REPEATED 862 type: TYPE_MESSAGE 863 type_name: ".containerd.services.containers.v1.Container.LabelsEntry" 864 json_name: "labels" 865 } 866 field { 867 name: "image" 868 number: 3 869 label: LABEL_OPTIONAL 870 type: TYPE_STRING 871 json_name: "image" 872 } 873 field { 874 name: "runtime" 875 number: 4 876 label: LABEL_OPTIONAL 877 type: TYPE_MESSAGE 878 type_name: ".containerd.services.containers.v1.Container.Runtime" 879 json_name: "runtime" 880 } 881 field { 882 name: "spec" 883 number: 5 884 label: LABEL_OPTIONAL 885 type: TYPE_MESSAGE 886 type_name: ".google.protobuf.Any" 887 json_name: "spec" 888 } 889 field { 890 name: "snapshotter" 891 number: 6 892 label: LABEL_OPTIONAL 893 type: TYPE_STRING 894 json_name: "snapshotter" 895 } 896 field { 897 name: "snapshot_key" 898 number: 7 899 label: LABEL_OPTIONAL 900 type: TYPE_STRING 901 json_name: "snapshotKey" 902 } 903 field { 904 name: "created_at" 905 number: 8 906 label: LABEL_OPTIONAL 907 type: TYPE_MESSAGE 908 type_name: ".google.protobuf.Timestamp" 909 options { 910 65010: 1 911 65001: 0 912 } 913 json_name: "createdAt" 914 } 915 field { 916 name: "updated_at" 917 number: 9 918 label: LABEL_OPTIONAL 919 type: TYPE_MESSAGE 920 type_name: ".google.protobuf.Timestamp" 921 options { 922 65010: 1 923 65001: 0 924 } 925 json_name: "updatedAt" 926 } 927 field { 928 name: "extensions" 929 number: 10 930 label: LABEL_REPEATED 931 type: TYPE_MESSAGE 932 type_name: ".containerd.services.containers.v1.Container.ExtensionsEntry" 933 options { 934 65001: 0 935 } 936 json_name: "extensions" 937 } 938 nested_type { 939 name: "LabelsEntry" 940 field { 941 name: "key" 942 number: 1 943 label: LABEL_OPTIONAL 944 type: TYPE_STRING 945 json_name: "key" 946 } 947 field { 948 name: "value" 949 number: 2 950 label: LABEL_OPTIONAL 951 type: TYPE_STRING 952 json_name: "value" 953 } 954 options { 955 map_entry: true 956 } 957 } 958 nested_type { 959 name: "Runtime" 960 field { 961 name: "name" 962 number: 1 963 label: LABEL_OPTIONAL 964 type: TYPE_STRING 965 json_name: "name" 966 } 967 field { 968 name: "options" 969 number: 2 970 label: LABEL_OPTIONAL 971 type: TYPE_MESSAGE 972 type_name: ".google.protobuf.Any" 973 json_name: "options" 974 } 975 } 976 nested_type { 977 name: "ExtensionsEntry" 978 field { 979 name: "key" 980 number: 1 981 label: LABEL_OPTIONAL 982 type: TYPE_STRING 983 json_name: "key" 984 } 985 field { 986 name: "value" 987 number: 2 988 label: LABEL_OPTIONAL 989 type: TYPE_MESSAGE 990 type_name: ".google.protobuf.Any" 991 json_name: "value" 992 } 993 options { 994 map_entry: true 995 } 996 } 997 } 998 message_type { 999 name: "GetContainerRequest" 1000 field { 1001 name: "id" 1002 number: 1 1003 label: LABEL_OPTIONAL 1004 type: TYPE_STRING 1005 json_name: "id" 1006 } 1007 } 1008 message_type { 1009 name: "GetContainerResponse" 1010 field { 1011 name: "container" 1012 number: 1 1013 label: LABEL_OPTIONAL 1014 type: TYPE_MESSAGE 1015 type_name: ".containerd.services.containers.v1.Container" 1016 options { 1017 65001: 0 1018 } 1019 json_name: "container" 1020 } 1021 } 1022 message_type { 1023 name: "ListContainersRequest" 1024 field { 1025 name: "filters" 1026 number: 1 1027 label: LABEL_REPEATED 1028 type: TYPE_STRING 1029 json_name: "filters" 1030 } 1031 } 1032 message_type { 1033 name: "ListContainersResponse" 1034 field { 1035 name: "containers" 1036 number: 1 1037 label: LABEL_REPEATED 1038 type: TYPE_MESSAGE 1039 type_name: ".containerd.services.containers.v1.Container" 1040 options { 1041 65001: 0 1042 } 1043 json_name: "containers" 1044 } 1045 } 1046 message_type { 1047 name: "CreateContainerRequest" 1048 field { 1049 name: "container" 1050 number: 1 1051 label: LABEL_OPTIONAL 1052 type: TYPE_MESSAGE 1053 type_name: ".containerd.services.containers.v1.Container" 1054 options { 1055 65001: 0 1056 } 1057 json_name: "container" 1058 } 1059 } 1060 message_type { 1061 name: "CreateContainerResponse" 1062 field { 1063 name: "container" 1064 number: 1 1065 label: LABEL_OPTIONAL 1066 type: TYPE_MESSAGE 1067 type_name: ".containerd.services.containers.v1.Container" 1068 options { 1069 65001: 0 1070 } 1071 json_name: "container" 1072 } 1073 } 1074 message_type { 1075 name: "UpdateContainerRequest" 1076 field { 1077 name: "container" 1078 number: 1 1079 label: LABEL_OPTIONAL 1080 type: TYPE_MESSAGE 1081 type_name: ".containerd.services.containers.v1.Container" 1082 options { 1083 65001: 0 1084 } 1085 json_name: "container" 1086 } 1087 field { 1088 name: "update_mask" 1089 number: 2 1090 label: LABEL_OPTIONAL 1091 type: TYPE_MESSAGE 1092 type_name: ".google.protobuf.FieldMask" 1093 json_name: "updateMask" 1094 } 1095 } 1096 message_type { 1097 name: "UpdateContainerResponse" 1098 field { 1099 name: "container" 1100 number: 1 1101 label: LABEL_OPTIONAL 1102 type: TYPE_MESSAGE 1103 type_name: ".containerd.services.containers.v1.Container" 1104 options { 1105 65001: 0 1106 } 1107 json_name: "container" 1108 } 1109 } 1110 message_type { 1111 name: "DeleteContainerRequest" 1112 field { 1113 name: "id" 1114 number: 1 1115 label: LABEL_OPTIONAL 1116 type: TYPE_STRING 1117 json_name: "id" 1118 } 1119 } 1120 service { 1121 name: "Containers" 1122 method { 1123 name: "Get" 1124 input_type: ".containerd.services.containers.v1.GetContainerRequest" 1125 output_type: ".containerd.services.containers.v1.GetContainerResponse" 1126 } 1127 method { 1128 name: "List" 1129 input_type: ".containerd.services.containers.v1.ListContainersRequest" 1130 output_type: ".containerd.services.containers.v1.ListContainersResponse" 1131 } 1132 method { 1133 name: "Create" 1134 input_type: ".containerd.services.containers.v1.CreateContainerRequest" 1135 output_type: ".containerd.services.containers.v1.CreateContainerResponse" 1136 } 1137 method { 1138 name: "Update" 1139 input_type: ".containerd.services.containers.v1.UpdateContainerRequest" 1140 output_type: ".containerd.services.containers.v1.UpdateContainerResponse" 1141 } 1142 method { 1143 name: "Delete" 1144 input_type: ".containerd.services.containers.v1.DeleteContainerRequest" 1145 output_type: ".google.protobuf.Empty" 1146 } 1147 } 1148 options { 1149 go_package: "github.com/containerd/containerd/api/services/containers/v1;containers" 1150 } 1151 weak_dependency: 0 1152 syntax: "proto3" 1153 } 1154 file { 1155 name: "github.com/containerd/containerd/api/services/content/v1/content.proto" 1156 package: "containerd.services.content.v1" 1157 dependency: "gogoproto/gogo.proto" 1158 dependency: "google/protobuf/field_mask.proto" 1159 dependency: "google/protobuf/timestamp.proto" 1160 dependency: "google/protobuf/empty.proto" 1161 message_type { 1162 name: "Info" 1163 field { 1164 name: "digest" 1165 number: 1 1166 label: LABEL_OPTIONAL 1167 type: TYPE_STRING 1168 options { 1169 65003: "github.com/opencontainers/go-digest.Digest" 1170 65001: 0 1171 } 1172 json_name: "digest" 1173 } 1174 field { 1175 name: "size" 1176 number: 2 1177 label: LABEL_OPTIONAL 1178 type: TYPE_INT64 1179 json_name: "size" 1180 } 1181 field { 1182 name: "created_at" 1183 number: 3 1184 label: LABEL_OPTIONAL 1185 type: TYPE_MESSAGE 1186 type_name: ".google.protobuf.Timestamp" 1187 options { 1188 65010: 1 1189 65001: 0 1190 } 1191 json_name: "createdAt" 1192 } 1193 field { 1194 name: "updated_at" 1195 number: 4 1196 label: LABEL_OPTIONAL 1197 type: TYPE_MESSAGE 1198 type_name: ".google.protobuf.Timestamp" 1199 options { 1200 65010: 1 1201 65001: 0 1202 } 1203 json_name: "updatedAt" 1204 } 1205 field { 1206 name: "labels" 1207 number: 5 1208 label: LABEL_REPEATED 1209 type: TYPE_MESSAGE 1210 type_name: ".containerd.services.content.v1.Info.LabelsEntry" 1211 json_name: "labels" 1212 } 1213 nested_type { 1214 name: "LabelsEntry" 1215 field { 1216 name: "key" 1217 number: 1 1218 label: LABEL_OPTIONAL 1219 type: TYPE_STRING 1220 json_name: "key" 1221 } 1222 field { 1223 name: "value" 1224 number: 2 1225 label: LABEL_OPTIONAL 1226 type: TYPE_STRING 1227 json_name: "value" 1228 } 1229 options { 1230 map_entry: true 1231 } 1232 } 1233 } 1234 message_type { 1235 name: "InfoRequest" 1236 field { 1237 name: "digest" 1238 number: 1 1239 label: LABEL_OPTIONAL 1240 type: TYPE_STRING 1241 options { 1242 65003: "github.com/opencontainers/go-digest.Digest" 1243 65001: 0 1244 } 1245 json_name: "digest" 1246 } 1247 } 1248 message_type { 1249 name: "InfoResponse" 1250 field { 1251 name: "info" 1252 number: 1 1253 label: LABEL_OPTIONAL 1254 type: TYPE_MESSAGE 1255 type_name: ".containerd.services.content.v1.Info" 1256 options { 1257 65001: 0 1258 } 1259 json_name: "info" 1260 } 1261 } 1262 message_type { 1263 name: "UpdateRequest" 1264 field { 1265 name: "info" 1266 number: 1 1267 label: LABEL_OPTIONAL 1268 type: TYPE_MESSAGE 1269 type_name: ".containerd.services.content.v1.Info" 1270 options { 1271 65001: 0 1272 } 1273 json_name: "info" 1274 } 1275 field { 1276 name: "update_mask" 1277 number: 2 1278 label: LABEL_OPTIONAL 1279 type: TYPE_MESSAGE 1280 type_name: ".google.protobuf.FieldMask" 1281 json_name: "updateMask" 1282 } 1283 } 1284 message_type { 1285 name: "UpdateResponse" 1286 field { 1287 name: "info" 1288 number: 1 1289 label: LABEL_OPTIONAL 1290 type: TYPE_MESSAGE 1291 type_name: ".containerd.services.content.v1.Info" 1292 options { 1293 65001: 0 1294 } 1295 json_name: "info" 1296 } 1297 } 1298 message_type { 1299 name: "ListContentRequest" 1300 field { 1301 name: "filters" 1302 number: 1 1303 label: LABEL_REPEATED 1304 type: TYPE_STRING 1305 json_name: "filters" 1306 } 1307 } 1308 message_type { 1309 name: "ListContentResponse" 1310 field { 1311 name: "info" 1312 number: 1 1313 label: LABEL_REPEATED 1314 type: TYPE_MESSAGE 1315 type_name: ".containerd.services.content.v1.Info" 1316 options { 1317 65001: 0 1318 } 1319 json_name: "info" 1320 } 1321 } 1322 message_type { 1323 name: "DeleteContentRequest" 1324 field { 1325 name: "digest" 1326 number: 1 1327 label: LABEL_OPTIONAL 1328 type: TYPE_STRING 1329 options { 1330 65003: "github.com/opencontainers/go-digest.Digest" 1331 65001: 0 1332 } 1333 json_name: "digest" 1334 } 1335 } 1336 message_type { 1337 name: "ReadContentRequest" 1338 field { 1339 name: "digest" 1340 number: 1 1341 label: LABEL_OPTIONAL 1342 type: TYPE_STRING 1343 options { 1344 65003: "github.com/opencontainers/go-digest.Digest" 1345 65001: 0 1346 } 1347 json_name: "digest" 1348 } 1349 field { 1350 name: "offset" 1351 number: 2 1352 label: LABEL_OPTIONAL 1353 type: TYPE_INT64 1354 json_name: "offset" 1355 } 1356 field { 1357 name: "size" 1358 number: 3 1359 label: LABEL_OPTIONAL 1360 type: TYPE_INT64 1361 json_name: "size" 1362 } 1363 } 1364 message_type { 1365 name: "ReadContentResponse" 1366 field { 1367 name: "offset" 1368 number: 1 1369 label: LABEL_OPTIONAL 1370 type: TYPE_INT64 1371 json_name: "offset" 1372 } 1373 field { 1374 name: "data" 1375 number: 2 1376 label: LABEL_OPTIONAL 1377 type: TYPE_BYTES 1378 json_name: "data" 1379 } 1380 } 1381 message_type { 1382 name: "Status" 1383 field { 1384 name: "started_at" 1385 number: 1 1386 label: LABEL_OPTIONAL 1387 type: TYPE_MESSAGE 1388 type_name: ".google.protobuf.Timestamp" 1389 options { 1390 65010: 1 1391 65001: 0 1392 } 1393 json_name: "startedAt" 1394 } 1395 field { 1396 name: "updated_at" 1397 number: 2 1398 label: LABEL_OPTIONAL 1399 type: TYPE_MESSAGE 1400 type_name: ".google.protobuf.Timestamp" 1401 options { 1402 65010: 1 1403 65001: 0 1404 } 1405 json_name: "updatedAt" 1406 } 1407 field { 1408 name: "ref" 1409 number: 3 1410 label: LABEL_OPTIONAL 1411 type: TYPE_STRING 1412 json_name: "ref" 1413 } 1414 field { 1415 name: "offset" 1416 number: 4 1417 label: LABEL_OPTIONAL 1418 type: TYPE_INT64 1419 json_name: "offset" 1420 } 1421 field { 1422 name: "total" 1423 number: 5 1424 label: LABEL_OPTIONAL 1425 type: TYPE_INT64 1426 json_name: "total" 1427 } 1428 field { 1429 name: "expected" 1430 number: 6 1431 label: LABEL_OPTIONAL 1432 type: TYPE_STRING 1433 options { 1434 65003: "github.com/opencontainers/go-digest.Digest" 1435 65001: 0 1436 } 1437 json_name: "expected" 1438 } 1439 } 1440 message_type { 1441 name: "StatusRequest" 1442 field { 1443 name: "ref" 1444 number: 1 1445 label: LABEL_OPTIONAL 1446 type: TYPE_STRING 1447 json_name: "ref" 1448 } 1449 } 1450 message_type { 1451 name: "StatusResponse" 1452 field { 1453 name: "status" 1454 number: 1 1455 label: LABEL_OPTIONAL 1456 type: TYPE_MESSAGE 1457 type_name: ".containerd.services.content.v1.Status" 1458 json_name: "status" 1459 } 1460 } 1461 message_type { 1462 name: "ListStatusesRequest" 1463 field { 1464 name: "filters" 1465 number: 1 1466 label: LABEL_REPEATED 1467 type: TYPE_STRING 1468 json_name: "filters" 1469 } 1470 } 1471 message_type { 1472 name: "ListStatusesResponse" 1473 field { 1474 name: "statuses" 1475 number: 1 1476 label: LABEL_REPEATED 1477 type: TYPE_MESSAGE 1478 type_name: ".containerd.services.content.v1.Status" 1479 options { 1480 65001: 0 1481 } 1482 json_name: "statuses" 1483 } 1484 } 1485 message_type { 1486 name: "WriteContentRequest" 1487 field { 1488 name: "action" 1489 number: 1 1490 label: LABEL_OPTIONAL 1491 type: TYPE_ENUM 1492 type_name: ".containerd.services.content.v1.WriteAction" 1493 json_name: "action" 1494 } 1495 field { 1496 name: "ref" 1497 number: 2 1498 label: LABEL_OPTIONAL 1499 type: TYPE_STRING 1500 json_name: "ref" 1501 } 1502 field { 1503 name: "total" 1504 number: 3 1505 label: LABEL_OPTIONAL 1506 type: TYPE_INT64 1507 json_name: "total" 1508 } 1509 field { 1510 name: "expected" 1511 number: 4 1512 label: LABEL_OPTIONAL 1513 type: TYPE_STRING 1514 options { 1515 65003: "github.com/opencontainers/go-digest.Digest" 1516 65001: 0 1517 } 1518 json_name: "expected" 1519 } 1520 field { 1521 name: "offset" 1522 number: 5 1523 label: LABEL_OPTIONAL 1524 type: TYPE_INT64 1525 json_name: "offset" 1526 } 1527 field { 1528 name: "data" 1529 number: 6 1530 label: LABEL_OPTIONAL 1531 type: TYPE_BYTES 1532 json_name: "data" 1533 } 1534 field { 1535 name: "labels" 1536 number: 7 1537 label: LABEL_REPEATED 1538 type: TYPE_MESSAGE 1539 type_name: ".containerd.services.content.v1.WriteContentRequest.LabelsEntry" 1540 json_name: "labels" 1541 } 1542 nested_type { 1543 name: "LabelsEntry" 1544 field { 1545 name: "key" 1546 number: 1 1547 label: LABEL_OPTIONAL 1548 type: TYPE_STRING 1549 json_name: "key" 1550 } 1551 field { 1552 name: "value" 1553 number: 2 1554 label: LABEL_OPTIONAL 1555 type: TYPE_STRING 1556 json_name: "value" 1557 } 1558 options { 1559 map_entry: true 1560 } 1561 } 1562 } 1563 message_type { 1564 name: "WriteContentResponse" 1565 field { 1566 name: "action" 1567 number: 1 1568 label: LABEL_OPTIONAL 1569 type: TYPE_ENUM 1570 type_name: ".containerd.services.content.v1.WriteAction" 1571 json_name: "action" 1572 } 1573 field { 1574 name: "started_at" 1575 number: 2 1576 label: LABEL_OPTIONAL 1577 type: TYPE_MESSAGE 1578 type_name: ".google.protobuf.Timestamp" 1579 options { 1580 65010: 1 1581 65001: 0 1582 } 1583 json_name: "startedAt" 1584 } 1585 field { 1586 name: "updated_at" 1587 number: 3 1588 label: LABEL_OPTIONAL 1589 type: TYPE_MESSAGE 1590 type_name: ".google.protobuf.Timestamp" 1591 options { 1592 65010: 1 1593 65001: 0 1594 } 1595 json_name: "updatedAt" 1596 } 1597 field { 1598 name: "offset" 1599 number: 4 1600 label: LABEL_OPTIONAL 1601 type: TYPE_INT64 1602 json_name: "offset" 1603 } 1604 field { 1605 name: "total" 1606 number: 5 1607 label: LABEL_OPTIONAL 1608 type: TYPE_INT64 1609 json_name: "total" 1610 } 1611 field { 1612 name: "digest" 1613 number: 6 1614 label: LABEL_OPTIONAL 1615 type: TYPE_STRING 1616 options { 1617 65003: "github.com/opencontainers/go-digest.Digest" 1618 65001: 0 1619 } 1620 json_name: "digest" 1621 } 1622 } 1623 message_type { 1624 name: "AbortRequest" 1625 field { 1626 name: "ref" 1627 number: 1 1628 label: LABEL_OPTIONAL 1629 type: TYPE_STRING 1630 json_name: "ref" 1631 } 1632 } 1633 enum_type { 1634 name: "WriteAction" 1635 value { 1636 name: "STAT" 1637 number: 0 1638 options { 1639 66001: "WriteActionStat" 1640 } 1641 } 1642 value { 1643 name: "WRITE" 1644 number: 1 1645 options { 1646 66001: "WriteActionWrite" 1647 } 1648 } 1649 value { 1650 name: "COMMIT" 1651 number: 2 1652 options { 1653 66001: "WriteActionCommit" 1654 } 1655 } 1656 options { 1657 62001: 0 1658 62023: "WriteAction" 1659 } 1660 } 1661 service { 1662 name: "Content" 1663 method { 1664 name: "Info" 1665 input_type: ".containerd.services.content.v1.InfoRequest" 1666 output_type: ".containerd.services.content.v1.InfoResponse" 1667 } 1668 method { 1669 name: "Update" 1670 input_type: ".containerd.services.content.v1.UpdateRequest" 1671 output_type: ".containerd.services.content.v1.UpdateResponse" 1672 } 1673 method { 1674 name: "List" 1675 input_type: ".containerd.services.content.v1.ListContentRequest" 1676 output_type: ".containerd.services.content.v1.ListContentResponse" 1677 server_streaming: true 1678 } 1679 method { 1680 name: "Delete" 1681 input_type: ".containerd.services.content.v1.DeleteContentRequest" 1682 output_type: ".google.protobuf.Empty" 1683 } 1684 method { 1685 name: "Read" 1686 input_type: ".containerd.services.content.v1.ReadContentRequest" 1687 output_type: ".containerd.services.content.v1.ReadContentResponse" 1688 server_streaming: true 1689 } 1690 method { 1691 name: "Status" 1692 input_type: ".containerd.services.content.v1.StatusRequest" 1693 output_type: ".containerd.services.content.v1.StatusResponse" 1694 } 1695 method { 1696 name: "ListStatuses" 1697 input_type: ".containerd.services.content.v1.ListStatusesRequest" 1698 output_type: ".containerd.services.content.v1.ListStatusesResponse" 1699 } 1700 method { 1701 name: "Write" 1702 input_type: ".containerd.services.content.v1.WriteContentRequest" 1703 output_type: ".containerd.services.content.v1.WriteContentResponse" 1704 client_streaming: true 1705 server_streaming: true 1706 } 1707 method { 1708 name: "Abort" 1709 input_type: ".containerd.services.content.v1.AbortRequest" 1710 output_type: ".google.protobuf.Empty" 1711 } 1712 } 1713 options { 1714 go_package: "github.com/containerd/containerd/api/services/content/v1;content" 1715 } 1716 weak_dependency: 0 1717 syntax: "proto3" 1718 } 1719 file { 1720 name: "github.com/containerd/containerd/api/types/descriptor.proto" 1721 package: "containerd.types" 1722 dependency: "gogoproto/gogo.proto" 1723 message_type { 1724 name: "Descriptor" 1725 field { 1726 name: "media_type" 1727 number: 1 1728 label: LABEL_OPTIONAL 1729 type: TYPE_STRING 1730 json_name: "mediaType" 1731 } 1732 field { 1733 name: "digest" 1734 number: 2 1735 label: LABEL_OPTIONAL 1736 type: TYPE_STRING 1737 options { 1738 65003: "github.com/opencontainers/go-digest.Digest" 1739 65001: 0 1740 } 1741 json_name: "digest" 1742 } 1743 field { 1744 name: "size" 1745 number: 3 1746 label: LABEL_OPTIONAL 1747 type: TYPE_INT64 1748 json_name: "size" 1749 } 1750 } 1751 options { 1752 go_package: "github.com/containerd/containerd/api/types;types" 1753 } 1754 weak_dependency: 0 1755 syntax: "proto3" 1756 } 1757 file { 1758 name: "github.com/containerd/containerd/api/services/diff/v1/diff.proto" 1759 package: "containerd.services.diff.v1" 1760 dependency: "gogoproto/gogo.proto" 1761 dependency: "github.com/containerd/containerd/api/types/mount.proto" 1762 dependency: "github.com/containerd/containerd/api/types/descriptor.proto" 1763 message_type { 1764 name: "ApplyRequest" 1765 field { 1766 name: "diff" 1767 number: 1 1768 label: LABEL_OPTIONAL 1769 type: TYPE_MESSAGE 1770 type_name: ".containerd.types.Descriptor" 1771 json_name: "diff" 1772 } 1773 field { 1774 name: "mounts" 1775 number: 2 1776 label: LABEL_REPEATED 1777 type: TYPE_MESSAGE 1778 type_name: ".containerd.types.Mount" 1779 json_name: "mounts" 1780 } 1781 } 1782 message_type { 1783 name: "ApplyResponse" 1784 field { 1785 name: "applied" 1786 number: 1 1787 label: LABEL_OPTIONAL 1788 type: TYPE_MESSAGE 1789 type_name: ".containerd.types.Descriptor" 1790 json_name: "applied" 1791 } 1792 } 1793 message_type { 1794 name: "DiffRequest" 1795 field { 1796 name: "left" 1797 number: 1 1798 label: LABEL_REPEATED 1799 type: TYPE_MESSAGE 1800 type_name: ".containerd.types.Mount" 1801 json_name: "left" 1802 } 1803 field { 1804 name: "right" 1805 number: 2 1806 label: LABEL_REPEATED 1807 type: TYPE_MESSAGE 1808 type_name: ".containerd.types.Mount" 1809 json_name: "right" 1810 } 1811 field { 1812 name: "media_type" 1813 number: 3 1814 label: LABEL_OPTIONAL 1815 type: TYPE_STRING 1816 json_name: "mediaType" 1817 } 1818 field { 1819 name: "ref" 1820 number: 4 1821 label: LABEL_OPTIONAL 1822 type: TYPE_STRING 1823 json_name: "ref" 1824 } 1825 field { 1826 name: "labels" 1827 number: 5 1828 label: LABEL_REPEATED 1829 type: TYPE_MESSAGE 1830 type_name: ".containerd.services.diff.v1.DiffRequest.LabelsEntry" 1831 json_name: "labels" 1832 } 1833 nested_type { 1834 name: "LabelsEntry" 1835 field { 1836 name: "key" 1837 number: 1 1838 label: LABEL_OPTIONAL 1839 type: TYPE_STRING 1840 json_name: "key" 1841 } 1842 field { 1843 name: "value" 1844 number: 2 1845 label: LABEL_OPTIONAL 1846 type: TYPE_STRING 1847 json_name: "value" 1848 } 1849 options { 1850 map_entry: true 1851 } 1852 } 1853 } 1854 message_type { 1855 name: "DiffResponse" 1856 field { 1857 name: "diff" 1858 number: 3 1859 label: LABEL_OPTIONAL 1860 type: TYPE_MESSAGE 1861 type_name: ".containerd.types.Descriptor" 1862 json_name: "diff" 1863 } 1864 } 1865 service { 1866 name: "Diff" 1867 method { 1868 name: "Apply" 1869 input_type: ".containerd.services.diff.v1.ApplyRequest" 1870 output_type: ".containerd.services.diff.v1.ApplyResponse" 1871 } 1872 method { 1873 name: "Diff" 1874 input_type: ".containerd.services.diff.v1.DiffRequest" 1875 output_type: ".containerd.services.diff.v1.DiffResponse" 1876 } 1877 } 1878 options { 1879 go_package: "github.com/containerd/containerd/api/services/diff/v1;diff" 1880 } 1881 weak_dependency: 0 1882 syntax: "proto3" 1883 } 1884 file { 1885 name: "github.com/containerd/containerd/api/services/events/v1/events.proto" 1886 package: "containerd.services.events.v1" 1887 dependency: "github.com/containerd/containerd/protobuf/plugin/fieldpath.proto" 1888 dependency: "gogoproto/gogo.proto" 1889 dependency: "google/protobuf/any.proto" 1890 dependency: "google/protobuf/empty.proto" 1891 dependency: "google/protobuf/timestamp.proto" 1892 message_type { 1893 name: "PublishRequest" 1894 field { 1895 name: "topic" 1896 number: 1 1897 label: LABEL_OPTIONAL 1898 type: TYPE_STRING 1899 json_name: "topic" 1900 } 1901 field { 1902 name: "event" 1903 number: 2 1904 label: LABEL_OPTIONAL 1905 type: TYPE_MESSAGE 1906 type_name: ".google.protobuf.Any" 1907 json_name: "event" 1908 } 1909 } 1910 message_type { 1911 name: "ForwardRequest" 1912 field { 1913 name: "envelope" 1914 number: 1 1915 label: LABEL_OPTIONAL 1916 type: TYPE_MESSAGE 1917 type_name: ".containerd.services.events.v1.Envelope" 1918 json_name: "envelope" 1919 } 1920 } 1921 message_type { 1922 name: "SubscribeRequest" 1923 field { 1924 name: "filters" 1925 number: 1 1926 label: LABEL_REPEATED 1927 type: TYPE_STRING 1928 json_name: "filters" 1929 } 1930 } 1931 message_type { 1932 name: "Envelope" 1933 field { 1934 name: "timestamp" 1935 number: 1 1936 label: LABEL_OPTIONAL 1937 type: TYPE_MESSAGE 1938 type_name: ".google.protobuf.Timestamp" 1939 options { 1940 65010: 1 1941 65001: 0 1942 } 1943 json_name: "timestamp" 1944 } 1945 field { 1946 name: "namespace" 1947 number: 2 1948 label: LABEL_OPTIONAL 1949 type: TYPE_STRING 1950 json_name: "namespace" 1951 } 1952 field { 1953 name: "topic" 1954 number: 3 1955 label: LABEL_OPTIONAL 1956 type: TYPE_STRING 1957 json_name: "topic" 1958 } 1959 field { 1960 name: "event" 1961 number: 4 1962 label: LABEL_OPTIONAL 1963 type: TYPE_MESSAGE 1964 type_name: ".google.protobuf.Any" 1965 json_name: "event" 1966 } 1967 options { 1968 64400: 1 1969 } 1970 } 1971 service { 1972 name: "Events" 1973 method { 1974 name: "Publish" 1975 input_type: ".containerd.services.events.v1.PublishRequest" 1976 output_type: ".google.protobuf.Empty" 1977 } 1978 method { 1979 name: "Forward" 1980 input_type: ".containerd.services.events.v1.ForwardRequest" 1981 output_type: ".google.protobuf.Empty" 1982 } 1983 method { 1984 name: "Subscribe" 1985 input_type: ".containerd.services.events.v1.SubscribeRequest" 1986 output_type: ".containerd.services.events.v1.Envelope" 1987 server_streaming: true 1988 } 1989 } 1990 options { 1991 go_package: "github.com/containerd/containerd/api/services/events/v1;events" 1992 } 1993 weak_dependency: 0 1994 weak_dependency: 1 1995 syntax: "proto3" 1996 } 1997 file { 1998 name: "github.com/containerd/containerd/api/services/images/v1/images.proto" 1999 package: "containerd.services.images.v1" 2000 dependency: "gogoproto/gogo.proto" 2001 dependency: "google/protobuf/empty.proto" 2002 dependency: "google/protobuf/field_mask.proto" 2003 dependency: "google/protobuf/timestamp.proto" 2004 dependency: "github.com/containerd/containerd/api/types/descriptor.proto" 2005 message_type { 2006 name: "Image" 2007 field { 2008 name: "name" 2009 number: 1 2010 label: LABEL_OPTIONAL 2011 type: TYPE_STRING 2012 json_name: "name" 2013 } 2014 field { 2015 name: "labels" 2016 number: 2 2017 label: LABEL_REPEATED 2018 type: TYPE_MESSAGE 2019 type_name: ".containerd.services.images.v1.Image.LabelsEntry" 2020 json_name: "labels" 2021 } 2022 field { 2023 name: "target" 2024 number: 3 2025 label: LABEL_OPTIONAL 2026 type: TYPE_MESSAGE 2027 type_name: ".containerd.types.Descriptor" 2028 options { 2029 65001: 0 2030 } 2031 json_name: "target" 2032 } 2033 field { 2034 name: "created_at" 2035 number: 7 2036 label: LABEL_OPTIONAL 2037 type: TYPE_MESSAGE 2038 type_name: ".google.protobuf.Timestamp" 2039 options { 2040 65010: 1 2041 65001: 0 2042 } 2043 json_name: "createdAt" 2044 } 2045 field { 2046 name: "updated_at" 2047 number: 8 2048 label: LABEL_OPTIONAL 2049 type: TYPE_MESSAGE 2050 type_name: ".google.protobuf.Timestamp" 2051 options { 2052 65010: 1 2053 65001: 0 2054 } 2055 json_name: "updatedAt" 2056 } 2057 nested_type { 2058 name: "LabelsEntry" 2059 field { 2060 name: "key" 2061 number: 1 2062 label: LABEL_OPTIONAL 2063 type: TYPE_STRING 2064 json_name: "key" 2065 } 2066 field { 2067 name: "value" 2068 number: 2 2069 label: LABEL_OPTIONAL 2070 type: TYPE_STRING 2071 json_name: "value" 2072 } 2073 options { 2074 map_entry: true 2075 } 2076 } 2077 } 2078 message_type { 2079 name: "GetImageRequest" 2080 field { 2081 name: "name" 2082 number: 1 2083 label: LABEL_OPTIONAL 2084 type: TYPE_STRING 2085 json_name: "name" 2086 } 2087 } 2088 message_type { 2089 name: "GetImageResponse" 2090 field { 2091 name: "image" 2092 number: 1 2093 label: LABEL_OPTIONAL 2094 type: TYPE_MESSAGE 2095 type_name: ".containerd.services.images.v1.Image" 2096 json_name: "image" 2097 } 2098 } 2099 message_type { 2100 name: "CreateImageRequest" 2101 field { 2102 name: "image" 2103 number: 1 2104 label: LABEL_OPTIONAL 2105 type: TYPE_MESSAGE 2106 type_name: ".containerd.services.images.v1.Image" 2107 options { 2108 65001: 0 2109 } 2110 json_name: "image" 2111 } 2112 } 2113 message_type { 2114 name: "CreateImageResponse" 2115 field { 2116 name: "image" 2117 number: 1 2118 label: LABEL_OPTIONAL 2119 type: TYPE_MESSAGE 2120 type_name: ".containerd.services.images.v1.Image" 2121 options { 2122 65001: 0 2123 } 2124 json_name: "image" 2125 } 2126 } 2127 message_type { 2128 name: "UpdateImageRequest" 2129 field { 2130 name: "image" 2131 number: 1 2132 label: LABEL_OPTIONAL 2133 type: TYPE_MESSAGE 2134 type_name: ".containerd.services.images.v1.Image" 2135 options { 2136 65001: 0 2137 } 2138 json_name: "image" 2139 } 2140 field { 2141 name: "update_mask" 2142 number: 2 2143 label: LABEL_OPTIONAL 2144 type: TYPE_MESSAGE 2145 type_name: ".google.protobuf.FieldMask" 2146 json_name: "updateMask" 2147 } 2148 } 2149 message_type { 2150 name: "UpdateImageResponse" 2151 field { 2152 name: "image" 2153 number: 1 2154 label: LABEL_OPTIONAL 2155 type: TYPE_MESSAGE 2156 type_name: ".containerd.services.images.v1.Image" 2157 options { 2158 65001: 0 2159 } 2160 json_name: "image" 2161 } 2162 } 2163 message_type { 2164 name: "ListImagesRequest" 2165 field { 2166 name: "filters" 2167 number: 1 2168 label: LABEL_REPEATED 2169 type: TYPE_STRING 2170 json_name: "filters" 2171 } 2172 } 2173 message_type { 2174 name: "ListImagesResponse" 2175 field { 2176 name: "images" 2177 number: 1 2178 label: LABEL_REPEATED 2179 type: TYPE_MESSAGE 2180 type_name: ".containerd.services.images.v1.Image" 2181 options { 2182 65001: 0 2183 } 2184 json_name: "images" 2185 } 2186 } 2187 message_type { 2188 name: "DeleteImageRequest" 2189 field { 2190 name: "name" 2191 number: 1 2192 label: LABEL_OPTIONAL 2193 type: TYPE_STRING 2194 json_name: "name" 2195 } 2196 field { 2197 name: "sync" 2198 number: 2 2199 label: LABEL_OPTIONAL 2200 type: TYPE_BOOL 2201 json_name: "sync" 2202 } 2203 } 2204 service { 2205 name: "Images" 2206 method { 2207 name: "Get" 2208 input_type: ".containerd.services.images.v1.GetImageRequest" 2209 output_type: ".containerd.services.images.v1.GetImageResponse" 2210 } 2211 method { 2212 name: "List" 2213 input_type: ".containerd.services.images.v1.ListImagesRequest" 2214 output_type: ".containerd.services.images.v1.ListImagesResponse" 2215 } 2216 method { 2217 name: "Create" 2218 input_type: ".containerd.services.images.v1.CreateImageRequest" 2219 output_type: ".containerd.services.images.v1.CreateImageResponse" 2220 } 2221 method { 2222 name: "Update" 2223 input_type: ".containerd.services.images.v1.UpdateImageRequest" 2224 output_type: ".containerd.services.images.v1.UpdateImageResponse" 2225 } 2226 method { 2227 name: "Delete" 2228 input_type: ".containerd.services.images.v1.DeleteImageRequest" 2229 output_type: ".google.protobuf.Empty" 2230 } 2231 } 2232 options { 2233 go_package: "github.com/containerd/containerd/api/services/images/v1;images" 2234 } 2235 weak_dependency: 0 2236 syntax: "proto3" 2237 } 2238 file { 2239 name: "github.com/containerd/containerd/api/types/platform.proto" 2240 package: "containerd.types" 2241 dependency: "gogoproto/gogo.proto" 2242 message_type { 2243 name: "Platform" 2244 field { 2245 name: "os" 2246 number: 1 2247 label: LABEL_OPTIONAL 2248 type: TYPE_STRING 2249 options { 2250 65004: "OS" 2251 } 2252 json_name: "os" 2253 } 2254 field { 2255 name: "architecture" 2256 number: 2 2257 label: LABEL_OPTIONAL 2258 type: TYPE_STRING 2259 json_name: "architecture" 2260 } 2261 field { 2262 name: "variant" 2263 number: 3 2264 label: LABEL_OPTIONAL 2265 type: TYPE_STRING 2266 json_name: "variant" 2267 } 2268 } 2269 options { 2270 go_package: "github.com/containerd/containerd/api/types;types" 2271 } 2272 weak_dependency: 0 2273 syntax: "proto3" 2274 } 2275 file { 2276 name: "google/rpc/status.proto" 2277 package: "google.rpc" 2278 dependency: "google/protobuf/any.proto" 2279 message_type { 2280 name: "Status" 2281 field { 2282 name: "code" 2283 number: 1 2284 label: LABEL_OPTIONAL 2285 type: TYPE_INT32 2286 json_name: "code" 2287 } 2288 field { 2289 name: "message" 2290 number: 2 2291 label: LABEL_OPTIONAL 2292 type: TYPE_STRING 2293 json_name: "message" 2294 } 2295 field { 2296 name: "details" 2297 number: 3 2298 label: LABEL_REPEATED 2299 type: TYPE_MESSAGE 2300 type_name: ".google.protobuf.Any" 2301 json_name: "details" 2302 } 2303 } 2304 options { 2305 java_package: "com.google.rpc" 2306 java_outer_classname: "StatusProto" 2307 java_multiple_files: true 2308 go_package: "github.com/containerd/containerd/protobuf/google/rpc;rpc" 2309 objc_class_prefix: "RPC" 2310 } 2311 syntax: "proto3" 2312 } 2313 file { 2314 name: "github.com/containerd/containerd/api/services/introspection/v1/introspection.proto" 2315 package: "containerd.services.introspection.v1" 2316 dependency: "github.com/containerd/containerd/api/types/platform.proto" 2317 dependency: "google/rpc/status.proto" 2318 dependency: "gogoproto/gogo.proto" 2319 message_type { 2320 name: "Plugin" 2321 field { 2322 name: "type" 2323 number: 1 2324 label: LABEL_OPTIONAL 2325 type: TYPE_STRING 2326 json_name: "type" 2327 } 2328 field { 2329 name: "id" 2330 number: 2 2331 label: LABEL_OPTIONAL 2332 type: TYPE_STRING 2333 json_name: "id" 2334 } 2335 field { 2336 name: "requires" 2337 number: 3 2338 label: LABEL_REPEATED 2339 type: TYPE_STRING 2340 json_name: "requires" 2341 } 2342 field { 2343 name: "platforms" 2344 number: 4 2345 label: LABEL_REPEATED 2346 type: TYPE_MESSAGE 2347 type_name: ".containerd.types.Platform" 2348 options { 2349 65001: 0 2350 } 2351 json_name: "platforms" 2352 } 2353 field { 2354 name: "exports" 2355 number: 5 2356 label: LABEL_REPEATED 2357 type: TYPE_MESSAGE 2358 type_name: ".containerd.services.introspection.v1.Plugin.ExportsEntry" 2359 json_name: "exports" 2360 } 2361 field { 2362 name: "capabilities" 2363 number: 6 2364 label: LABEL_REPEATED 2365 type: TYPE_STRING 2366 json_name: "capabilities" 2367 } 2368 field { 2369 name: "init_err" 2370 number: 7 2371 label: LABEL_OPTIONAL 2372 type: TYPE_MESSAGE 2373 type_name: ".google.rpc.Status" 2374 json_name: "initErr" 2375 } 2376 nested_type { 2377 name: "ExportsEntry" 2378 field { 2379 name: "key" 2380 number: 1 2381 label: LABEL_OPTIONAL 2382 type: TYPE_STRING 2383 json_name: "key" 2384 } 2385 field { 2386 name: "value" 2387 number: 2 2388 label: LABEL_OPTIONAL 2389 type: TYPE_STRING 2390 json_name: "value" 2391 } 2392 options { 2393 map_entry: true 2394 } 2395 } 2396 } 2397 message_type { 2398 name: "PluginsRequest" 2399 field { 2400 name: "filters" 2401 number: 1 2402 label: LABEL_REPEATED 2403 type: TYPE_STRING 2404 json_name: "filters" 2405 } 2406 } 2407 message_type { 2408 name: "PluginsResponse" 2409 field { 2410 name: "plugins" 2411 number: 1 2412 label: LABEL_REPEATED 2413 type: TYPE_MESSAGE 2414 type_name: ".containerd.services.introspection.v1.Plugin" 2415 options { 2416 65001: 0 2417 } 2418 json_name: "plugins" 2419 } 2420 } 2421 service { 2422 name: "Introspection" 2423 method { 2424 name: "Plugins" 2425 input_type: ".containerd.services.introspection.v1.PluginsRequest" 2426 output_type: ".containerd.services.introspection.v1.PluginsResponse" 2427 } 2428 } 2429 options { 2430 go_package: "github.com/containerd/containerd/api/services/introspection/v1;introspection" 2431 } 2432 weak_dependency: 2 2433 syntax: "proto3" 2434 } 2435 file { 2436 name: "github.com/containerd/containerd/api/services/leases/v1/leases.proto" 2437 package: "containerd.services.leases.v1" 2438 dependency: "gogoproto/gogo.proto" 2439 dependency: "google/protobuf/empty.proto" 2440 dependency: "google/protobuf/timestamp.proto" 2441 message_type { 2442 name: "Lease" 2443 field { 2444 name: "id" 2445 number: 1 2446 label: LABEL_OPTIONAL 2447 type: TYPE_STRING 2448 json_name: "id" 2449 } 2450 field { 2451 name: "created_at" 2452 number: 2 2453 label: LABEL_OPTIONAL 2454 type: TYPE_MESSAGE 2455 type_name: ".google.protobuf.Timestamp" 2456 options { 2457 65010: 1 2458 65001: 0 2459 } 2460 json_name: "createdAt" 2461 } 2462 field { 2463 name: "labels" 2464 number: 3 2465 label: LABEL_REPEATED 2466 type: TYPE_MESSAGE 2467 type_name: ".containerd.services.leases.v1.Lease.LabelsEntry" 2468 json_name: "labels" 2469 } 2470 nested_type { 2471 name: "LabelsEntry" 2472 field { 2473 name: "key" 2474 number: 1 2475 label: LABEL_OPTIONAL 2476 type: TYPE_STRING 2477 json_name: "key" 2478 } 2479 field { 2480 name: "value" 2481 number: 2 2482 label: LABEL_OPTIONAL 2483 type: TYPE_STRING 2484 json_name: "value" 2485 } 2486 options { 2487 map_entry: true 2488 } 2489 } 2490 } 2491 message_type { 2492 name: "CreateRequest" 2493 field { 2494 name: "id" 2495 number: 1 2496 label: LABEL_OPTIONAL 2497 type: TYPE_STRING 2498 json_name: "id" 2499 } 2500 field { 2501 name: "labels" 2502 number: 3 2503 label: LABEL_REPEATED 2504 type: TYPE_MESSAGE 2505 type_name: ".containerd.services.leases.v1.CreateRequest.LabelsEntry" 2506 json_name: "labels" 2507 } 2508 nested_type { 2509 name: "LabelsEntry" 2510 field { 2511 name: "key" 2512 number: 1 2513 label: LABEL_OPTIONAL 2514 type: TYPE_STRING 2515 json_name: "key" 2516 } 2517 field { 2518 name: "value" 2519 number: 2 2520 label: LABEL_OPTIONAL 2521 type: TYPE_STRING 2522 json_name: "value" 2523 } 2524 options { 2525 map_entry: true 2526 } 2527 } 2528 } 2529 message_type { 2530 name: "CreateResponse" 2531 field { 2532 name: "lease" 2533 number: 1 2534 label: LABEL_OPTIONAL 2535 type: TYPE_MESSAGE 2536 type_name: ".containerd.services.leases.v1.Lease" 2537 json_name: "lease" 2538 } 2539 } 2540 message_type { 2541 name: "DeleteRequest" 2542 field { 2543 name: "id" 2544 number: 1 2545 label: LABEL_OPTIONAL 2546 type: TYPE_STRING 2547 json_name: "id" 2548 } 2549 } 2550 message_type { 2551 name: "ListRequest" 2552 field { 2553 name: "filters" 2554 number: 1 2555 label: LABEL_REPEATED 2556 type: TYPE_STRING 2557 json_name: "filters" 2558 } 2559 } 2560 message_type { 2561 name: "ListResponse" 2562 field { 2563 name: "leases" 2564 number: 1 2565 label: LABEL_REPEATED 2566 type: TYPE_MESSAGE 2567 type_name: ".containerd.services.leases.v1.Lease" 2568 json_name: "leases" 2569 } 2570 } 2571 service { 2572 name: "Leases" 2573 method { 2574 name: "Create" 2575 input_type: ".containerd.services.leases.v1.CreateRequest" 2576 output_type: ".containerd.services.leases.v1.CreateResponse" 2577 } 2578 method { 2579 name: "Delete" 2580 input_type: ".containerd.services.leases.v1.DeleteRequest" 2581 output_type: ".google.protobuf.Empty" 2582 } 2583 method { 2584 name: "List" 2585 input_type: ".containerd.services.leases.v1.ListRequest" 2586 output_type: ".containerd.services.leases.v1.ListResponse" 2587 } 2588 } 2589 options { 2590 go_package: "github.com/containerd/containerd/api/services/leases/v1;leases" 2591 } 2592 weak_dependency: 0 2593 syntax: "proto3" 2594 } 2595 file { 2596 name: "github.com/containerd/containerd/api/services/namespaces/v1/namespace.proto" 2597 package: "containerd.services.namespaces.v1" 2598 dependency: "gogoproto/gogo.proto" 2599 dependency: "google/protobuf/empty.proto" 2600 dependency: "google/protobuf/field_mask.proto" 2601 message_type { 2602 name: "Namespace" 2603 field { 2604 name: "name" 2605 number: 1 2606 label: LABEL_OPTIONAL 2607 type: TYPE_STRING 2608 json_name: "name" 2609 } 2610 field { 2611 name: "labels" 2612 number: 2 2613 label: LABEL_REPEATED 2614 type: TYPE_MESSAGE 2615 type_name: ".containerd.services.namespaces.v1.Namespace.LabelsEntry" 2616 json_name: "labels" 2617 } 2618 nested_type { 2619 name: "LabelsEntry" 2620 field { 2621 name: "key" 2622 number: 1 2623 label: LABEL_OPTIONAL 2624 type: TYPE_STRING 2625 json_name: "key" 2626 } 2627 field { 2628 name: "value" 2629 number: 2 2630 label: LABEL_OPTIONAL 2631 type: TYPE_STRING 2632 json_name: "value" 2633 } 2634 options { 2635 map_entry: true 2636 } 2637 } 2638 } 2639 message_type { 2640 name: "GetNamespaceRequest" 2641 field { 2642 name: "name" 2643 number: 1 2644 label: LABEL_OPTIONAL 2645 type: TYPE_STRING 2646 json_name: "name" 2647 } 2648 } 2649 message_type { 2650 name: "GetNamespaceResponse" 2651 field { 2652 name: "namespace" 2653 number: 1 2654 label: LABEL_OPTIONAL 2655 type: TYPE_MESSAGE 2656 type_name: ".containerd.services.namespaces.v1.Namespace" 2657 options { 2658 65001: 0 2659 } 2660 json_name: "namespace" 2661 } 2662 } 2663 message_type { 2664 name: "ListNamespacesRequest" 2665 field { 2666 name: "filter" 2667 number: 1 2668 label: LABEL_OPTIONAL 2669 type: TYPE_STRING 2670 json_name: "filter" 2671 } 2672 } 2673 message_type { 2674 name: "ListNamespacesResponse" 2675 field { 2676 name: "namespaces" 2677 number: 1 2678 label: LABEL_REPEATED 2679 type: TYPE_MESSAGE 2680 type_name: ".containerd.services.namespaces.v1.Namespace" 2681 options { 2682 65001: 0 2683 } 2684 json_name: "namespaces" 2685 } 2686 } 2687 message_type { 2688 name: "CreateNamespaceRequest" 2689 field { 2690 name: "namespace" 2691 number: 1 2692 label: LABEL_OPTIONAL 2693 type: TYPE_MESSAGE 2694 type_name: ".containerd.services.namespaces.v1.Namespace" 2695 options { 2696 65001: 0 2697 } 2698 json_name: "namespace" 2699 } 2700 } 2701 message_type { 2702 name: "CreateNamespaceResponse" 2703 field { 2704 name: "namespace" 2705 number: 1 2706 label: LABEL_OPTIONAL 2707 type: TYPE_MESSAGE 2708 type_name: ".containerd.services.namespaces.v1.Namespace" 2709 options { 2710 65001: 0 2711 } 2712 json_name: "namespace" 2713 } 2714 } 2715 message_type { 2716 name: "UpdateNamespaceRequest" 2717 field { 2718 name: "namespace" 2719 number: 1 2720 label: LABEL_OPTIONAL 2721 type: TYPE_MESSAGE 2722 type_name: ".containerd.services.namespaces.v1.Namespace" 2723 options { 2724 65001: 0 2725 } 2726 json_name: "namespace" 2727 } 2728 field { 2729 name: "update_mask" 2730 number: 2 2731 label: LABEL_OPTIONAL 2732 type: TYPE_MESSAGE 2733 type_name: ".google.protobuf.FieldMask" 2734 json_name: "updateMask" 2735 } 2736 } 2737 message_type { 2738 name: "UpdateNamespaceResponse" 2739 field { 2740 name: "namespace" 2741 number: 1 2742 label: LABEL_OPTIONAL 2743 type: TYPE_MESSAGE 2744 type_name: ".containerd.services.namespaces.v1.Namespace" 2745 options { 2746 65001: 0 2747 } 2748 json_name: "namespace" 2749 } 2750 } 2751 message_type { 2752 name: "DeleteNamespaceRequest" 2753 field { 2754 name: "name" 2755 number: 1 2756 label: LABEL_OPTIONAL 2757 type: TYPE_STRING 2758 json_name: "name" 2759 } 2760 } 2761 service { 2762 name: "Namespaces" 2763 method { 2764 name: "Get" 2765 input_type: ".containerd.services.namespaces.v1.GetNamespaceRequest" 2766 output_type: ".containerd.services.namespaces.v1.GetNamespaceResponse" 2767 } 2768 method { 2769 name: "List" 2770 input_type: ".containerd.services.namespaces.v1.ListNamespacesRequest" 2771 output_type: ".containerd.services.namespaces.v1.ListNamespacesResponse" 2772 } 2773 method { 2774 name: "Create" 2775 input_type: ".containerd.services.namespaces.v1.CreateNamespaceRequest" 2776 output_type: ".containerd.services.namespaces.v1.CreateNamespaceResponse" 2777 } 2778 method { 2779 name: "Update" 2780 input_type: ".containerd.services.namespaces.v1.UpdateNamespaceRequest" 2781 output_type: ".containerd.services.namespaces.v1.UpdateNamespaceResponse" 2782 } 2783 method { 2784 name: "Delete" 2785 input_type: ".containerd.services.namespaces.v1.DeleteNamespaceRequest" 2786 output_type: ".google.protobuf.Empty" 2787 } 2788 } 2789 options { 2790 go_package: "github.com/containerd/containerd/api/services/namespaces/v1;namespaces" 2791 } 2792 weak_dependency: 0 2793 syntax: "proto3" 2794 } 2795 file { 2796 name: "github.com/containerd/containerd/api/services/snapshots/v1/snapshots.proto" 2797 package: "containerd.services.snapshots.v1" 2798 dependency: "gogoproto/gogo.proto" 2799 dependency: "google/protobuf/empty.proto" 2800 dependency: "google/protobuf/field_mask.proto" 2801 dependency: "google/protobuf/timestamp.proto" 2802 dependency: "github.com/containerd/containerd/api/types/mount.proto" 2803 message_type { 2804 name: "PrepareSnapshotRequest" 2805 field { 2806 name: "snapshotter" 2807 number: 1 2808 label: LABEL_OPTIONAL 2809 type: TYPE_STRING 2810 json_name: "snapshotter" 2811 } 2812 field { 2813 name: "key" 2814 number: 2 2815 label: LABEL_OPTIONAL 2816 type: TYPE_STRING 2817 json_name: "key" 2818 } 2819 field { 2820 name: "parent" 2821 number: 3 2822 label: LABEL_OPTIONAL 2823 type: TYPE_STRING 2824 json_name: "parent" 2825 } 2826 field { 2827 name: "labels" 2828 number: 4 2829 label: LABEL_REPEATED 2830 type: TYPE_MESSAGE 2831 type_name: ".containerd.services.snapshots.v1.PrepareSnapshotRequest.LabelsEntry" 2832 json_name: "labels" 2833 } 2834 nested_type { 2835 name: "LabelsEntry" 2836 field { 2837 name: "key" 2838 number: 1 2839 label: LABEL_OPTIONAL 2840 type: TYPE_STRING 2841 json_name: "key" 2842 } 2843 field { 2844 name: "value" 2845 number: 2 2846 label: LABEL_OPTIONAL 2847 type: TYPE_STRING 2848 json_name: "value" 2849 } 2850 options { 2851 map_entry: true 2852 } 2853 } 2854 } 2855 message_type { 2856 name: "PrepareSnapshotResponse" 2857 field { 2858 name: "mounts" 2859 number: 1 2860 label: LABEL_REPEATED 2861 type: TYPE_MESSAGE 2862 type_name: ".containerd.types.Mount" 2863 json_name: "mounts" 2864 } 2865 } 2866 message_type { 2867 name: "ViewSnapshotRequest" 2868 field { 2869 name: "snapshotter" 2870 number: 1 2871 label: LABEL_OPTIONAL 2872 type: TYPE_STRING 2873 json_name: "snapshotter" 2874 } 2875 field { 2876 name: "key" 2877 number: 2 2878 label: LABEL_OPTIONAL 2879 type: TYPE_STRING 2880 json_name: "key" 2881 } 2882 field { 2883 name: "parent" 2884 number: 3 2885 label: LABEL_OPTIONAL 2886 type: TYPE_STRING 2887 json_name: "parent" 2888 } 2889 field { 2890 name: "labels" 2891 number: 4 2892 label: LABEL_REPEATED 2893 type: TYPE_MESSAGE 2894 type_name: ".containerd.services.snapshots.v1.ViewSnapshotRequest.LabelsEntry" 2895 json_name: "labels" 2896 } 2897 nested_type { 2898 name: "LabelsEntry" 2899 field { 2900 name: "key" 2901 number: 1 2902 label: LABEL_OPTIONAL 2903 type: TYPE_STRING 2904 json_name: "key" 2905 } 2906 field { 2907 name: "value" 2908 number: 2 2909 label: LABEL_OPTIONAL 2910 type: TYPE_STRING 2911 json_name: "value" 2912 } 2913 options { 2914 map_entry: true 2915 } 2916 } 2917 } 2918 message_type { 2919 name: "ViewSnapshotResponse" 2920 field { 2921 name: "mounts" 2922 number: 1 2923 label: LABEL_REPEATED 2924 type: TYPE_MESSAGE 2925 type_name: ".containerd.types.Mount" 2926 json_name: "mounts" 2927 } 2928 } 2929 message_type { 2930 name: "MountsRequest" 2931 field { 2932 name: "snapshotter" 2933 number: 1 2934 label: LABEL_OPTIONAL 2935 type: TYPE_STRING 2936 json_name: "snapshotter" 2937 } 2938 field { 2939 name: "key" 2940 number: 2 2941 label: LABEL_OPTIONAL 2942 type: TYPE_STRING 2943 json_name: "key" 2944 } 2945 } 2946 message_type { 2947 name: "MountsResponse" 2948 field { 2949 name: "mounts" 2950 number: 1 2951 label: LABEL_REPEATED 2952 type: TYPE_MESSAGE 2953 type_name: ".containerd.types.Mount" 2954 json_name: "mounts" 2955 } 2956 } 2957 message_type { 2958 name: "RemoveSnapshotRequest" 2959 field { 2960 name: "snapshotter" 2961 number: 1 2962 label: LABEL_OPTIONAL 2963 type: TYPE_STRING 2964 json_name: "snapshotter" 2965 } 2966 field { 2967 name: "key" 2968 number: 2 2969 label: LABEL_OPTIONAL 2970 type: TYPE_STRING 2971 json_name: "key" 2972 } 2973 } 2974 message_type { 2975 name: "CommitSnapshotRequest" 2976 field { 2977 name: "snapshotter" 2978 number: 1 2979 label: LABEL_OPTIONAL 2980 type: TYPE_STRING 2981 json_name: "snapshotter" 2982 } 2983 field { 2984 name: "name" 2985 number: 2 2986 label: LABEL_OPTIONAL 2987 type: TYPE_STRING 2988 json_name: "name" 2989 } 2990 field { 2991 name: "key" 2992 number: 3 2993 label: LABEL_OPTIONAL 2994 type: TYPE_STRING 2995 json_name: "key" 2996 } 2997 field { 2998 name: "labels" 2999 number: 4 3000 label: LABEL_REPEATED 3001 type: TYPE_MESSAGE 3002 type_name: ".containerd.services.snapshots.v1.CommitSnapshotRequest.LabelsEntry" 3003 json_name: "labels" 3004 } 3005 nested_type { 3006 name: "LabelsEntry" 3007 field { 3008 name: "key" 3009 number: 1 3010 label: LABEL_OPTIONAL 3011 type: TYPE_STRING 3012 json_name: "key" 3013 } 3014 field { 3015 name: "value" 3016 number: 2 3017 label: LABEL_OPTIONAL 3018 type: TYPE_STRING 3019 json_name: "value" 3020 } 3021 options { 3022 map_entry: true 3023 } 3024 } 3025 } 3026 message_type { 3027 name: "StatSnapshotRequest" 3028 field { 3029 name: "snapshotter" 3030 number: 1 3031 label: LABEL_OPTIONAL 3032 type: TYPE_STRING 3033 json_name: "snapshotter" 3034 } 3035 field { 3036 name: "key" 3037 number: 2 3038 label: LABEL_OPTIONAL 3039 type: TYPE_STRING 3040 json_name: "key" 3041 } 3042 } 3043 message_type { 3044 name: "Info" 3045 field { 3046 name: "name" 3047 number: 1 3048 label: LABEL_OPTIONAL 3049 type: TYPE_STRING 3050 json_name: "name" 3051 } 3052 field { 3053 name: "parent" 3054 number: 2 3055 label: LABEL_OPTIONAL 3056 type: TYPE_STRING 3057 json_name: "parent" 3058 } 3059 field { 3060 name: "kind" 3061 number: 3 3062 label: LABEL_OPTIONAL 3063 type: TYPE_ENUM 3064 type_name: ".containerd.services.snapshots.v1.Kind" 3065 json_name: "kind" 3066 } 3067 field { 3068 name: "created_at" 3069 number: 4 3070 label: LABEL_OPTIONAL 3071 type: TYPE_MESSAGE 3072 type_name: ".google.protobuf.Timestamp" 3073 options { 3074 65010: 1 3075 65001: 0 3076 } 3077 json_name: "createdAt" 3078 } 3079 field { 3080 name: "updated_at" 3081 number: 5 3082 label: LABEL_OPTIONAL 3083 type: TYPE_MESSAGE 3084 type_name: ".google.protobuf.Timestamp" 3085 options { 3086 65010: 1 3087 65001: 0 3088 } 3089 json_name: "updatedAt" 3090 } 3091 field { 3092 name: "labels" 3093 number: 6 3094 label: LABEL_REPEATED 3095 type: TYPE_MESSAGE 3096 type_name: ".containerd.services.snapshots.v1.Info.LabelsEntry" 3097 json_name: "labels" 3098 } 3099 nested_type { 3100 name: "LabelsEntry" 3101 field { 3102 name: "key" 3103 number: 1 3104 label: LABEL_OPTIONAL 3105 type: TYPE_STRING 3106 json_name: "key" 3107 } 3108 field { 3109 name: "value" 3110 number: 2 3111 label: LABEL_OPTIONAL 3112 type: TYPE_STRING 3113 json_name: "value" 3114 } 3115 options { 3116 map_entry: true 3117 } 3118 } 3119 } 3120 message_type { 3121 name: "StatSnapshotResponse" 3122 field { 3123 name: "info" 3124 number: 1 3125 label: LABEL_OPTIONAL 3126 type: TYPE_MESSAGE 3127 type_name: ".containerd.services.snapshots.v1.Info" 3128 options { 3129 65001: 0 3130 } 3131 json_name: "info" 3132 } 3133 } 3134 message_type { 3135 name: "UpdateSnapshotRequest" 3136 field { 3137 name: "snapshotter" 3138 number: 1 3139 label: LABEL_OPTIONAL 3140 type: TYPE_STRING 3141 json_name: "snapshotter" 3142 } 3143 field { 3144 name: "info" 3145 number: 2 3146 label: LABEL_OPTIONAL 3147 type: TYPE_MESSAGE 3148 type_name: ".containerd.services.snapshots.v1.Info" 3149 options { 3150 65001: 0 3151 } 3152 json_name: "info" 3153 } 3154 field { 3155 name: "update_mask" 3156 number: 3 3157 label: LABEL_OPTIONAL 3158 type: TYPE_MESSAGE 3159 type_name: ".google.protobuf.FieldMask" 3160 json_name: "updateMask" 3161 } 3162 } 3163 message_type { 3164 name: "UpdateSnapshotResponse" 3165 field { 3166 name: "info" 3167 number: 1 3168 label: LABEL_OPTIONAL 3169 type: TYPE_MESSAGE 3170 type_name: ".containerd.services.snapshots.v1.Info" 3171 options { 3172 65001: 0 3173 } 3174 json_name: "info" 3175 } 3176 } 3177 message_type { 3178 name: "ListSnapshotsRequest" 3179 field { 3180 name: "snapshotter" 3181 number: 1 3182 label: LABEL_OPTIONAL 3183 type: TYPE_STRING 3184 json_name: "snapshotter" 3185 } 3186 } 3187 message_type { 3188 name: "ListSnapshotsResponse" 3189 field { 3190 name: "info" 3191 number: 1 3192 label: LABEL_REPEATED 3193 type: TYPE_MESSAGE 3194 type_name: ".containerd.services.snapshots.v1.Info" 3195 options { 3196 65001: 0 3197 } 3198 json_name: "info" 3199 } 3200 } 3201 message_type { 3202 name: "UsageRequest" 3203 field { 3204 name: "snapshotter" 3205 number: 1 3206 label: LABEL_OPTIONAL 3207 type: TYPE_STRING 3208 json_name: "snapshotter" 3209 } 3210 field { 3211 name: "key" 3212 number: 2 3213 label: LABEL_OPTIONAL 3214 type: TYPE_STRING 3215 json_name: "key" 3216 } 3217 } 3218 message_type { 3219 name: "UsageResponse" 3220 field { 3221 name: "size" 3222 number: 1 3223 label: LABEL_OPTIONAL 3224 type: TYPE_INT64 3225 json_name: "size" 3226 } 3227 field { 3228 name: "inodes" 3229 number: 2 3230 label: LABEL_OPTIONAL 3231 type: TYPE_INT64 3232 json_name: "inodes" 3233 } 3234 } 3235 enum_type { 3236 name: "Kind" 3237 value { 3238 name: "UNKNOWN" 3239 number: 0 3240 options { 3241 66001: "KindUnknown" 3242 } 3243 } 3244 value { 3245 name: "VIEW" 3246 number: 1 3247 options { 3248 66001: "KindView" 3249 } 3250 } 3251 value { 3252 name: "ACTIVE" 3253 number: 2 3254 options { 3255 66001: "KindActive" 3256 } 3257 } 3258 value { 3259 name: "COMMITTED" 3260 number: 3 3261 options { 3262 66001: "KindCommitted" 3263 } 3264 } 3265 options { 3266 62001: 0 3267 62023: "Kind" 3268 } 3269 } 3270 service { 3271 name: "Snapshots" 3272 method { 3273 name: "Prepare" 3274 input_type: ".containerd.services.snapshots.v1.PrepareSnapshotRequest" 3275 output_type: ".containerd.services.snapshots.v1.PrepareSnapshotResponse" 3276 } 3277 method { 3278 name: "View" 3279 input_type: ".containerd.services.snapshots.v1.ViewSnapshotRequest" 3280 output_type: ".containerd.services.snapshots.v1.ViewSnapshotResponse" 3281 } 3282 method { 3283 name: "Mounts" 3284 input_type: ".containerd.services.snapshots.v1.MountsRequest" 3285 output_type: ".containerd.services.snapshots.v1.MountsResponse" 3286 } 3287 method { 3288 name: "Commit" 3289 input_type: ".containerd.services.snapshots.v1.CommitSnapshotRequest" 3290 output_type: ".google.protobuf.Empty" 3291 } 3292 method { 3293 name: "Remove" 3294 input_type: ".containerd.services.snapshots.v1.RemoveSnapshotRequest" 3295 output_type: ".google.protobuf.Empty" 3296 } 3297 method { 3298 name: "Stat" 3299 input_type: ".containerd.services.snapshots.v1.StatSnapshotRequest" 3300 output_type: ".containerd.services.snapshots.v1.StatSnapshotResponse" 3301 } 3302 method { 3303 name: "Update" 3304 input_type: ".containerd.services.snapshots.v1.UpdateSnapshotRequest" 3305 output_type: ".containerd.services.snapshots.v1.UpdateSnapshotResponse" 3306 } 3307 method { 3308 name: "List" 3309 input_type: ".containerd.services.snapshots.v1.ListSnapshotsRequest" 3310 output_type: ".containerd.services.snapshots.v1.ListSnapshotsResponse" 3311 server_streaming: true 3312 } 3313 method { 3314 name: "Usage" 3315 input_type: ".containerd.services.snapshots.v1.UsageRequest" 3316 output_type: ".containerd.services.snapshots.v1.UsageResponse" 3317 } 3318 } 3319 options { 3320 go_package: "github.com/containerd/containerd/api/services/snapshots/v1;snapshots" 3321 } 3322 weak_dependency: 0 3323 syntax: "proto3" 3324 } 3325 file { 3326 name: "github.com/containerd/containerd/api/types/metrics.proto" 3327 package: "containerd.types" 3328 dependency: "gogoproto/gogo.proto" 3329 dependency: "google/protobuf/any.proto" 3330 dependency: "google/protobuf/timestamp.proto" 3331 message_type { 3332 name: "Metric" 3333 field { 3334 name: "timestamp" 3335 number: 1 3336 label: LABEL_OPTIONAL 3337 type: TYPE_MESSAGE 3338 type_name: ".google.protobuf.Timestamp" 3339 options { 3340 65010: 1 3341 65001: 0 3342 } 3343 json_name: "timestamp" 3344 } 3345 field { 3346 name: "id" 3347 number: 2 3348 label: LABEL_OPTIONAL 3349 type: TYPE_STRING 3350 json_name: "id" 3351 } 3352 field { 3353 name: "data" 3354 number: 3 3355 label: LABEL_OPTIONAL 3356 type: TYPE_MESSAGE 3357 type_name: ".google.protobuf.Any" 3358 json_name: "data" 3359 } 3360 } 3361 options { 3362 go_package: "github.com/containerd/containerd/api/types;types" 3363 } 3364 weak_dependency: 0 3365 syntax: "proto3" 3366 } 3367 file { 3368 name: "github.com/containerd/containerd/api/types/task/task.proto" 3369 package: "containerd.v1.types" 3370 dependency: "gogoproto/gogo.proto" 3371 dependency: "google/protobuf/timestamp.proto" 3372 dependency: "google/protobuf/any.proto" 3373 message_type { 3374 name: "Process" 3375 field { 3376 name: "container_id" 3377 number: 1 3378 label: LABEL_OPTIONAL 3379 type: TYPE_STRING 3380 json_name: "containerId" 3381 } 3382 field { 3383 name: "id" 3384 number: 2 3385 label: LABEL_OPTIONAL 3386 type: TYPE_STRING 3387 json_name: "id" 3388 } 3389 field { 3390 name: "pid" 3391 number: 3 3392 label: LABEL_OPTIONAL 3393 type: TYPE_UINT32 3394 json_name: "pid" 3395 } 3396 field { 3397 name: "status" 3398 number: 4 3399 label: LABEL_OPTIONAL 3400 type: TYPE_ENUM 3401 type_name: ".containerd.v1.types.Status" 3402 json_name: "status" 3403 } 3404 field { 3405 name: "stdin" 3406 number: 5 3407 label: LABEL_OPTIONAL 3408 type: TYPE_STRING 3409 json_name: "stdin" 3410 } 3411 field { 3412 name: "stdout" 3413 number: 6 3414 label: LABEL_OPTIONAL 3415 type: TYPE_STRING 3416 json_name: "stdout" 3417 } 3418 field { 3419 name: "stderr" 3420 number: 7 3421 label: LABEL_OPTIONAL 3422 type: TYPE_STRING 3423 json_name: "stderr" 3424 } 3425 field { 3426 name: "terminal" 3427 number: 8 3428 label: LABEL_OPTIONAL 3429 type: TYPE_BOOL 3430 json_name: "terminal" 3431 } 3432 field { 3433 name: "exit_status" 3434 number: 9 3435 label: LABEL_OPTIONAL 3436 type: TYPE_UINT32 3437 json_name: "exitStatus" 3438 } 3439 field { 3440 name: "exited_at" 3441 number: 10 3442 label: LABEL_OPTIONAL 3443 type: TYPE_MESSAGE 3444 type_name: ".google.protobuf.Timestamp" 3445 options { 3446 65010: 1 3447 65001: 0 3448 } 3449 json_name: "exitedAt" 3450 } 3451 } 3452 message_type { 3453 name: "ProcessInfo" 3454 field { 3455 name: "pid" 3456 number: 1 3457 label: LABEL_OPTIONAL 3458 type: TYPE_UINT32 3459 json_name: "pid" 3460 } 3461 field { 3462 name: "info" 3463 number: 2 3464 label: LABEL_OPTIONAL 3465 type: TYPE_MESSAGE 3466 type_name: ".google.protobuf.Any" 3467 json_name: "info" 3468 } 3469 } 3470 enum_type { 3471 name: "Status" 3472 value { 3473 name: "UNKNOWN" 3474 number: 0 3475 options { 3476 66001: "StatusUnknown" 3477 } 3478 } 3479 value { 3480 name: "CREATED" 3481 number: 1 3482 options { 3483 66001: "StatusCreated" 3484 } 3485 } 3486 value { 3487 name: "RUNNING" 3488 number: 2 3489 options { 3490 66001: "StatusRunning" 3491 } 3492 } 3493 value { 3494 name: "STOPPED" 3495 number: 3 3496 options { 3497 66001: "StatusStopped" 3498 } 3499 } 3500 value { 3501 name: "PAUSED" 3502 number: 4 3503 options { 3504 66001: "StatusPaused" 3505 } 3506 } 3507 value { 3508 name: "PAUSING" 3509 number: 5 3510 options { 3511 66001: "StatusPausing" 3512 } 3513 } 3514 options { 3515 62001: 0 3516 62023: "Status" 3517 } 3518 } 3519 weak_dependency: 0 3520 syntax: "proto3" 3521 } 3522 file { 3523 name: "github.com/containerd/containerd/api/services/tasks/v1/tasks.proto" 3524 package: "containerd.services.tasks.v1" 3525 dependency: "google/protobuf/empty.proto" 3526 dependency: "google/protobuf/any.proto" 3527 dependency: "gogoproto/gogo.proto" 3528 dependency: "github.com/containerd/containerd/api/types/mount.proto" 3529 dependency: "github.com/containerd/containerd/api/types/metrics.proto" 3530 dependency: "github.com/containerd/containerd/api/types/descriptor.proto" 3531 dependency: "github.com/containerd/containerd/api/types/task/task.proto" 3532 dependency: "google/protobuf/timestamp.proto" 3533 message_type { 3534 name: "CreateTaskRequest" 3535 field { 3536 name: "container_id" 3537 number: 1 3538 label: LABEL_OPTIONAL 3539 type: TYPE_STRING 3540 json_name: "containerId" 3541 } 3542 field { 3543 name: "rootfs" 3544 number: 3 3545 label: LABEL_REPEATED 3546 type: TYPE_MESSAGE 3547 type_name: ".containerd.types.Mount" 3548 json_name: "rootfs" 3549 } 3550 field { 3551 name: "stdin" 3552 number: 4 3553 label: LABEL_OPTIONAL 3554 type: TYPE_STRING 3555 json_name: "stdin" 3556 } 3557 field { 3558 name: "stdout" 3559 number: 5 3560 label: LABEL_OPTIONAL 3561 type: TYPE_STRING 3562 json_name: "stdout" 3563 } 3564 field { 3565 name: "stderr" 3566 number: 6 3567 label: LABEL_OPTIONAL 3568 type: TYPE_STRING 3569 json_name: "stderr" 3570 } 3571 field { 3572 name: "terminal" 3573 number: 7 3574 label: LABEL_OPTIONAL 3575 type: TYPE_BOOL 3576 json_name: "terminal" 3577 } 3578 field { 3579 name: "checkpoint" 3580 number: 8 3581 label: LABEL_OPTIONAL 3582 type: TYPE_MESSAGE 3583 type_name: ".containerd.types.Descriptor" 3584 json_name: "checkpoint" 3585 } 3586 field { 3587 name: "options" 3588 number: 9 3589 label: LABEL_OPTIONAL 3590 type: TYPE_MESSAGE 3591 type_name: ".google.protobuf.Any" 3592 json_name: "options" 3593 } 3594 } 3595 message_type { 3596 name: "CreateTaskResponse" 3597 field { 3598 name: "container_id" 3599 number: 1 3600 label: LABEL_OPTIONAL 3601 type: TYPE_STRING 3602 json_name: "containerId" 3603 } 3604 field { 3605 name: "pid" 3606 number: 2 3607 label: LABEL_OPTIONAL 3608 type: TYPE_UINT32 3609 json_name: "pid" 3610 } 3611 } 3612 message_type { 3613 name: "StartRequest" 3614 field { 3615 name: "container_id" 3616 number: 1 3617 label: LABEL_OPTIONAL 3618 type: TYPE_STRING 3619 json_name: "containerId" 3620 } 3621 field { 3622 name: "exec_id" 3623 number: 2 3624 label: LABEL_OPTIONAL 3625 type: TYPE_STRING 3626 json_name: "execId" 3627 } 3628 } 3629 message_type { 3630 name: "StartResponse" 3631 field { 3632 name: "pid" 3633 number: 1 3634 label: LABEL_OPTIONAL 3635 type: TYPE_UINT32 3636 json_name: "pid" 3637 } 3638 } 3639 message_type { 3640 name: "DeleteTaskRequest" 3641 field { 3642 name: "container_id" 3643 number: 1 3644 label: LABEL_OPTIONAL 3645 type: TYPE_STRING 3646 json_name: "containerId" 3647 } 3648 } 3649 message_type { 3650 name: "DeleteResponse" 3651 field { 3652 name: "id" 3653 number: 1 3654 label: LABEL_OPTIONAL 3655 type: TYPE_STRING 3656 json_name: "id" 3657 } 3658 field { 3659 name: "pid" 3660 number: 2 3661 label: LABEL_OPTIONAL 3662 type: TYPE_UINT32 3663 json_name: "pid" 3664 } 3665 field { 3666 name: "exit_status" 3667 number: 3 3668 label: LABEL_OPTIONAL 3669 type: TYPE_UINT32 3670 json_name: "exitStatus" 3671 } 3672 field { 3673 name: "exited_at" 3674 number: 4 3675 label: LABEL_OPTIONAL 3676 type: TYPE_MESSAGE 3677 type_name: ".google.protobuf.Timestamp" 3678 options { 3679 65010: 1 3680 65001: 0 3681 } 3682 json_name: "exitedAt" 3683 } 3684 } 3685 message_type { 3686 name: "DeleteProcessRequest" 3687 field { 3688 name: "container_id" 3689 number: 1 3690 label: LABEL_OPTIONAL 3691 type: TYPE_STRING 3692 json_name: "containerId" 3693 } 3694 field { 3695 name: "exec_id" 3696 number: 2 3697 label: LABEL_OPTIONAL 3698 type: TYPE_STRING 3699 json_name: "execId" 3700 } 3701 } 3702 message_type { 3703 name: "GetRequest" 3704 field { 3705 name: "container_id" 3706 number: 1 3707 label: LABEL_OPTIONAL 3708 type: TYPE_STRING 3709 json_name: "containerId" 3710 } 3711 field { 3712 name: "exec_id" 3713 number: 2 3714 label: LABEL_OPTIONAL 3715 type: TYPE_STRING 3716 json_name: "execId" 3717 } 3718 } 3719 message_type { 3720 name: "GetResponse" 3721 field { 3722 name: "process" 3723 number: 1 3724 label: LABEL_OPTIONAL 3725 type: TYPE_MESSAGE 3726 type_name: ".containerd.v1.types.Process" 3727 json_name: "process" 3728 } 3729 } 3730 message_type { 3731 name: "ListTasksRequest" 3732 field { 3733 name: "filter" 3734 number: 1 3735 label: LABEL_OPTIONAL 3736 type: TYPE_STRING 3737 json_name: "filter" 3738 } 3739 } 3740 message_type { 3741 name: "ListTasksResponse" 3742 field { 3743 name: "tasks" 3744 number: 1 3745 label: LABEL_REPEATED 3746 type: TYPE_MESSAGE 3747 type_name: ".containerd.v1.types.Process" 3748 json_name: "tasks" 3749 } 3750 } 3751 message_type { 3752 name: "KillRequest" 3753 field { 3754 name: "container_id" 3755 number: 1 3756 label: LABEL_OPTIONAL 3757 type: TYPE_STRING 3758 json_name: "containerId" 3759 } 3760 field { 3761 name: "exec_id" 3762 number: 2 3763 label: LABEL_OPTIONAL 3764 type: TYPE_STRING 3765 json_name: "execId" 3766 } 3767 field { 3768 name: "signal" 3769 number: 3 3770 label: LABEL_OPTIONAL 3771 type: TYPE_UINT32 3772 json_name: "signal" 3773 } 3774 field { 3775 name: "all" 3776 number: 4 3777 label: LABEL_OPTIONAL 3778 type: TYPE_BOOL 3779 json_name: "all" 3780 } 3781 } 3782 message_type { 3783 name: "ExecProcessRequest" 3784 field { 3785 name: "container_id" 3786 number: 1 3787 label: LABEL_OPTIONAL 3788 type: TYPE_STRING 3789 json_name: "containerId" 3790 } 3791 field { 3792 name: "stdin" 3793 number: 2 3794 label: LABEL_OPTIONAL 3795 type: TYPE_STRING 3796 json_name: "stdin" 3797 } 3798 field { 3799 name: "stdout" 3800 number: 3 3801 label: LABEL_OPTIONAL 3802 type: TYPE_STRING 3803 json_name: "stdout" 3804 } 3805 field { 3806 name: "stderr" 3807 number: 4 3808 label: LABEL_OPTIONAL 3809 type: TYPE_STRING 3810 json_name: "stderr" 3811 } 3812 field { 3813 name: "terminal" 3814 number: 5 3815 label: LABEL_OPTIONAL 3816 type: TYPE_BOOL 3817 json_name: "terminal" 3818 } 3819 field { 3820 name: "spec" 3821 number: 6 3822 label: LABEL_OPTIONAL 3823 type: TYPE_MESSAGE 3824 type_name: ".google.protobuf.Any" 3825 json_name: "spec" 3826 } 3827 field { 3828 name: "exec_id" 3829 number: 7 3830 label: LABEL_OPTIONAL 3831 type: TYPE_STRING 3832 json_name: "execId" 3833 } 3834 } 3835 message_type { 3836 name: "ExecProcessResponse" 3837 } 3838 message_type { 3839 name: "ResizePtyRequest" 3840 field { 3841 name: "container_id" 3842 number: 1 3843 label: LABEL_OPTIONAL 3844 type: TYPE_STRING 3845 json_name: "containerId" 3846 } 3847 field { 3848 name: "exec_id" 3849 number: 2 3850 label: LABEL_OPTIONAL 3851 type: TYPE_STRING 3852 json_name: "execId" 3853 } 3854 field { 3855 name: "width" 3856 number: 3 3857 label: LABEL_OPTIONAL 3858 type: TYPE_UINT32 3859 json_name: "width" 3860 } 3861 field { 3862 name: "height" 3863 number: 4 3864 label: LABEL_OPTIONAL 3865 type: TYPE_UINT32 3866 json_name: "height" 3867 } 3868 } 3869 message_type { 3870 name: "CloseIORequest" 3871 field { 3872 name: "container_id" 3873 number: 1 3874 label: LABEL_OPTIONAL 3875 type: TYPE_STRING 3876 json_name: "containerId" 3877 } 3878 field { 3879 name: "exec_id" 3880 number: 2 3881 label: LABEL_OPTIONAL 3882 type: TYPE_STRING 3883 json_name: "execId" 3884 } 3885 field { 3886 name: "stdin" 3887 number: 3 3888 label: LABEL_OPTIONAL 3889 type: TYPE_BOOL 3890 json_name: "stdin" 3891 } 3892 } 3893 message_type { 3894 name: "PauseTaskRequest" 3895 field { 3896 name: "container_id" 3897 number: 1 3898 label: LABEL_OPTIONAL 3899 type: TYPE_STRING 3900 json_name: "containerId" 3901 } 3902 } 3903 message_type { 3904 name: "ResumeTaskRequest" 3905 field { 3906 name: "container_id" 3907 number: 1 3908 label: LABEL_OPTIONAL 3909 type: TYPE_STRING 3910 json_name: "containerId" 3911 } 3912 } 3913 message_type { 3914 name: "ListPidsRequest" 3915 field { 3916 name: "container_id" 3917 number: 1 3918 label: LABEL_OPTIONAL 3919 type: TYPE_STRING 3920 json_name: "containerId" 3921 } 3922 } 3923 message_type { 3924 name: "ListPidsResponse" 3925 field { 3926 name: "processes" 3927 number: 1 3928 label: LABEL_REPEATED 3929 type: TYPE_MESSAGE 3930 type_name: ".containerd.v1.types.ProcessInfo" 3931 json_name: "processes" 3932 } 3933 } 3934 message_type { 3935 name: "CheckpointTaskRequest" 3936 field { 3937 name: "container_id" 3938 number: 1 3939 label: LABEL_OPTIONAL 3940 type: TYPE_STRING 3941 json_name: "containerId" 3942 } 3943 field { 3944 name: "parent_checkpoint" 3945 number: 2 3946 label: LABEL_OPTIONAL 3947 type: TYPE_STRING 3948 options { 3949 65003: "github.com/opencontainers/go-digest.Digest" 3950 65001: 0 3951 } 3952 json_name: "parentCheckpoint" 3953 } 3954 field { 3955 name: "options" 3956 number: 3 3957 label: LABEL_OPTIONAL 3958 type: TYPE_MESSAGE 3959 type_name: ".google.protobuf.Any" 3960 json_name: "options" 3961 } 3962 } 3963 message_type { 3964 name: "CheckpointTaskResponse" 3965 field { 3966 name: "descriptors" 3967 number: 1 3968 label: LABEL_REPEATED 3969 type: TYPE_MESSAGE 3970 type_name: ".containerd.types.Descriptor" 3971 json_name: "descriptors" 3972 } 3973 } 3974 message_type { 3975 name: "UpdateTaskRequest" 3976 field { 3977 name: "container_id" 3978 number: 1 3979 label: LABEL_OPTIONAL 3980 type: TYPE_STRING 3981 json_name: "containerId" 3982 } 3983 field { 3984 name: "resources" 3985 number: 2 3986 label: LABEL_OPTIONAL 3987 type: TYPE_MESSAGE 3988 type_name: ".google.protobuf.Any" 3989 json_name: "resources" 3990 } 3991 } 3992 message_type { 3993 name: "MetricsRequest" 3994 field { 3995 name: "filters" 3996 number: 1 3997 label: LABEL_REPEATED 3998 type: TYPE_STRING 3999 json_name: "filters" 4000 } 4001 } 4002 message_type { 4003 name: "MetricsResponse" 4004 field { 4005 name: "metrics" 4006 number: 1 4007 label: LABEL_REPEATED 4008 type: TYPE_MESSAGE 4009 type_name: ".containerd.types.Metric" 4010 json_name: "metrics" 4011 } 4012 } 4013 message_type { 4014 name: "WaitRequest" 4015 field { 4016 name: "container_id" 4017 number: 1 4018 label: LABEL_OPTIONAL 4019 type: TYPE_STRING 4020 json_name: "containerId" 4021 } 4022 field { 4023 name: "exec_id" 4024 number: 2 4025 label: LABEL_OPTIONAL 4026 type: TYPE_STRING 4027 json_name: "execId" 4028 } 4029 } 4030 message_type { 4031 name: "WaitResponse" 4032 field { 4033 name: "exit_status" 4034 number: 1 4035 label: LABEL_OPTIONAL 4036 type: TYPE_UINT32 4037 json_name: "exitStatus" 4038 } 4039 field { 4040 name: "exited_at" 4041 number: 2 4042 label: LABEL_OPTIONAL 4043 type: TYPE_MESSAGE 4044 type_name: ".google.protobuf.Timestamp" 4045 options { 4046 65010: 1 4047 65001: 0 4048 } 4049 json_name: "exitedAt" 4050 } 4051 } 4052 service { 4053 name: "Tasks" 4054 method { 4055 name: "Create" 4056 input_type: ".containerd.services.tasks.v1.CreateTaskRequest" 4057 output_type: ".containerd.services.tasks.v1.CreateTaskResponse" 4058 } 4059 method { 4060 name: "Start" 4061 input_type: ".containerd.services.tasks.v1.StartRequest" 4062 output_type: ".containerd.services.tasks.v1.StartResponse" 4063 } 4064 method { 4065 name: "Delete" 4066 input_type: ".containerd.services.tasks.v1.DeleteTaskRequest" 4067 output_type: ".containerd.services.tasks.v1.DeleteResponse" 4068 } 4069 method { 4070 name: "DeleteProcess" 4071 input_type: ".containerd.services.tasks.v1.DeleteProcessRequest" 4072 output_type: ".containerd.services.tasks.v1.DeleteResponse" 4073 } 4074 method { 4075 name: "Get" 4076 input_type: ".containerd.services.tasks.v1.GetRequest" 4077 output_type: ".containerd.services.tasks.v1.GetResponse" 4078 } 4079 method { 4080 name: "List" 4081 input_type: ".containerd.services.tasks.v1.ListTasksRequest" 4082 output_type: ".containerd.services.tasks.v1.ListTasksResponse" 4083 } 4084 method { 4085 name: "Kill" 4086 input_type: ".containerd.services.tasks.v1.KillRequest" 4087 output_type: ".google.protobuf.Empty" 4088 } 4089 method { 4090 name: "Exec" 4091 input_type: ".containerd.services.tasks.v1.ExecProcessRequest" 4092 output_type: ".google.protobuf.Empty" 4093 } 4094 method { 4095 name: "ResizePty" 4096 input_type: ".containerd.services.tasks.v1.ResizePtyRequest" 4097 output_type: ".google.protobuf.Empty" 4098 } 4099 method { 4100 name: "CloseIO" 4101 input_type: ".containerd.services.tasks.v1.CloseIORequest" 4102 output_type: ".google.protobuf.Empty" 4103 } 4104 method { 4105 name: "Pause" 4106 input_type: ".containerd.services.tasks.v1.PauseTaskRequest" 4107 output_type: ".google.protobuf.Empty" 4108 } 4109 method { 4110 name: "Resume" 4111 input_type: ".containerd.services.tasks.v1.ResumeTaskRequest" 4112 output_type: ".google.protobuf.Empty" 4113 } 4114 method { 4115 name: "ListPids" 4116 input_type: ".containerd.services.tasks.v1.ListPidsRequest" 4117 output_type: ".containerd.services.tasks.v1.ListPidsResponse" 4118 } 4119 method { 4120 name: "Checkpoint" 4121 input_type: ".containerd.services.tasks.v1.CheckpointTaskRequest" 4122 output_type: ".containerd.services.tasks.v1.CheckpointTaskResponse" 4123 } 4124 method { 4125 name: "Update" 4126 input_type: ".containerd.services.tasks.v1.UpdateTaskRequest" 4127 output_type: ".google.protobuf.Empty" 4128 } 4129 method { 4130 name: "Metrics" 4131 input_type: ".containerd.services.tasks.v1.MetricsRequest" 4132 output_type: ".containerd.services.tasks.v1.MetricsResponse" 4133 } 4134 method { 4135 name: "Wait" 4136 input_type: ".containerd.services.tasks.v1.WaitRequest" 4137 output_type: ".containerd.services.tasks.v1.WaitResponse" 4138 } 4139 } 4140 options { 4141 go_package: "github.com/containerd/containerd/api/services/tasks/v1;tasks" 4142 } 4143 weak_dependency: 2 4144 syntax: "proto3" 4145 } 4146 file { 4147 name: "github.com/containerd/containerd/api/services/version/v1/version.proto" 4148 package: "containerd.services.version.v1" 4149 dependency: "google/protobuf/empty.proto" 4150 dependency: "gogoproto/gogo.proto" 4151 message_type { 4152 name: "VersionResponse" 4153 field { 4154 name: "version" 4155 number: 1 4156 label: LABEL_OPTIONAL 4157 type: TYPE_STRING 4158 json_name: "version" 4159 } 4160 field { 4161 name: "revision" 4162 number: 2 4163 label: LABEL_OPTIONAL 4164 type: TYPE_STRING 4165 json_name: "revision" 4166 } 4167 } 4168 service { 4169 name: "Version" 4170 method { 4171 name: "Version" 4172 input_type: ".google.protobuf.Empty" 4173 output_type: ".containerd.services.version.v1.VersionResponse" 4174 } 4175 } 4176 options { 4177 go_package: "github.com/containerd/containerd/api/services/version/v1;version" 4178 } 4179 weak_dependency: 1 4180 syntax: "proto3" 4181 }