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