github.com/containerd/containerd@v22.0.0-20200918172823-438c87b8e050+incompatible/api/1.2.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 65001: 0 185 65003: "github.com/opencontainers/go-digest.Digest" 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 65001: 0 626 65010: 1 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 65001: 0 700 65010: 1 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 65001: 0 911 65010: 1 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 65001: 0 923 65010: 1 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 message_type { 1121 name: "ListContainerMessage" 1122 field { 1123 name: "container" 1124 number: 1 1125 label: LABEL_OPTIONAL 1126 type: TYPE_MESSAGE 1127 type_name: ".containerd.services.containers.v1.Container" 1128 json_name: "container" 1129 } 1130 } 1131 service { 1132 name: "Containers" 1133 method { 1134 name: "Get" 1135 input_type: ".containerd.services.containers.v1.GetContainerRequest" 1136 output_type: ".containerd.services.containers.v1.GetContainerResponse" 1137 } 1138 method { 1139 name: "List" 1140 input_type: ".containerd.services.containers.v1.ListContainersRequest" 1141 output_type: ".containerd.services.containers.v1.ListContainersResponse" 1142 } 1143 method { 1144 name: "ListStream" 1145 input_type: ".containerd.services.containers.v1.ListContainersRequest" 1146 output_type: ".containerd.services.containers.v1.ListContainerMessage" 1147 server_streaming: true 1148 } 1149 method { 1150 name: "Create" 1151 input_type: ".containerd.services.containers.v1.CreateContainerRequest" 1152 output_type: ".containerd.services.containers.v1.CreateContainerResponse" 1153 } 1154 method { 1155 name: "Update" 1156 input_type: ".containerd.services.containers.v1.UpdateContainerRequest" 1157 output_type: ".containerd.services.containers.v1.UpdateContainerResponse" 1158 } 1159 method { 1160 name: "Delete" 1161 input_type: ".containerd.services.containers.v1.DeleteContainerRequest" 1162 output_type: ".google.protobuf.Empty" 1163 } 1164 } 1165 options { 1166 go_package: "github.com/containerd/containerd/api/services/containers/v1;containers" 1167 } 1168 weak_dependency: 0 1169 syntax: "proto3" 1170 } 1171 file { 1172 name: "github.com/containerd/containerd/api/services/content/v1/content.proto" 1173 package: "containerd.services.content.v1" 1174 dependency: "gogoproto/gogo.proto" 1175 dependency: "google/protobuf/field_mask.proto" 1176 dependency: "google/protobuf/timestamp.proto" 1177 dependency: "google/protobuf/empty.proto" 1178 message_type { 1179 name: "Info" 1180 field { 1181 name: "digest" 1182 number: 1 1183 label: LABEL_OPTIONAL 1184 type: TYPE_STRING 1185 options { 1186 65001: 0 1187 65003: "github.com/opencontainers/go-digest.Digest" 1188 } 1189 json_name: "digest" 1190 } 1191 field { 1192 name: "size" 1193 number: 2 1194 label: LABEL_OPTIONAL 1195 type: TYPE_INT64 1196 json_name: "size" 1197 } 1198 field { 1199 name: "created_at" 1200 number: 3 1201 label: LABEL_OPTIONAL 1202 type: TYPE_MESSAGE 1203 type_name: ".google.protobuf.Timestamp" 1204 options { 1205 65001: 0 1206 65010: 1 1207 } 1208 json_name: "createdAt" 1209 } 1210 field { 1211 name: "updated_at" 1212 number: 4 1213 label: LABEL_OPTIONAL 1214 type: TYPE_MESSAGE 1215 type_name: ".google.protobuf.Timestamp" 1216 options { 1217 65001: 0 1218 65010: 1 1219 } 1220 json_name: "updatedAt" 1221 } 1222 field { 1223 name: "labels" 1224 number: 5 1225 label: LABEL_REPEATED 1226 type: TYPE_MESSAGE 1227 type_name: ".containerd.services.content.v1.Info.LabelsEntry" 1228 json_name: "labels" 1229 } 1230 nested_type { 1231 name: "LabelsEntry" 1232 field { 1233 name: "key" 1234 number: 1 1235 label: LABEL_OPTIONAL 1236 type: TYPE_STRING 1237 json_name: "key" 1238 } 1239 field { 1240 name: "value" 1241 number: 2 1242 label: LABEL_OPTIONAL 1243 type: TYPE_STRING 1244 json_name: "value" 1245 } 1246 options { 1247 map_entry: true 1248 } 1249 } 1250 } 1251 message_type { 1252 name: "InfoRequest" 1253 field { 1254 name: "digest" 1255 number: 1 1256 label: LABEL_OPTIONAL 1257 type: TYPE_STRING 1258 options { 1259 65001: 0 1260 65003: "github.com/opencontainers/go-digest.Digest" 1261 } 1262 json_name: "digest" 1263 } 1264 } 1265 message_type { 1266 name: "InfoResponse" 1267 field { 1268 name: "info" 1269 number: 1 1270 label: LABEL_OPTIONAL 1271 type: TYPE_MESSAGE 1272 type_name: ".containerd.services.content.v1.Info" 1273 options { 1274 65001: 0 1275 } 1276 json_name: "info" 1277 } 1278 } 1279 message_type { 1280 name: "UpdateRequest" 1281 field { 1282 name: "info" 1283 number: 1 1284 label: LABEL_OPTIONAL 1285 type: TYPE_MESSAGE 1286 type_name: ".containerd.services.content.v1.Info" 1287 options { 1288 65001: 0 1289 } 1290 json_name: "info" 1291 } 1292 field { 1293 name: "update_mask" 1294 number: 2 1295 label: LABEL_OPTIONAL 1296 type: TYPE_MESSAGE 1297 type_name: ".google.protobuf.FieldMask" 1298 json_name: "updateMask" 1299 } 1300 } 1301 message_type { 1302 name: "UpdateResponse" 1303 field { 1304 name: "info" 1305 number: 1 1306 label: LABEL_OPTIONAL 1307 type: TYPE_MESSAGE 1308 type_name: ".containerd.services.content.v1.Info" 1309 options { 1310 65001: 0 1311 } 1312 json_name: "info" 1313 } 1314 } 1315 message_type { 1316 name: "ListContentRequest" 1317 field { 1318 name: "filters" 1319 number: 1 1320 label: LABEL_REPEATED 1321 type: TYPE_STRING 1322 json_name: "filters" 1323 } 1324 } 1325 message_type { 1326 name: "ListContentResponse" 1327 field { 1328 name: "info" 1329 number: 1 1330 label: LABEL_REPEATED 1331 type: TYPE_MESSAGE 1332 type_name: ".containerd.services.content.v1.Info" 1333 options { 1334 65001: 0 1335 } 1336 json_name: "info" 1337 } 1338 } 1339 message_type { 1340 name: "DeleteContentRequest" 1341 field { 1342 name: "digest" 1343 number: 1 1344 label: LABEL_OPTIONAL 1345 type: TYPE_STRING 1346 options { 1347 65001: 0 1348 65003: "github.com/opencontainers/go-digest.Digest" 1349 } 1350 json_name: "digest" 1351 } 1352 } 1353 message_type { 1354 name: "ReadContentRequest" 1355 field { 1356 name: "digest" 1357 number: 1 1358 label: LABEL_OPTIONAL 1359 type: TYPE_STRING 1360 options { 1361 65001: 0 1362 65003: "github.com/opencontainers/go-digest.Digest" 1363 } 1364 json_name: "digest" 1365 } 1366 field { 1367 name: "offset" 1368 number: 2 1369 label: LABEL_OPTIONAL 1370 type: TYPE_INT64 1371 json_name: "offset" 1372 } 1373 field { 1374 name: "size" 1375 number: 3 1376 label: LABEL_OPTIONAL 1377 type: TYPE_INT64 1378 json_name: "size" 1379 } 1380 } 1381 message_type { 1382 name: "ReadContentResponse" 1383 field { 1384 name: "offset" 1385 number: 1 1386 label: LABEL_OPTIONAL 1387 type: TYPE_INT64 1388 json_name: "offset" 1389 } 1390 field { 1391 name: "data" 1392 number: 2 1393 label: LABEL_OPTIONAL 1394 type: TYPE_BYTES 1395 json_name: "data" 1396 } 1397 } 1398 message_type { 1399 name: "Status" 1400 field { 1401 name: "started_at" 1402 number: 1 1403 label: LABEL_OPTIONAL 1404 type: TYPE_MESSAGE 1405 type_name: ".google.protobuf.Timestamp" 1406 options { 1407 65001: 0 1408 65010: 1 1409 } 1410 json_name: "startedAt" 1411 } 1412 field { 1413 name: "updated_at" 1414 number: 2 1415 label: LABEL_OPTIONAL 1416 type: TYPE_MESSAGE 1417 type_name: ".google.protobuf.Timestamp" 1418 options { 1419 65001: 0 1420 65010: 1 1421 } 1422 json_name: "updatedAt" 1423 } 1424 field { 1425 name: "ref" 1426 number: 3 1427 label: LABEL_OPTIONAL 1428 type: TYPE_STRING 1429 json_name: "ref" 1430 } 1431 field { 1432 name: "offset" 1433 number: 4 1434 label: LABEL_OPTIONAL 1435 type: TYPE_INT64 1436 json_name: "offset" 1437 } 1438 field { 1439 name: "total" 1440 number: 5 1441 label: LABEL_OPTIONAL 1442 type: TYPE_INT64 1443 json_name: "total" 1444 } 1445 field { 1446 name: "expected" 1447 number: 6 1448 label: LABEL_OPTIONAL 1449 type: TYPE_STRING 1450 options { 1451 65001: 0 1452 65003: "github.com/opencontainers/go-digest.Digest" 1453 } 1454 json_name: "expected" 1455 } 1456 } 1457 message_type { 1458 name: "StatusRequest" 1459 field { 1460 name: "ref" 1461 number: 1 1462 label: LABEL_OPTIONAL 1463 type: TYPE_STRING 1464 json_name: "ref" 1465 } 1466 } 1467 message_type { 1468 name: "StatusResponse" 1469 field { 1470 name: "status" 1471 number: 1 1472 label: LABEL_OPTIONAL 1473 type: TYPE_MESSAGE 1474 type_name: ".containerd.services.content.v1.Status" 1475 json_name: "status" 1476 } 1477 } 1478 message_type { 1479 name: "ListStatusesRequest" 1480 field { 1481 name: "filters" 1482 number: 1 1483 label: LABEL_REPEATED 1484 type: TYPE_STRING 1485 json_name: "filters" 1486 } 1487 } 1488 message_type { 1489 name: "ListStatusesResponse" 1490 field { 1491 name: "statuses" 1492 number: 1 1493 label: LABEL_REPEATED 1494 type: TYPE_MESSAGE 1495 type_name: ".containerd.services.content.v1.Status" 1496 options { 1497 65001: 0 1498 } 1499 json_name: "statuses" 1500 } 1501 } 1502 message_type { 1503 name: "WriteContentRequest" 1504 field { 1505 name: "action" 1506 number: 1 1507 label: LABEL_OPTIONAL 1508 type: TYPE_ENUM 1509 type_name: ".containerd.services.content.v1.WriteAction" 1510 json_name: "action" 1511 } 1512 field { 1513 name: "ref" 1514 number: 2 1515 label: LABEL_OPTIONAL 1516 type: TYPE_STRING 1517 json_name: "ref" 1518 } 1519 field { 1520 name: "total" 1521 number: 3 1522 label: LABEL_OPTIONAL 1523 type: TYPE_INT64 1524 json_name: "total" 1525 } 1526 field { 1527 name: "expected" 1528 number: 4 1529 label: LABEL_OPTIONAL 1530 type: TYPE_STRING 1531 options { 1532 65001: 0 1533 65003: "github.com/opencontainers/go-digest.Digest" 1534 } 1535 json_name: "expected" 1536 } 1537 field { 1538 name: "offset" 1539 number: 5 1540 label: LABEL_OPTIONAL 1541 type: TYPE_INT64 1542 json_name: "offset" 1543 } 1544 field { 1545 name: "data" 1546 number: 6 1547 label: LABEL_OPTIONAL 1548 type: TYPE_BYTES 1549 json_name: "data" 1550 } 1551 field { 1552 name: "labels" 1553 number: 7 1554 label: LABEL_REPEATED 1555 type: TYPE_MESSAGE 1556 type_name: ".containerd.services.content.v1.WriteContentRequest.LabelsEntry" 1557 json_name: "labels" 1558 } 1559 nested_type { 1560 name: "LabelsEntry" 1561 field { 1562 name: "key" 1563 number: 1 1564 label: LABEL_OPTIONAL 1565 type: TYPE_STRING 1566 json_name: "key" 1567 } 1568 field { 1569 name: "value" 1570 number: 2 1571 label: LABEL_OPTIONAL 1572 type: TYPE_STRING 1573 json_name: "value" 1574 } 1575 options { 1576 map_entry: true 1577 } 1578 } 1579 } 1580 message_type { 1581 name: "WriteContentResponse" 1582 field { 1583 name: "action" 1584 number: 1 1585 label: LABEL_OPTIONAL 1586 type: TYPE_ENUM 1587 type_name: ".containerd.services.content.v1.WriteAction" 1588 json_name: "action" 1589 } 1590 field { 1591 name: "started_at" 1592 number: 2 1593 label: LABEL_OPTIONAL 1594 type: TYPE_MESSAGE 1595 type_name: ".google.protobuf.Timestamp" 1596 options { 1597 65001: 0 1598 65010: 1 1599 } 1600 json_name: "startedAt" 1601 } 1602 field { 1603 name: "updated_at" 1604 number: 3 1605 label: LABEL_OPTIONAL 1606 type: TYPE_MESSAGE 1607 type_name: ".google.protobuf.Timestamp" 1608 options { 1609 65001: 0 1610 65010: 1 1611 } 1612 json_name: "updatedAt" 1613 } 1614 field { 1615 name: "offset" 1616 number: 4 1617 label: LABEL_OPTIONAL 1618 type: TYPE_INT64 1619 json_name: "offset" 1620 } 1621 field { 1622 name: "total" 1623 number: 5 1624 label: LABEL_OPTIONAL 1625 type: TYPE_INT64 1626 json_name: "total" 1627 } 1628 field { 1629 name: "digest" 1630 number: 6 1631 label: LABEL_OPTIONAL 1632 type: TYPE_STRING 1633 options { 1634 65001: 0 1635 65003: "github.com/opencontainers/go-digest.Digest" 1636 } 1637 json_name: "digest" 1638 } 1639 } 1640 message_type { 1641 name: "AbortRequest" 1642 field { 1643 name: "ref" 1644 number: 1 1645 label: LABEL_OPTIONAL 1646 type: TYPE_STRING 1647 json_name: "ref" 1648 } 1649 } 1650 enum_type { 1651 name: "WriteAction" 1652 value { 1653 name: "STAT" 1654 number: 0 1655 options { 1656 66001: "WriteActionStat" 1657 } 1658 } 1659 value { 1660 name: "WRITE" 1661 number: 1 1662 options { 1663 66001: "WriteActionWrite" 1664 } 1665 } 1666 value { 1667 name: "COMMIT" 1668 number: 2 1669 options { 1670 66001: "WriteActionCommit" 1671 } 1672 } 1673 options { 1674 62001: 0 1675 62023: "WriteAction" 1676 } 1677 } 1678 service { 1679 name: "Content" 1680 method { 1681 name: "Info" 1682 input_type: ".containerd.services.content.v1.InfoRequest" 1683 output_type: ".containerd.services.content.v1.InfoResponse" 1684 } 1685 method { 1686 name: "Update" 1687 input_type: ".containerd.services.content.v1.UpdateRequest" 1688 output_type: ".containerd.services.content.v1.UpdateResponse" 1689 } 1690 method { 1691 name: "List" 1692 input_type: ".containerd.services.content.v1.ListContentRequest" 1693 output_type: ".containerd.services.content.v1.ListContentResponse" 1694 server_streaming: true 1695 } 1696 method { 1697 name: "Delete" 1698 input_type: ".containerd.services.content.v1.DeleteContentRequest" 1699 output_type: ".google.protobuf.Empty" 1700 } 1701 method { 1702 name: "Read" 1703 input_type: ".containerd.services.content.v1.ReadContentRequest" 1704 output_type: ".containerd.services.content.v1.ReadContentResponse" 1705 server_streaming: true 1706 } 1707 method { 1708 name: "Status" 1709 input_type: ".containerd.services.content.v1.StatusRequest" 1710 output_type: ".containerd.services.content.v1.StatusResponse" 1711 } 1712 method { 1713 name: "ListStatuses" 1714 input_type: ".containerd.services.content.v1.ListStatusesRequest" 1715 output_type: ".containerd.services.content.v1.ListStatusesResponse" 1716 } 1717 method { 1718 name: "Write" 1719 input_type: ".containerd.services.content.v1.WriteContentRequest" 1720 output_type: ".containerd.services.content.v1.WriteContentResponse" 1721 client_streaming: true 1722 server_streaming: true 1723 } 1724 method { 1725 name: "Abort" 1726 input_type: ".containerd.services.content.v1.AbortRequest" 1727 output_type: ".google.protobuf.Empty" 1728 } 1729 } 1730 options { 1731 go_package: "github.com/containerd/containerd/api/services/content/v1;content" 1732 } 1733 weak_dependency: 0 1734 syntax: "proto3" 1735 } 1736 file { 1737 name: "github.com/containerd/containerd/api/types/descriptor.proto" 1738 package: "containerd.types" 1739 dependency: "gogoproto/gogo.proto" 1740 message_type { 1741 name: "Descriptor" 1742 field { 1743 name: "media_type" 1744 number: 1 1745 label: LABEL_OPTIONAL 1746 type: TYPE_STRING 1747 json_name: "mediaType" 1748 } 1749 field { 1750 name: "digest" 1751 number: 2 1752 label: LABEL_OPTIONAL 1753 type: TYPE_STRING 1754 options { 1755 65001: 0 1756 65003: "github.com/opencontainers/go-digest.Digest" 1757 } 1758 json_name: "digest" 1759 } 1760 field { 1761 name: "size" 1762 number: 3 1763 label: LABEL_OPTIONAL 1764 type: TYPE_INT64 1765 json_name: "size" 1766 } 1767 } 1768 options { 1769 go_package: "github.com/containerd/containerd/api/types;types" 1770 } 1771 weak_dependency: 0 1772 syntax: "proto3" 1773 } 1774 file { 1775 name: "github.com/containerd/containerd/api/services/diff/v1/diff.proto" 1776 package: "containerd.services.diff.v1" 1777 dependency: "gogoproto/gogo.proto" 1778 dependency: "github.com/containerd/containerd/api/types/mount.proto" 1779 dependency: "github.com/containerd/containerd/api/types/descriptor.proto" 1780 message_type { 1781 name: "ApplyRequest" 1782 field { 1783 name: "diff" 1784 number: 1 1785 label: LABEL_OPTIONAL 1786 type: TYPE_MESSAGE 1787 type_name: ".containerd.types.Descriptor" 1788 json_name: "diff" 1789 } 1790 field { 1791 name: "mounts" 1792 number: 2 1793 label: LABEL_REPEATED 1794 type: TYPE_MESSAGE 1795 type_name: ".containerd.types.Mount" 1796 json_name: "mounts" 1797 } 1798 } 1799 message_type { 1800 name: "ApplyResponse" 1801 field { 1802 name: "applied" 1803 number: 1 1804 label: LABEL_OPTIONAL 1805 type: TYPE_MESSAGE 1806 type_name: ".containerd.types.Descriptor" 1807 json_name: "applied" 1808 } 1809 } 1810 message_type { 1811 name: "DiffRequest" 1812 field { 1813 name: "left" 1814 number: 1 1815 label: LABEL_REPEATED 1816 type: TYPE_MESSAGE 1817 type_name: ".containerd.types.Mount" 1818 json_name: "left" 1819 } 1820 field { 1821 name: "right" 1822 number: 2 1823 label: LABEL_REPEATED 1824 type: TYPE_MESSAGE 1825 type_name: ".containerd.types.Mount" 1826 json_name: "right" 1827 } 1828 field { 1829 name: "media_type" 1830 number: 3 1831 label: LABEL_OPTIONAL 1832 type: TYPE_STRING 1833 json_name: "mediaType" 1834 } 1835 field { 1836 name: "ref" 1837 number: 4 1838 label: LABEL_OPTIONAL 1839 type: TYPE_STRING 1840 json_name: "ref" 1841 } 1842 field { 1843 name: "labels" 1844 number: 5 1845 label: LABEL_REPEATED 1846 type: TYPE_MESSAGE 1847 type_name: ".containerd.services.diff.v1.DiffRequest.LabelsEntry" 1848 json_name: "labels" 1849 } 1850 nested_type { 1851 name: "LabelsEntry" 1852 field { 1853 name: "key" 1854 number: 1 1855 label: LABEL_OPTIONAL 1856 type: TYPE_STRING 1857 json_name: "key" 1858 } 1859 field { 1860 name: "value" 1861 number: 2 1862 label: LABEL_OPTIONAL 1863 type: TYPE_STRING 1864 json_name: "value" 1865 } 1866 options { 1867 map_entry: true 1868 } 1869 } 1870 } 1871 message_type { 1872 name: "DiffResponse" 1873 field { 1874 name: "diff" 1875 number: 3 1876 label: LABEL_OPTIONAL 1877 type: TYPE_MESSAGE 1878 type_name: ".containerd.types.Descriptor" 1879 json_name: "diff" 1880 } 1881 } 1882 service { 1883 name: "Diff" 1884 method { 1885 name: "Apply" 1886 input_type: ".containerd.services.diff.v1.ApplyRequest" 1887 output_type: ".containerd.services.diff.v1.ApplyResponse" 1888 } 1889 method { 1890 name: "Diff" 1891 input_type: ".containerd.services.diff.v1.DiffRequest" 1892 output_type: ".containerd.services.diff.v1.DiffResponse" 1893 } 1894 } 1895 options { 1896 go_package: "github.com/containerd/containerd/api/services/diff/v1;diff" 1897 } 1898 weak_dependency: 0 1899 syntax: "proto3" 1900 } 1901 file { 1902 name: "github.com/containerd/containerd/api/services/events/v1/events.proto" 1903 package: "containerd.services.events.v1" 1904 dependency: "github.com/containerd/containerd/protobuf/plugin/fieldpath.proto" 1905 dependency: "gogoproto/gogo.proto" 1906 dependency: "google/protobuf/any.proto" 1907 dependency: "google/protobuf/empty.proto" 1908 dependency: "google/protobuf/timestamp.proto" 1909 message_type { 1910 name: "PublishRequest" 1911 field { 1912 name: "topic" 1913 number: 1 1914 label: LABEL_OPTIONAL 1915 type: TYPE_STRING 1916 json_name: "topic" 1917 } 1918 field { 1919 name: "event" 1920 number: 2 1921 label: LABEL_OPTIONAL 1922 type: TYPE_MESSAGE 1923 type_name: ".google.protobuf.Any" 1924 json_name: "event" 1925 } 1926 } 1927 message_type { 1928 name: "ForwardRequest" 1929 field { 1930 name: "envelope" 1931 number: 1 1932 label: LABEL_OPTIONAL 1933 type: TYPE_MESSAGE 1934 type_name: ".containerd.services.events.v1.Envelope" 1935 json_name: "envelope" 1936 } 1937 } 1938 message_type { 1939 name: "SubscribeRequest" 1940 field { 1941 name: "filters" 1942 number: 1 1943 label: LABEL_REPEATED 1944 type: TYPE_STRING 1945 json_name: "filters" 1946 } 1947 } 1948 message_type { 1949 name: "Envelope" 1950 field { 1951 name: "timestamp" 1952 number: 1 1953 label: LABEL_OPTIONAL 1954 type: TYPE_MESSAGE 1955 type_name: ".google.protobuf.Timestamp" 1956 options { 1957 65001: 0 1958 65010: 1 1959 } 1960 json_name: "timestamp" 1961 } 1962 field { 1963 name: "namespace" 1964 number: 2 1965 label: LABEL_OPTIONAL 1966 type: TYPE_STRING 1967 json_name: "namespace" 1968 } 1969 field { 1970 name: "topic" 1971 number: 3 1972 label: LABEL_OPTIONAL 1973 type: TYPE_STRING 1974 json_name: "topic" 1975 } 1976 field { 1977 name: "event" 1978 number: 4 1979 label: LABEL_OPTIONAL 1980 type: TYPE_MESSAGE 1981 type_name: ".google.protobuf.Any" 1982 json_name: "event" 1983 } 1984 options { 1985 64400: 1 1986 } 1987 } 1988 service { 1989 name: "Events" 1990 method { 1991 name: "Publish" 1992 input_type: ".containerd.services.events.v1.PublishRequest" 1993 output_type: ".google.protobuf.Empty" 1994 } 1995 method { 1996 name: "Forward" 1997 input_type: ".containerd.services.events.v1.ForwardRequest" 1998 output_type: ".google.protobuf.Empty" 1999 } 2000 method { 2001 name: "Subscribe" 2002 input_type: ".containerd.services.events.v1.SubscribeRequest" 2003 output_type: ".containerd.services.events.v1.Envelope" 2004 server_streaming: true 2005 } 2006 } 2007 options { 2008 go_package: "github.com/containerd/containerd/api/services/events/v1;events" 2009 } 2010 weak_dependency: 0 2011 weak_dependency: 1 2012 syntax: "proto3" 2013 } 2014 file { 2015 name: "github.com/containerd/containerd/api/services/images/v1/images.proto" 2016 package: "containerd.services.images.v1" 2017 dependency: "gogoproto/gogo.proto" 2018 dependency: "google/protobuf/empty.proto" 2019 dependency: "google/protobuf/field_mask.proto" 2020 dependency: "google/protobuf/timestamp.proto" 2021 dependency: "github.com/containerd/containerd/api/types/descriptor.proto" 2022 message_type { 2023 name: "Image" 2024 field { 2025 name: "name" 2026 number: 1 2027 label: LABEL_OPTIONAL 2028 type: TYPE_STRING 2029 json_name: "name" 2030 } 2031 field { 2032 name: "labels" 2033 number: 2 2034 label: LABEL_REPEATED 2035 type: TYPE_MESSAGE 2036 type_name: ".containerd.services.images.v1.Image.LabelsEntry" 2037 json_name: "labels" 2038 } 2039 field { 2040 name: "target" 2041 number: 3 2042 label: LABEL_OPTIONAL 2043 type: TYPE_MESSAGE 2044 type_name: ".containerd.types.Descriptor" 2045 options { 2046 65001: 0 2047 } 2048 json_name: "target" 2049 } 2050 field { 2051 name: "created_at" 2052 number: 7 2053 label: LABEL_OPTIONAL 2054 type: TYPE_MESSAGE 2055 type_name: ".google.protobuf.Timestamp" 2056 options { 2057 65001: 0 2058 65010: 1 2059 } 2060 json_name: "createdAt" 2061 } 2062 field { 2063 name: "updated_at" 2064 number: 8 2065 label: LABEL_OPTIONAL 2066 type: TYPE_MESSAGE 2067 type_name: ".google.protobuf.Timestamp" 2068 options { 2069 65001: 0 2070 65010: 1 2071 } 2072 json_name: "updatedAt" 2073 } 2074 nested_type { 2075 name: "LabelsEntry" 2076 field { 2077 name: "key" 2078 number: 1 2079 label: LABEL_OPTIONAL 2080 type: TYPE_STRING 2081 json_name: "key" 2082 } 2083 field { 2084 name: "value" 2085 number: 2 2086 label: LABEL_OPTIONAL 2087 type: TYPE_STRING 2088 json_name: "value" 2089 } 2090 options { 2091 map_entry: true 2092 } 2093 } 2094 } 2095 message_type { 2096 name: "GetImageRequest" 2097 field { 2098 name: "name" 2099 number: 1 2100 label: LABEL_OPTIONAL 2101 type: TYPE_STRING 2102 json_name: "name" 2103 } 2104 } 2105 message_type { 2106 name: "GetImageResponse" 2107 field { 2108 name: "image" 2109 number: 1 2110 label: LABEL_OPTIONAL 2111 type: TYPE_MESSAGE 2112 type_name: ".containerd.services.images.v1.Image" 2113 json_name: "image" 2114 } 2115 } 2116 message_type { 2117 name: "CreateImageRequest" 2118 field { 2119 name: "image" 2120 number: 1 2121 label: LABEL_OPTIONAL 2122 type: TYPE_MESSAGE 2123 type_name: ".containerd.services.images.v1.Image" 2124 options { 2125 65001: 0 2126 } 2127 json_name: "image" 2128 } 2129 } 2130 message_type { 2131 name: "CreateImageResponse" 2132 field { 2133 name: "image" 2134 number: 1 2135 label: LABEL_OPTIONAL 2136 type: TYPE_MESSAGE 2137 type_name: ".containerd.services.images.v1.Image" 2138 options { 2139 65001: 0 2140 } 2141 json_name: "image" 2142 } 2143 } 2144 message_type { 2145 name: "UpdateImageRequest" 2146 field { 2147 name: "image" 2148 number: 1 2149 label: LABEL_OPTIONAL 2150 type: TYPE_MESSAGE 2151 type_name: ".containerd.services.images.v1.Image" 2152 options { 2153 65001: 0 2154 } 2155 json_name: "image" 2156 } 2157 field { 2158 name: "update_mask" 2159 number: 2 2160 label: LABEL_OPTIONAL 2161 type: TYPE_MESSAGE 2162 type_name: ".google.protobuf.FieldMask" 2163 json_name: "updateMask" 2164 } 2165 } 2166 message_type { 2167 name: "UpdateImageResponse" 2168 field { 2169 name: "image" 2170 number: 1 2171 label: LABEL_OPTIONAL 2172 type: TYPE_MESSAGE 2173 type_name: ".containerd.services.images.v1.Image" 2174 options { 2175 65001: 0 2176 } 2177 json_name: "image" 2178 } 2179 } 2180 message_type { 2181 name: "ListImagesRequest" 2182 field { 2183 name: "filters" 2184 number: 1 2185 label: LABEL_REPEATED 2186 type: TYPE_STRING 2187 json_name: "filters" 2188 } 2189 } 2190 message_type { 2191 name: "ListImagesResponse" 2192 field { 2193 name: "images" 2194 number: 1 2195 label: LABEL_REPEATED 2196 type: TYPE_MESSAGE 2197 type_name: ".containerd.services.images.v1.Image" 2198 options { 2199 65001: 0 2200 } 2201 json_name: "images" 2202 } 2203 } 2204 message_type { 2205 name: "DeleteImageRequest" 2206 field { 2207 name: "name" 2208 number: 1 2209 label: LABEL_OPTIONAL 2210 type: TYPE_STRING 2211 json_name: "name" 2212 } 2213 field { 2214 name: "sync" 2215 number: 2 2216 label: LABEL_OPTIONAL 2217 type: TYPE_BOOL 2218 json_name: "sync" 2219 } 2220 } 2221 service { 2222 name: "Images" 2223 method { 2224 name: "Get" 2225 input_type: ".containerd.services.images.v1.GetImageRequest" 2226 output_type: ".containerd.services.images.v1.GetImageResponse" 2227 } 2228 method { 2229 name: "List" 2230 input_type: ".containerd.services.images.v1.ListImagesRequest" 2231 output_type: ".containerd.services.images.v1.ListImagesResponse" 2232 } 2233 method { 2234 name: "Create" 2235 input_type: ".containerd.services.images.v1.CreateImageRequest" 2236 output_type: ".containerd.services.images.v1.CreateImageResponse" 2237 } 2238 method { 2239 name: "Update" 2240 input_type: ".containerd.services.images.v1.UpdateImageRequest" 2241 output_type: ".containerd.services.images.v1.UpdateImageResponse" 2242 } 2243 method { 2244 name: "Delete" 2245 input_type: ".containerd.services.images.v1.DeleteImageRequest" 2246 output_type: ".google.protobuf.Empty" 2247 } 2248 } 2249 options { 2250 go_package: "github.com/containerd/containerd/api/services/images/v1;images" 2251 } 2252 weak_dependency: 0 2253 syntax: "proto3" 2254 } 2255 file { 2256 name: "github.com/containerd/containerd/api/types/platform.proto" 2257 package: "containerd.types" 2258 dependency: "gogoproto/gogo.proto" 2259 message_type { 2260 name: "Platform" 2261 field { 2262 name: "os" 2263 number: 1 2264 label: LABEL_OPTIONAL 2265 type: TYPE_STRING 2266 options { 2267 65004: "OS" 2268 } 2269 json_name: "os" 2270 } 2271 field { 2272 name: "architecture" 2273 number: 2 2274 label: LABEL_OPTIONAL 2275 type: TYPE_STRING 2276 json_name: "architecture" 2277 } 2278 field { 2279 name: "variant" 2280 number: 3 2281 label: LABEL_OPTIONAL 2282 type: TYPE_STRING 2283 json_name: "variant" 2284 } 2285 } 2286 options { 2287 go_package: "github.com/containerd/containerd/api/types;types" 2288 } 2289 weak_dependency: 0 2290 syntax: "proto3" 2291 } 2292 file { 2293 name: "google/rpc/status.proto" 2294 package: "google.rpc" 2295 dependency: "google/protobuf/any.proto" 2296 message_type { 2297 name: "Status" 2298 field { 2299 name: "code" 2300 number: 1 2301 label: LABEL_OPTIONAL 2302 type: TYPE_INT32 2303 json_name: "code" 2304 } 2305 field { 2306 name: "message" 2307 number: 2 2308 label: LABEL_OPTIONAL 2309 type: TYPE_STRING 2310 json_name: "message" 2311 } 2312 field { 2313 name: "details" 2314 number: 3 2315 label: LABEL_REPEATED 2316 type: TYPE_MESSAGE 2317 type_name: ".google.protobuf.Any" 2318 json_name: "details" 2319 } 2320 } 2321 options { 2322 java_package: "com.google.rpc" 2323 java_outer_classname: "StatusProto" 2324 java_multiple_files: true 2325 go_package: "rpc" 2326 objc_class_prefix: "RPC" 2327 } 2328 syntax: "proto3" 2329 } 2330 file { 2331 name: "github.com/containerd/containerd/api/services/introspection/v1/introspection.proto" 2332 package: "containerd.services.introspection.v1" 2333 dependency: "github.com/containerd/containerd/api/types/platform.proto" 2334 dependency: "google/rpc/status.proto" 2335 dependency: "gogoproto/gogo.proto" 2336 message_type { 2337 name: "Plugin" 2338 field { 2339 name: "type" 2340 number: 1 2341 label: LABEL_OPTIONAL 2342 type: TYPE_STRING 2343 json_name: "type" 2344 } 2345 field { 2346 name: "id" 2347 number: 2 2348 label: LABEL_OPTIONAL 2349 type: TYPE_STRING 2350 json_name: "id" 2351 } 2352 field { 2353 name: "requires" 2354 number: 3 2355 label: LABEL_REPEATED 2356 type: TYPE_STRING 2357 json_name: "requires" 2358 } 2359 field { 2360 name: "platforms" 2361 number: 4 2362 label: LABEL_REPEATED 2363 type: TYPE_MESSAGE 2364 type_name: ".containerd.types.Platform" 2365 options { 2366 65001: 0 2367 } 2368 json_name: "platforms" 2369 } 2370 field { 2371 name: "exports" 2372 number: 5 2373 label: LABEL_REPEATED 2374 type: TYPE_MESSAGE 2375 type_name: ".containerd.services.introspection.v1.Plugin.ExportsEntry" 2376 json_name: "exports" 2377 } 2378 field { 2379 name: "capabilities" 2380 number: 6 2381 label: LABEL_REPEATED 2382 type: TYPE_STRING 2383 json_name: "capabilities" 2384 } 2385 field { 2386 name: "init_err" 2387 number: 7 2388 label: LABEL_OPTIONAL 2389 type: TYPE_MESSAGE 2390 type_name: ".google.rpc.Status" 2391 json_name: "initErr" 2392 } 2393 nested_type { 2394 name: "ExportsEntry" 2395 field { 2396 name: "key" 2397 number: 1 2398 label: LABEL_OPTIONAL 2399 type: TYPE_STRING 2400 json_name: "key" 2401 } 2402 field { 2403 name: "value" 2404 number: 2 2405 label: LABEL_OPTIONAL 2406 type: TYPE_STRING 2407 json_name: "value" 2408 } 2409 options { 2410 map_entry: true 2411 } 2412 } 2413 } 2414 message_type { 2415 name: "PluginsRequest" 2416 field { 2417 name: "filters" 2418 number: 1 2419 label: LABEL_REPEATED 2420 type: TYPE_STRING 2421 json_name: "filters" 2422 } 2423 } 2424 message_type { 2425 name: "PluginsResponse" 2426 field { 2427 name: "plugins" 2428 number: 1 2429 label: LABEL_REPEATED 2430 type: TYPE_MESSAGE 2431 type_name: ".containerd.services.introspection.v1.Plugin" 2432 options { 2433 65001: 0 2434 } 2435 json_name: "plugins" 2436 } 2437 } 2438 service { 2439 name: "Introspection" 2440 method { 2441 name: "Plugins" 2442 input_type: ".containerd.services.introspection.v1.PluginsRequest" 2443 output_type: ".containerd.services.introspection.v1.PluginsResponse" 2444 } 2445 } 2446 options { 2447 go_package: "github.com/containerd/containerd/api/services/introspection/v1;introspection" 2448 } 2449 weak_dependency: 2 2450 syntax: "proto3" 2451 } 2452 file { 2453 name: "github.com/containerd/containerd/api/services/leases/v1/leases.proto" 2454 package: "containerd.services.leases.v1" 2455 dependency: "gogoproto/gogo.proto" 2456 dependency: "google/protobuf/empty.proto" 2457 dependency: "google/protobuf/timestamp.proto" 2458 message_type { 2459 name: "Lease" 2460 field { 2461 name: "id" 2462 number: 1 2463 label: LABEL_OPTIONAL 2464 type: TYPE_STRING 2465 json_name: "id" 2466 } 2467 field { 2468 name: "created_at" 2469 number: 2 2470 label: LABEL_OPTIONAL 2471 type: TYPE_MESSAGE 2472 type_name: ".google.protobuf.Timestamp" 2473 options { 2474 65001: 0 2475 65010: 1 2476 } 2477 json_name: "createdAt" 2478 } 2479 field { 2480 name: "labels" 2481 number: 3 2482 label: LABEL_REPEATED 2483 type: TYPE_MESSAGE 2484 type_name: ".containerd.services.leases.v1.Lease.LabelsEntry" 2485 json_name: "labels" 2486 } 2487 nested_type { 2488 name: "LabelsEntry" 2489 field { 2490 name: "key" 2491 number: 1 2492 label: LABEL_OPTIONAL 2493 type: TYPE_STRING 2494 json_name: "key" 2495 } 2496 field { 2497 name: "value" 2498 number: 2 2499 label: LABEL_OPTIONAL 2500 type: TYPE_STRING 2501 json_name: "value" 2502 } 2503 options { 2504 map_entry: true 2505 } 2506 } 2507 } 2508 message_type { 2509 name: "CreateRequest" 2510 field { 2511 name: "id" 2512 number: 1 2513 label: LABEL_OPTIONAL 2514 type: TYPE_STRING 2515 json_name: "id" 2516 } 2517 field { 2518 name: "labels" 2519 number: 3 2520 label: LABEL_REPEATED 2521 type: TYPE_MESSAGE 2522 type_name: ".containerd.services.leases.v1.CreateRequest.LabelsEntry" 2523 json_name: "labels" 2524 } 2525 nested_type { 2526 name: "LabelsEntry" 2527 field { 2528 name: "key" 2529 number: 1 2530 label: LABEL_OPTIONAL 2531 type: TYPE_STRING 2532 json_name: "key" 2533 } 2534 field { 2535 name: "value" 2536 number: 2 2537 label: LABEL_OPTIONAL 2538 type: TYPE_STRING 2539 json_name: "value" 2540 } 2541 options { 2542 map_entry: true 2543 } 2544 } 2545 } 2546 message_type { 2547 name: "CreateResponse" 2548 field { 2549 name: "lease" 2550 number: 1 2551 label: LABEL_OPTIONAL 2552 type: TYPE_MESSAGE 2553 type_name: ".containerd.services.leases.v1.Lease" 2554 json_name: "lease" 2555 } 2556 } 2557 message_type { 2558 name: "DeleteRequest" 2559 field { 2560 name: "id" 2561 number: 1 2562 label: LABEL_OPTIONAL 2563 type: TYPE_STRING 2564 json_name: "id" 2565 } 2566 field { 2567 name: "sync" 2568 number: 2 2569 label: LABEL_OPTIONAL 2570 type: TYPE_BOOL 2571 json_name: "sync" 2572 } 2573 } 2574 message_type { 2575 name: "ListRequest" 2576 field { 2577 name: "filters" 2578 number: 1 2579 label: LABEL_REPEATED 2580 type: TYPE_STRING 2581 json_name: "filters" 2582 } 2583 } 2584 message_type { 2585 name: "ListResponse" 2586 field { 2587 name: "leases" 2588 number: 1 2589 label: LABEL_REPEATED 2590 type: TYPE_MESSAGE 2591 type_name: ".containerd.services.leases.v1.Lease" 2592 json_name: "leases" 2593 } 2594 } 2595 service { 2596 name: "Leases" 2597 method { 2598 name: "Create" 2599 input_type: ".containerd.services.leases.v1.CreateRequest" 2600 output_type: ".containerd.services.leases.v1.CreateResponse" 2601 } 2602 method { 2603 name: "Delete" 2604 input_type: ".containerd.services.leases.v1.DeleteRequest" 2605 output_type: ".google.protobuf.Empty" 2606 } 2607 method { 2608 name: "List" 2609 input_type: ".containerd.services.leases.v1.ListRequest" 2610 output_type: ".containerd.services.leases.v1.ListResponse" 2611 } 2612 } 2613 options { 2614 go_package: "github.com/containerd/containerd/api/services/leases/v1;leases" 2615 } 2616 weak_dependency: 0 2617 syntax: "proto3" 2618 } 2619 file { 2620 name: "github.com/containerd/containerd/api/services/namespaces/v1/namespace.proto" 2621 package: "containerd.services.namespaces.v1" 2622 dependency: "gogoproto/gogo.proto" 2623 dependency: "google/protobuf/empty.proto" 2624 dependency: "google/protobuf/field_mask.proto" 2625 message_type { 2626 name: "Namespace" 2627 field { 2628 name: "name" 2629 number: 1 2630 label: LABEL_OPTIONAL 2631 type: TYPE_STRING 2632 json_name: "name" 2633 } 2634 field { 2635 name: "labels" 2636 number: 2 2637 label: LABEL_REPEATED 2638 type: TYPE_MESSAGE 2639 type_name: ".containerd.services.namespaces.v1.Namespace.LabelsEntry" 2640 json_name: "labels" 2641 } 2642 nested_type { 2643 name: "LabelsEntry" 2644 field { 2645 name: "key" 2646 number: 1 2647 label: LABEL_OPTIONAL 2648 type: TYPE_STRING 2649 json_name: "key" 2650 } 2651 field { 2652 name: "value" 2653 number: 2 2654 label: LABEL_OPTIONAL 2655 type: TYPE_STRING 2656 json_name: "value" 2657 } 2658 options { 2659 map_entry: true 2660 } 2661 } 2662 } 2663 message_type { 2664 name: "GetNamespaceRequest" 2665 field { 2666 name: "name" 2667 number: 1 2668 label: LABEL_OPTIONAL 2669 type: TYPE_STRING 2670 json_name: "name" 2671 } 2672 } 2673 message_type { 2674 name: "GetNamespaceResponse" 2675 field { 2676 name: "namespace" 2677 number: 1 2678 label: LABEL_OPTIONAL 2679 type: TYPE_MESSAGE 2680 type_name: ".containerd.services.namespaces.v1.Namespace" 2681 options { 2682 65001: 0 2683 } 2684 json_name: "namespace" 2685 } 2686 } 2687 message_type { 2688 name: "ListNamespacesRequest" 2689 field { 2690 name: "filter" 2691 number: 1 2692 label: LABEL_OPTIONAL 2693 type: TYPE_STRING 2694 json_name: "filter" 2695 } 2696 } 2697 message_type { 2698 name: "ListNamespacesResponse" 2699 field { 2700 name: "namespaces" 2701 number: 1 2702 label: LABEL_REPEATED 2703 type: TYPE_MESSAGE 2704 type_name: ".containerd.services.namespaces.v1.Namespace" 2705 options { 2706 65001: 0 2707 } 2708 json_name: "namespaces" 2709 } 2710 } 2711 message_type { 2712 name: "CreateNamespaceRequest" 2713 field { 2714 name: "namespace" 2715 number: 1 2716 label: LABEL_OPTIONAL 2717 type: TYPE_MESSAGE 2718 type_name: ".containerd.services.namespaces.v1.Namespace" 2719 options { 2720 65001: 0 2721 } 2722 json_name: "namespace" 2723 } 2724 } 2725 message_type { 2726 name: "CreateNamespaceResponse" 2727 field { 2728 name: "namespace" 2729 number: 1 2730 label: LABEL_OPTIONAL 2731 type: TYPE_MESSAGE 2732 type_name: ".containerd.services.namespaces.v1.Namespace" 2733 options { 2734 65001: 0 2735 } 2736 json_name: "namespace" 2737 } 2738 } 2739 message_type { 2740 name: "UpdateNamespaceRequest" 2741 field { 2742 name: "namespace" 2743 number: 1 2744 label: LABEL_OPTIONAL 2745 type: TYPE_MESSAGE 2746 type_name: ".containerd.services.namespaces.v1.Namespace" 2747 options { 2748 65001: 0 2749 } 2750 json_name: "namespace" 2751 } 2752 field { 2753 name: "update_mask" 2754 number: 2 2755 label: LABEL_OPTIONAL 2756 type: TYPE_MESSAGE 2757 type_name: ".google.protobuf.FieldMask" 2758 json_name: "updateMask" 2759 } 2760 } 2761 message_type { 2762 name: "UpdateNamespaceResponse" 2763 field { 2764 name: "namespace" 2765 number: 1 2766 label: LABEL_OPTIONAL 2767 type: TYPE_MESSAGE 2768 type_name: ".containerd.services.namespaces.v1.Namespace" 2769 options { 2770 65001: 0 2771 } 2772 json_name: "namespace" 2773 } 2774 } 2775 message_type { 2776 name: "DeleteNamespaceRequest" 2777 field { 2778 name: "name" 2779 number: 1 2780 label: LABEL_OPTIONAL 2781 type: TYPE_STRING 2782 json_name: "name" 2783 } 2784 } 2785 service { 2786 name: "Namespaces" 2787 method { 2788 name: "Get" 2789 input_type: ".containerd.services.namespaces.v1.GetNamespaceRequest" 2790 output_type: ".containerd.services.namespaces.v1.GetNamespaceResponse" 2791 } 2792 method { 2793 name: "List" 2794 input_type: ".containerd.services.namespaces.v1.ListNamespacesRequest" 2795 output_type: ".containerd.services.namespaces.v1.ListNamespacesResponse" 2796 } 2797 method { 2798 name: "Create" 2799 input_type: ".containerd.services.namespaces.v1.CreateNamespaceRequest" 2800 output_type: ".containerd.services.namespaces.v1.CreateNamespaceResponse" 2801 } 2802 method { 2803 name: "Update" 2804 input_type: ".containerd.services.namespaces.v1.UpdateNamespaceRequest" 2805 output_type: ".containerd.services.namespaces.v1.UpdateNamespaceResponse" 2806 } 2807 method { 2808 name: "Delete" 2809 input_type: ".containerd.services.namespaces.v1.DeleteNamespaceRequest" 2810 output_type: ".google.protobuf.Empty" 2811 } 2812 } 2813 options { 2814 go_package: "github.com/containerd/containerd/api/services/namespaces/v1;namespaces" 2815 } 2816 weak_dependency: 0 2817 syntax: "proto3" 2818 } 2819 file { 2820 name: "github.com/containerd/containerd/api/services/snapshots/v1/snapshots.proto" 2821 package: "containerd.services.snapshots.v1" 2822 dependency: "gogoproto/gogo.proto" 2823 dependency: "google/protobuf/empty.proto" 2824 dependency: "google/protobuf/field_mask.proto" 2825 dependency: "google/protobuf/timestamp.proto" 2826 dependency: "github.com/containerd/containerd/api/types/mount.proto" 2827 message_type { 2828 name: "PrepareSnapshotRequest" 2829 field { 2830 name: "snapshotter" 2831 number: 1 2832 label: LABEL_OPTIONAL 2833 type: TYPE_STRING 2834 json_name: "snapshotter" 2835 } 2836 field { 2837 name: "key" 2838 number: 2 2839 label: LABEL_OPTIONAL 2840 type: TYPE_STRING 2841 json_name: "key" 2842 } 2843 field { 2844 name: "parent" 2845 number: 3 2846 label: LABEL_OPTIONAL 2847 type: TYPE_STRING 2848 json_name: "parent" 2849 } 2850 field { 2851 name: "labels" 2852 number: 4 2853 label: LABEL_REPEATED 2854 type: TYPE_MESSAGE 2855 type_name: ".containerd.services.snapshots.v1.PrepareSnapshotRequest.LabelsEntry" 2856 json_name: "labels" 2857 } 2858 nested_type { 2859 name: "LabelsEntry" 2860 field { 2861 name: "key" 2862 number: 1 2863 label: LABEL_OPTIONAL 2864 type: TYPE_STRING 2865 json_name: "key" 2866 } 2867 field { 2868 name: "value" 2869 number: 2 2870 label: LABEL_OPTIONAL 2871 type: TYPE_STRING 2872 json_name: "value" 2873 } 2874 options { 2875 map_entry: true 2876 } 2877 } 2878 } 2879 message_type { 2880 name: "PrepareSnapshotResponse" 2881 field { 2882 name: "mounts" 2883 number: 1 2884 label: LABEL_REPEATED 2885 type: TYPE_MESSAGE 2886 type_name: ".containerd.types.Mount" 2887 json_name: "mounts" 2888 } 2889 } 2890 message_type { 2891 name: "ViewSnapshotRequest" 2892 field { 2893 name: "snapshotter" 2894 number: 1 2895 label: LABEL_OPTIONAL 2896 type: TYPE_STRING 2897 json_name: "snapshotter" 2898 } 2899 field { 2900 name: "key" 2901 number: 2 2902 label: LABEL_OPTIONAL 2903 type: TYPE_STRING 2904 json_name: "key" 2905 } 2906 field { 2907 name: "parent" 2908 number: 3 2909 label: LABEL_OPTIONAL 2910 type: TYPE_STRING 2911 json_name: "parent" 2912 } 2913 field { 2914 name: "labels" 2915 number: 4 2916 label: LABEL_REPEATED 2917 type: TYPE_MESSAGE 2918 type_name: ".containerd.services.snapshots.v1.ViewSnapshotRequest.LabelsEntry" 2919 json_name: "labels" 2920 } 2921 nested_type { 2922 name: "LabelsEntry" 2923 field { 2924 name: "key" 2925 number: 1 2926 label: LABEL_OPTIONAL 2927 type: TYPE_STRING 2928 json_name: "key" 2929 } 2930 field { 2931 name: "value" 2932 number: 2 2933 label: LABEL_OPTIONAL 2934 type: TYPE_STRING 2935 json_name: "value" 2936 } 2937 options { 2938 map_entry: true 2939 } 2940 } 2941 } 2942 message_type { 2943 name: "ViewSnapshotResponse" 2944 field { 2945 name: "mounts" 2946 number: 1 2947 label: LABEL_REPEATED 2948 type: TYPE_MESSAGE 2949 type_name: ".containerd.types.Mount" 2950 json_name: "mounts" 2951 } 2952 } 2953 message_type { 2954 name: "MountsRequest" 2955 field { 2956 name: "snapshotter" 2957 number: 1 2958 label: LABEL_OPTIONAL 2959 type: TYPE_STRING 2960 json_name: "snapshotter" 2961 } 2962 field { 2963 name: "key" 2964 number: 2 2965 label: LABEL_OPTIONAL 2966 type: TYPE_STRING 2967 json_name: "key" 2968 } 2969 } 2970 message_type { 2971 name: "MountsResponse" 2972 field { 2973 name: "mounts" 2974 number: 1 2975 label: LABEL_REPEATED 2976 type: TYPE_MESSAGE 2977 type_name: ".containerd.types.Mount" 2978 json_name: "mounts" 2979 } 2980 } 2981 message_type { 2982 name: "RemoveSnapshotRequest" 2983 field { 2984 name: "snapshotter" 2985 number: 1 2986 label: LABEL_OPTIONAL 2987 type: TYPE_STRING 2988 json_name: "snapshotter" 2989 } 2990 field { 2991 name: "key" 2992 number: 2 2993 label: LABEL_OPTIONAL 2994 type: TYPE_STRING 2995 json_name: "key" 2996 } 2997 } 2998 message_type { 2999 name: "CommitSnapshotRequest" 3000 field { 3001 name: "snapshotter" 3002 number: 1 3003 label: LABEL_OPTIONAL 3004 type: TYPE_STRING 3005 json_name: "snapshotter" 3006 } 3007 field { 3008 name: "name" 3009 number: 2 3010 label: LABEL_OPTIONAL 3011 type: TYPE_STRING 3012 json_name: "name" 3013 } 3014 field { 3015 name: "key" 3016 number: 3 3017 label: LABEL_OPTIONAL 3018 type: TYPE_STRING 3019 json_name: "key" 3020 } 3021 field { 3022 name: "labels" 3023 number: 4 3024 label: LABEL_REPEATED 3025 type: TYPE_MESSAGE 3026 type_name: ".containerd.services.snapshots.v1.CommitSnapshotRequest.LabelsEntry" 3027 json_name: "labels" 3028 } 3029 nested_type { 3030 name: "LabelsEntry" 3031 field { 3032 name: "key" 3033 number: 1 3034 label: LABEL_OPTIONAL 3035 type: TYPE_STRING 3036 json_name: "key" 3037 } 3038 field { 3039 name: "value" 3040 number: 2 3041 label: LABEL_OPTIONAL 3042 type: TYPE_STRING 3043 json_name: "value" 3044 } 3045 options { 3046 map_entry: true 3047 } 3048 } 3049 } 3050 message_type { 3051 name: "StatSnapshotRequest" 3052 field { 3053 name: "snapshotter" 3054 number: 1 3055 label: LABEL_OPTIONAL 3056 type: TYPE_STRING 3057 json_name: "snapshotter" 3058 } 3059 field { 3060 name: "key" 3061 number: 2 3062 label: LABEL_OPTIONAL 3063 type: TYPE_STRING 3064 json_name: "key" 3065 } 3066 } 3067 message_type { 3068 name: "Info" 3069 field { 3070 name: "name" 3071 number: 1 3072 label: LABEL_OPTIONAL 3073 type: TYPE_STRING 3074 json_name: "name" 3075 } 3076 field { 3077 name: "parent" 3078 number: 2 3079 label: LABEL_OPTIONAL 3080 type: TYPE_STRING 3081 json_name: "parent" 3082 } 3083 field { 3084 name: "kind" 3085 number: 3 3086 label: LABEL_OPTIONAL 3087 type: TYPE_ENUM 3088 type_name: ".containerd.services.snapshots.v1.Kind" 3089 json_name: "kind" 3090 } 3091 field { 3092 name: "created_at" 3093 number: 4 3094 label: LABEL_OPTIONAL 3095 type: TYPE_MESSAGE 3096 type_name: ".google.protobuf.Timestamp" 3097 options { 3098 65001: 0 3099 65010: 1 3100 } 3101 json_name: "createdAt" 3102 } 3103 field { 3104 name: "updated_at" 3105 number: 5 3106 label: LABEL_OPTIONAL 3107 type: TYPE_MESSAGE 3108 type_name: ".google.protobuf.Timestamp" 3109 options { 3110 65001: 0 3111 65010: 1 3112 } 3113 json_name: "updatedAt" 3114 } 3115 field { 3116 name: "labels" 3117 number: 6 3118 label: LABEL_REPEATED 3119 type: TYPE_MESSAGE 3120 type_name: ".containerd.services.snapshots.v1.Info.LabelsEntry" 3121 json_name: "labels" 3122 } 3123 nested_type { 3124 name: "LabelsEntry" 3125 field { 3126 name: "key" 3127 number: 1 3128 label: LABEL_OPTIONAL 3129 type: TYPE_STRING 3130 json_name: "key" 3131 } 3132 field { 3133 name: "value" 3134 number: 2 3135 label: LABEL_OPTIONAL 3136 type: TYPE_STRING 3137 json_name: "value" 3138 } 3139 options { 3140 map_entry: true 3141 } 3142 } 3143 } 3144 message_type { 3145 name: "StatSnapshotResponse" 3146 field { 3147 name: "info" 3148 number: 1 3149 label: LABEL_OPTIONAL 3150 type: TYPE_MESSAGE 3151 type_name: ".containerd.services.snapshots.v1.Info" 3152 options { 3153 65001: 0 3154 } 3155 json_name: "info" 3156 } 3157 } 3158 message_type { 3159 name: "UpdateSnapshotRequest" 3160 field { 3161 name: "snapshotter" 3162 number: 1 3163 label: LABEL_OPTIONAL 3164 type: TYPE_STRING 3165 json_name: "snapshotter" 3166 } 3167 field { 3168 name: "info" 3169 number: 2 3170 label: LABEL_OPTIONAL 3171 type: TYPE_MESSAGE 3172 type_name: ".containerd.services.snapshots.v1.Info" 3173 options { 3174 65001: 0 3175 } 3176 json_name: "info" 3177 } 3178 field { 3179 name: "update_mask" 3180 number: 3 3181 label: LABEL_OPTIONAL 3182 type: TYPE_MESSAGE 3183 type_name: ".google.protobuf.FieldMask" 3184 json_name: "updateMask" 3185 } 3186 } 3187 message_type { 3188 name: "UpdateSnapshotResponse" 3189 field { 3190 name: "info" 3191 number: 1 3192 label: LABEL_OPTIONAL 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: "ListSnapshotsRequest" 3203 field { 3204 name: "snapshotter" 3205 number: 1 3206 label: LABEL_OPTIONAL 3207 type: TYPE_STRING 3208 json_name: "snapshotter" 3209 } 3210 } 3211 message_type { 3212 name: "ListSnapshotsResponse" 3213 field { 3214 name: "info" 3215 number: 1 3216 label: LABEL_REPEATED 3217 type: TYPE_MESSAGE 3218 type_name: ".containerd.services.snapshots.v1.Info" 3219 options { 3220 65001: 0 3221 } 3222 json_name: "info" 3223 } 3224 } 3225 message_type { 3226 name: "UsageRequest" 3227 field { 3228 name: "snapshotter" 3229 number: 1 3230 label: LABEL_OPTIONAL 3231 type: TYPE_STRING 3232 json_name: "snapshotter" 3233 } 3234 field { 3235 name: "key" 3236 number: 2 3237 label: LABEL_OPTIONAL 3238 type: TYPE_STRING 3239 json_name: "key" 3240 } 3241 } 3242 message_type { 3243 name: "UsageResponse" 3244 field { 3245 name: "size" 3246 number: 1 3247 label: LABEL_OPTIONAL 3248 type: TYPE_INT64 3249 json_name: "size" 3250 } 3251 field { 3252 name: "inodes" 3253 number: 2 3254 label: LABEL_OPTIONAL 3255 type: TYPE_INT64 3256 json_name: "inodes" 3257 } 3258 } 3259 enum_type { 3260 name: "Kind" 3261 value { 3262 name: "UNKNOWN" 3263 number: 0 3264 options { 3265 66001: "KindUnknown" 3266 } 3267 } 3268 value { 3269 name: "VIEW" 3270 number: 1 3271 options { 3272 66001: "KindView" 3273 } 3274 } 3275 value { 3276 name: "ACTIVE" 3277 number: 2 3278 options { 3279 66001: "KindActive" 3280 } 3281 } 3282 value { 3283 name: "COMMITTED" 3284 number: 3 3285 options { 3286 66001: "KindCommitted" 3287 } 3288 } 3289 options { 3290 62001: 0 3291 62023: "Kind" 3292 } 3293 } 3294 service { 3295 name: "Snapshots" 3296 method { 3297 name: "Prepare" 3298 input_type: ".containerd.services.snapshots.v1.PrepareSnapshotRequest" 3299 output_type: ".containerd.services.snapshots.v1.PrepareSnapshotResponse" 3300 } 3301 method { 3302 name: "View" 3303 input_type: ".containerd.services.snapshots.v1.ViewSnapshotRequest" 3304 output_type: ".containerd.services.snapshots.v1.ViewSnapshotResponse" 3305 } 3306 method { 3307 name: "Mounts" 3308 input_type: ".containerd.services.snapshots.v1.MountsRequest" 3309 output_type: ".containerd.services.snapshots.v1.MountsResponse" 3310 } 3311 method { 3312 name: "Commit" 3313 input_type: ".containerd.services.snapshots.v1.CommitSnapshotRequest" 3314 output_type: ".google.protobuf.Empty" 3315 } 3316 method { 3317 name: "Remove" 3318 input_type: ".containerd.services.snapshots.v1.RemoveSnapshotRequest" 3319 output_type: ".google.protobuf.Empty" 3320 } 3321 method { 3322 name: "Stat" 3323 input_type: ".containerd.services.snapshots.v1.StatSnapshotRequest" 3324 output_type: ".containerd.services.snapshots.v1.StatSnapshotResponse" 3325 } 3326 method { 3327 name: "Update" 3328 input_type: ".containerd.services.snapshots.v1.UpdateSnapshotRequest" 3329 output_type: ".containerd.services.snapshots.v1.UpdateSnapshotResponse" 3330 } 3331 method { 3332 name: "List" 3333 input_type: ".containerd.services.snapshots.v1.ListSnapshotsRequest" 3334 output_type: ".containerd.services.snapshots.v1.ListSnapshotsResponse" 3335 server_streaming: true 3336 } 3337 method { 3338 name: "Usage" 3339 input_type: ".containerd.services.snapshots.v1.UsageRequest" 3340 output_type: ".containerd.services.snapshots.v1.UsageResponse" 3341 } 3342 } 3343 options { 3344 go_package: "github.com/containerd/containerd/api/services/snapshots/v1;snapshots" 3345 } 3346 weak_dependency: 0 3347 syntax: "proto3" 3348 } 3349 file { 3350 name: "github.com/containerd/containerd/api/types/metrics.proto" 3351 package: "containerd.types" 3352 dependency: "gogoproto/gogo.proto" 3353 dependency: "google/protobuf/any.proto" 3354 dependency: "google/protobuf/timestamp.proto" 3355 message_type { 3356 name: "Metric" 3357 field { 3358 name: "timestamp" 3359 number: 1 3360 label: LABEL_OPTIONAL 3361 type: TYPE_MESSAGE 3362 type_name: ".google.protobuf.Timestamp" 3363 options { 3364 65001: 0 3365 65010: 1 3366 } 3367 json_name: "timestamp" 3368 } 3369 field { 3370 name: "id" 3371 number: 2 3372 label: LABEL_OPTIONAL 3373 type: TYPE_STRING 3374 json_name: "id" 3375 } 3376 field { 3377 name: "data" 3378 number: 3 3379 label: LABEL_OPTIONAL 3380 type: TYPE_MESSAGE 3381 type_name: ".google.protobuf.Any" 3382 json_name: "data" 3383 } 3384 } 3385 options { 3386 go_package: "github.com/containerd/containerd/api/types;types" 3387 } 3388 weak_dependency: 0 3389 syntax: "proto3" 3390 } 3391 file { 3392 name: "github.com/containerd/containerd/api/types/task/task.proto" 3393 package: "containerd.v1.types" 3394 dependency: "gogoproto/gogo.proto" 3395 dependency: "google/protobuf/timestamp.proto" 3396 dependency: "google/protobuf/any.proto" 3397 message_type { 3398 name: "Process" 3399 field { 3400 name: "container_id" 3401 number: 1 3402 label: LABEL_OPTIONAL 3403 type: TYPE_STRING 3404 json_name: "containerId" 3405 } 3406 field { 3407 name: "id" 3408 number: 2 3409 label: LABEL_OPTIONAL 3410 type: TYPE_STRING 3411 json_name: "id" 3412 } 3413 field { 3414 name: "pid" 3415 number: 3 3416 label: LABEL_OPTIONAL 3417 type: TYPE_UINT32 3418 json_name: "pid" 3419 } 3420 field { 3421 name: "status" 3422 number: 4 3423 label: LABEL_OPTIONAL 3424 type: TYPE_ENUM 3425 type_name: ".containerd.v1.types.Status" 3426 json_name: "status" 3427 } 3428 field { 3429 name: "stdin" 3430 number: 5 3431 label: LABEL_OPTIONAL 3432 type: TYPE_STRING 3433 json_name: "stdin" 3434 } 3435 field { 3436 name: "stdout" 3437 number: 6 3438 label: LABEL_OPTIONAL 3439 type: TYPE_STRING 3440 json_name: "stdout" 3441 } 3442 field { 3443 name: "stderr" 3444 number: 7 3445 label: LABEL_OPTIONAL 3446 type: TYPE_STRING 3447 json_name: "stderr" 3448 } 3449 field { 3450 name: "terminal" 3451 number: 8 3452 label: LABEL_OPTIONAL 3453 type: TYPE_BOOL 3454 json_name: "terminal" 3455 } 3456 field { 3457 name: "exit_status" 3458 number: 9 3459 label: LABEL_OPTIONAL 3460 type: TYPE_UINT32 3461 json_name: "exitStatus" 3462 } 3463 field { 3464 name: "exited_at" 3465 number: 10 3466 label: LABEL_OPTIONAL 3467 type: TYPE_MESSAGE 3468 type_name: ".google.protobuf.Timestamp" 3469 options { 3470 65001: 0 3471 65010: 1 3472 } 3473 json_name: "exitedAt" 3474 } 3475 } 3476 message_type { 3477 name: "ProcessInfo" 3478 field { 3479 name: "pid" 3480 number: 1 3481 label: LABEL_OPTIONAL 3482 type: TYPE_UINT32 3483 json_name: "pid" 3484 } 3485 field { 3486 name: "info" 3487 number: 2 3488 label: LABEL_OPTIONAL 3489 type: TYPE_MESSAGE 3490 type_name: ".google.protobuf.Any" 3491 json_name: "info" 3492 } 3493 } 3494 enum_type { 3495 name: "Status" 3496 value { 3497 name: "UNKNOWN" 3498 number: 0 3499 options { 3500 66001: "StatusUnknown" 3501 } 3502 } 3503 value { 3504 name: "CREATED" 3505 number: 1 3506 options { 3507 66001: "StatusCreated" 3508 } 3509 } 3510 value { 3511 name: "RUNNING" 3512 number: 2 3513 options { 3514 66001: "StatusRunning" 3515 } 3516 } 3517 value { 3518 name: "STOPPED" 3519 number: 3 3520 options { 3521 66001: "StatusStopped" 3522 } 3523 } 3524 value { 3525 name: "PAUSED" 3526 number: 4 3527 options { 3528 66001: "StatusPaused" 3529 } 3530 } 3531 value { 3532 name: "PAUSING" 3533 number: 5 3534 options { 3535 66001: "StatusPausing" 3536 } 3537 } 3538 options { 3539 62001: 0 3540 62023: "Status" 3541 } 3542 } 3543 weak_dependency: 0 3544 syntax: "proto3" 3545 } 3546 file { 3547 name: "github.com/containerd/containerd/api/services/tasks/v1/tasks.proto" 3548 package: "containerd.services.tasks.v1" 3549 dependency: "google/protobuf/empty.proto" 3550 dependency: "google/protobuf/any.proto" 3551 dependency: "gogoproto/gogo.proto" 3552 dependency: "github.com/containerd/containerd/api/types/mount.proto" 3553 dependency: "github.com/containerd/containerd/api/types/metrics.proto" 3554 dependency: "github.com/containerd/containerd/api/types/descriptor.proto" 3555 dependency: "github.com/containerd/containerd/api/types/task/task.proto" 3556 dependency: "google/protobuf/timestamp.proto" 3557 message_type { 3558 name: "CreateTaskRequest" 3559 field { 3560 name: "container_id" 3561 number: 1 3562 label: LABEL_OPTIONAL 3563 type: TYPE_STRING 3564 json_name: "containerId" 3565 } 3566 field { 3567 name: "rootfs" 3568 number: 3 3569 label: LABEL_REPEATED 3570 type: TYPE_MESSAGE 3571 type_name: ".containerd.types.Mount" 3572 json_name: "rootfs" 3573 } 3574 field { 3575 name: "stdin" 3576 number: 4 3577 label: LABEL_OPTIONAL 3578 type: TYPE_STRING 3579 json_name: "stdin" 3580 } 3581 field { 3582 name: "stdout" 3583 number: 5 3584 label: LABEL_OPTIONAL 3585 type: TYPE_STRING 3586 json_name: "stdout" 3587 } 3588 field { 3589 name: "stderr" 3590 number: 6 3591 label: LABEL_OPTIONAL 3592 type: TYPE_STRING 3593 json_name: "stderr" 3594 } 3595 field { 3596 name: "terminal" 3597 number: 7 3598 label: LABEL_OPTIONAL 3599 type: TYPE_BOOL 3600 json_name: "terminal" 3601 } 3602 field { 3603 name: "checkpoint" 3604 number: 8 3605 label: LABEL_OPTIONAL 3606 type: TYPE_MESSAGE 3607 type_name: ".containerd.types.Descriptor" 3608 json_name: "checkpoint" 3609 } 3610 field { 3611 name: "options" 3612 number: 9 3613 label: LABEL_OPTIONAL 3614 type: TYPE_MESSAGE 3615 type_name: ".google.protobuf.Any" 3616 json_name: "options" 3617 } 3618 } 3619 message_type { 3620 name: "CreateTaskResponse" 3621 field { 3622 name: "container_id" 3623 number: 1 3624 label: LABEL_OPTIONAL 3625 type: TYPE_STRING 3626 json_name: "containerId" 3627 } 3628 field { 3629 name: "pid" 3630 number: 2 3631 label: LABEL_OPTIONAL 3632 type: TYPE_UINT32 3633 json_name: "pid" 3634 } 3635 } 3636 message_type { 3637 name: "StartRequest" 3638 field { 3639 name: "container_id" 3640 number: 1 3641 label: LABEL_OPTIONAL 3642 type: TYPE_STRING 3643 json_name: "containerId" 3644 } 3645 field { 3646 name: "exec_id" 3647 number: 2 3648 label: LABEL_OPTIONAL 3649 type: TYPE_STRING 3650 json_name: "execId" 3651 } 3652 } 3653 message_type { 3654 name: "StartResponse" 3655 field { 3656 name: "pid" 3657 number: 1 3658 label: LABEL_OPTIONAL 3659 type: TYPE_UINT32 3660 json_name: "pid" 3661 } 3662 } 3663 message_type { 3664 name: "DeleteTaskRequest" 3665 field { 3666 name: "container_id" 3667 number: 1 3668 label: LABEL_OPTIONAL 3669 type: TYPE_STRING 3670 json_name: "containerId" 3671 } 3672 } 3673 message_type { 3674 name: "DeleteResponse" 3675 field { 3676 name: "id" 3677 number: 1 3678 label: LABEL_OPTIONAL 3679 type: TYPE_STRING 3680 json_name: "id" 3681 } 3682 field { 3683 name: "pid" 3684 number: 2 3685 label: LABEL_OPTIONAL 3686 type: TYPE_UINT32 3687 json_name: "pid" 3688 } 3689 field { 3690 name: "exit_status" 3691 number: 3 3692 label: LABEL_OPTIONAL 3693 type: TYPE_UINT32 3694 json_name: "exitStatus" 3695 } 3696 field { 3697 name: "exited_at" 3698 number: 4 3699 label: LABEL_OPTIONAL 3700 type: TYPE_MESSAGE 3701 type_name: ".google.protobuf.Timestamp" 3702 options { 3703 65001: 0 3704 65010: 1 3705 } 3706 json_name: "exitedAt" 3707 } 3708 } 3709 message_type { 3710 name: "DeleteProcessRequest" 3711 field { 3712 name: "container_id" 3713 number: 1 3714 label: LABEL_OPTIONAL 3715 type: TYPE_STRING 3716 json_name: "containerId" 3717 } 3718 field { 3719 name: "exec_id" 3720 number: 2 3721 label: LABEL_OPTIONAL 3722 type: TYPE_STRING 3723 json_name: "execId" 3724 } 3725 } 3726 message_type { 3727 name: "GetRequest" 3728 field { 3729 name: "container_id" 3730 number: 1 3731 label: LABEL_OPTIONAL 3732 type: TYPE_STRING 3733 json_name: "containerId" 3734 } 3735 field { 3736 name: "exec_id" 3737 number: 2 3738 label: LABEL_OPTIONAL 3739 type: TYPE_STRING 3740 json_name: "execId" 3741 } 3742 } 3743 message_type { 3744 name: "GetResponse" 3745 field { 3746 name: "process" 3747 number: 1 3748 label: LABEL_OPTIONAL 3749 type: TYPE_MESSAGE 3750 type_name: ".containerd.v1.types.Process" 3751 json_name: "process" 3752 } 3753 } 3754 message_type { 3755 name: "ListTasksRequest" 3756 field { 3757 name: "filter" 3758 number: 1 3759 label: LABEL_OPTIONAL 3760 type: TYPE_STRING 3761 json_name: "filter" 3762 } 3763 } 3764 message_type { 3765 name: "ListTasksResponse" 3766 field { 3767 name: "tasks" 3768 number: 1 3769 label: LABEL_REPEATED 3770 type: TYPE_MESSAGE 3771 type_name: ".containerd.v1.types.Process" 3772 json_name: "tasks" 3773 } 3774 } 3775 message_type { 3776 name: "KillRequest" 3777 field { 3778 name: "container_id" 3779 number: 1 3780 label: LABEL_OPTIONAL 3781 type: TYPE_STRING 3782 json_name: "containerId" 3783 } 3784 field { 3785 name: "exec_id" 3786 number: 2 3787 label: LABEL_OPTIONAL 3788 type: TYPE_STRING 3789 json_name: "execId" 3790 } 3791 field { 3792 name: "signal" 3793 number: 3 3794 label: LABEL_OPTIONAL 3795 type: TYPE_UINT32 3796 json_name: "signal" 3797 } 3798 field { 3799 name: "all" 3800 number: 4 3801 label: LABEL_OPTIONAL 3802 type: TYPE_BOOL 3803 json_name: "all" 3804 } 3805 } 3806 message_type { 3807 name: "ExecProcessRequest" 3808 field { 3809 name: "container_id" 3810 number: 1 3811 label: LABEL_OPTIONAL 3812 type: TYPE_STRING 3813 json_name: "containerId" 3814 } 3815 field { 3816 name: "stdin" 3817 number: 2 3818 label: LABEL_OPTIONAL 3819 type: TYPE_STRING 3820 json_name: "stdin" 3821 } 3822 field { 3823 name: "stdout" 3824 number: 3 3825 label: LABEL_OPTIONAL 3826 type: TYPE_STRING 3827 json_name: "stdout" 3828 } 3829 field { 3830 name: "stderr" 3831 number: 4 3832 label: LABEL_OPTIONAL 3833 type: TYPE_STRING 3834 json_name: "stderr" 3835 } 3836 field { 3837 name: "terminal" 3838 number: 5 3839 label: LABEL_OPTIONAL 3840 type: TYPE_BOOL 3841 json_name: "terminal" 3842 } 3843 field { 3844 name: "spec" 3845 number: 6 3846 label: LABEL_OPTIONAL 3847 type: TYPE_MESSAGE 3848 type_name: ".google.protobuf.Any" 3849 json_name: "spec" 3850 } 3851 field { 3852 name: "exec_id" 3853 number: 7 3854 label: LABEL_OPTIONAL 3855 type: TYPE_STRING 3856 json_name: "execId" 3857 } 3858 } 3859 message_type { 3860 name: "ExecProcessResponse" 3861 } 3862 message_type { 3863 name: "ResizePtyRequest" 3864 field { 3865 name: "container_id" 3866 number: 1 3867 label: LABEL_OPTIONAL 3868 type: TYPE_STRING 3869 json_name: "containerId" 3870 } 3871 field { 3872 name: "exec_id" 3873 number: 2 3874 label: LABEL_OPTIONAL 3875 type: TYPE_STRING 3876 json_name: "execId" 3877 } 3878 field { 3879 name: "width" 3880 number: 3 3881 label: LABEL_OPTIONAL 3882 type: TYPE_UINT32 3883 json_name: "width" 3884 } 3885 field { 3886 name: "height" 3887 number: 4 3888 label: LABEL_OPTIONAL 3889 type: TYPE_UINT32 3890 json_name: "height" 3891 } 3892 } 3893 message_type { 3894 name: "CloseIORequest" 3895 field { 3896 name: "container_id" 3897 number: 1 3898 label: LABEL_OPTIONAL 3899 type: TYPE_STRING 3900 json_name: "containerId" 3901 } 3902 field { 3903 name: "exec_id" 3904 number: 2 3905 label: LABEL_OPTIONAL 3906 type: TYPE_STRING 3907 json_name: "execId" 3908 } 3909 field { 3910 name: "stdin" 3911 number: 3 3912 label: LABEL_OPTIONAL 3913 type: TYPE_BOOL 3914 json_name: "stdin" 3915 } 3916 } 3917 message_type { 3918 name: "PauseTaskRequest" 3919 field { 3920 name: "container_id" 3921 number: 1 3922 label: LABEL_OPTIONAL 3923 type: TYPE_STRING 3924 json_name: "containerId" 3925 } 3926 } 3927 message_type { 3928 name: "ResumeTaskRequest" 3929 field { 3930 name: "container_id" 3931 number: 1 3932 label: LABEL_OPTIONAL 3933 type: TYPE_STRING 3934 json_name: "containerId" 3935 } 3936 } 3937 message_type { 3938 name: "ListPidsRequest" 3939 field { 3940 name: "container_id" 3941 number: 1 3942 label: LABEL_OPTIONAL 3943 type: TYPE_STRING 3944 json_name: "containerId" 3945 } 3946 } 3947 message_type { 3948 name: "ListPidsResponse" 3949 field { 3950 name: "processes" 3951 number: 1 3952 label: LABEL_REPEATED 3953 type: TYPE_MESSAGE 3954 type_name: ".containerd.v1.types.ProcessInfo" 3955 json_name: "processes" 3956 } 3957 } 3958 message_type { 3959 name: "CheckpointTaskRequest" 3960 field { 3961 name: "container_id" 3962 number: 1 3963 label: LABEL_OPTIONAL 3964 type: TYPE_STRING 3965 json_name: "containerId" 3966 } 3967 field { 3968 name: "parent_checkpoint" 3969 number: 2 3970 label: LABEL_OPTIONAL 3971 type: TYPE_STRING 3972 options { 3973 65001: 0 3974 65003: "github.com/opencontainers/go-digest.Digest" 3975 } 3976 json_name: "parentCheckpoint" 3977 } 3978 field { 3979 name: "options" 3980 number: 3 3981 label: LABEL_OPTIONAL 3982 type: TYPE_MESSAGE 3983 type_name: ".google.protobuf.Any" 3984 json_name: "options" 3985 } 3986 } 3987 message_type { 3988 name: "CheckpointTaskResponse" 3989 field { 3990 name: "descriptors" 3991 number: 1 3992 label: LABEL_REPEATED 3993 type: TYPE_MESSAGE 3994 type_name: ".containerd.types.Descriptor" 3995 json_name: "descriptors" 3996 } 3997 } 3998 message_type { 3999 name: "UpdateTaskRequest" 4000 field { 4001 name: "container_id" 4002 number: 1 4003 label: LABEL_OPTIONAL 4004 type: TYPE_STRING 4005 json_name: "containerId" 4006 } 4007 field { 4008 name: "resources" 4009 number: 2 4010 label: LABEL_OPTIONAL 4011 type: TYPE_MESSAGE 4012 type_name: ".google.protobuf.Any" 4013 json_name: "resources" 4014 } 4015 } 4016 message_type { 4017 name: "MetricsRequest" 4018 field { 4019 name: "filters" 4020 number: 1 4021 label: LABEL_REPEATED 4022 type: TYPE_STRING 4023 json_name: "filters" 4024 } 4025 } 4026 message_type { 4027 name: "MetricsResponse" 4028 field { 4029 name: "metrics" 4030 number: 1 4031 label: LABEL_REPEATED 4032 type: TYPE_MESSAGE 4033 type_name: ".containerd.types.Metric" 4034 json_name: "metrics" 4035 } 4036 } 4037 message_type { 4038 name: "WaitRequest" 4039 field { 4040 name: "container_id" 4041 number: 1 4042 label: LABEL_OPTIONAL 4043 type: TYPE_STRING 4044 json_name: "containerId" 4045 } 4046 field { 4047 name: "exec_id" 4048 number: 2 4049 label: LABEL_OPTIONAL 4050 type: TYPE_STRING 4051 json_name: "execId" 4052 } 4053 } 4054 message_type { 4055 name: "WaitResponse" 4056 field { 4057 name: "exit_status" 4058 number: 1 4059 label: LABEL_OPTIONAL 4060 type: TYPE_UINT32 4061 json_name: "exitStatus" 4062 } 4063 field { 4064 name: "exited_at" 4065 number: 2 4066 label: LABEL_OPTIONAL 4067 type: TYPE_MESSAGE 4068 type_name: ".google.protobuf.Timestamp" 4069 options { 4070 65001: 0 4071 65010: 1 4072 } 4073 json_name: "exitedAt" 4074 } 4075 } 4076 service { 4077 name: "Tasks" 4078 method { 4079 name: "Create" 4080 input_type: ".containerd.services.tasks.v1.CreateTaskRequest" 4081 output_type: ".containerd.services.tasks.v1.CreateTaskResponse" 4082 } 4083 method { 4084 name: "Start" 4085 input_type: ".containerd.services.tasks.v1.StartRequest" 4086 output_type: ".containerd.services.tasks.v1.StartResponse" 4087 } 4088 method { 4089 name: "Delete" 4090 input_type: ".containerd.services.tasks.v1.DeleteTaskRequest" 4091 output_type: ".containerd.services.tasks.v1.DeleteResponse" 4092 } 4093 method { 4094 name: "DeleteProcess" 4095 input_type: ".containerd.services.tasks.v1.DeleteProcessRequest" 4096 output_type: ".containerd.services.tasks.v1.DeleteResponse" 4097 } 4098 method { 4099 name: "Get" 4100 input_type: ".containerd.services.tasks.v1.GetRequest" 4101 output_type: ".containerd.services.tasks.v1.GetResponse" 4102 } 4103 method { 4104 name: "List" 4105 input_type: ".containerd.services.tasks.v1.ListTasksRequest" 4106 output_type: ".containerd.services.tasks.v1.ListTasksResponse" 4107 } 4108 method { 4109 name: "Kill" 4110 input_type: ".containerd.services.tasks.v1.KillRequest" 4111 output_type: ".google.protobuf.Empty" 4112 } 4113 method { 4114 name: "Exec" 4115 input_type: ".containerd.services.tasks.v1.ExecProcessRequest" 4116 output_type: ".google.protobuf.Empty" 4117 } 4118 method { 4119 name: "ResizePty" 4120 input_type: ".containerd.services.tasks.v1.ResizePtyRequest" 4121 output_type: ".google.protobuf.Empty" 4122 } 4123 method { 4124 name: "CloseIO" 4125 input_type: ".containerd.services.tasks.v1.CloseIORequest" 4126 output_type: ".google.protobuf.Empty" 4127 } 4128 method { 4129 name: "Pause" 4130 input_type: ".containerd.services.tasks.v1.PauseTaskRequest" 4131 output_type: ".google.protobuf.Empty" 4132 } 4133 method { 4134 name: "Resume" 4135 input_type: ".containerd.services.tasks.v1.ResumeTaskRequest" 4136 output_type: ".google.protobuf.Empty" 4137 } 4138 method { 4139 name: "ListPids" 4140 input_type: ".containerd.services.tasks.v1.ListPidsRequest" 4141 output_type: ".containerd.services.tasks.v1.ListPidsResponse" 4142 } 4143 method { 4144 name: "Checkpoint" 4145 input_type: ".containerd.services.tasks.v1.CheckpointTaskRequest" 4146 output_type: ".containerd.services.tasks.v1.CheckpointTaskResponse" 4147 } 4148 method { 4149 name: "Update" 4150 input_type: ".containerd.services.tasks.v1.UpdateTaskRequest" 4151 output_type: ".google.protobuf.Empty" 4152 } 4153 method { 4154 name: "Metrics" 4155 input_type: ".containerd.services.tasks.v1.MetricsRequest" 4156 output_type: ".containerd.services.tasks.v1.MetricsResponse" 4157 } 4158 method { 4159 name: "Wait" 4160 input_type: ".containerd.services.tasks.v1.WaitRequest" 4161 output_type: ".containerd.services.tasks.v1.WaitResponse" 4162 } 4163 } 4164 options { 4165 go_package: "github.com/containerd/containerd/api/services/tasks/v1;tasks" 4166 } 4167 weak_dependency: 2 4168 syntax: "proto3" 4169 } 4170 file { 4171 name: "github.com/containerd/containerd/api/services/version/v1/version.proto" 4172 package: "containerd.services.version.v1" 4173 dependency: "google/protobuf/empty.proto" 4174 dependency: "gogoproto/gogo.proto" 4175 message_type { 4176 name: "VersionResponse" 4177 field { 4178 name: "version" 4179 number: 1 4180 label: LABEL_OPTIONAL 4181 type: TYPE_STRING 4182 json_name: "version" 4183 } 4184 field { 4185 name: "revision" 4186 number: 2 4187 label: LABEL_OPTIONAL 4188 type: TYPE_STRING 4189 json_name: "revision" 4190 } 4191 } 4192 service { 4193 name: "Version" 4194 method { 4195 name: "Version" 4196 input_type: ".google.protobuf.Empty" 4197 output_type: ".containerd.services.version.v1.VersionResponse" 4198 } 4199 } 4200 options { 4201 go_package: "github.com/containerd/containerd/api/services/version/v1;version" 4202 } 4203 weak_dependency: 1 4204 syntax: "proto3" 4205 }