github.com/lalkh/containerd@v1.4.3/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 field { 3394 name: "filters" 3395 number: 2 3396 label: LABEL_REPEATED 3397 type: TYPE_STRING 3398 json_name: "filters" 3399 } 3400 } 3401 message_type { 3402 name: "ListSnapshotsResponse" 3403 field { 3404 name: "info" 3405 number: 1 3406 label: LABEL_REPEATED 3407 type: TYPE_MESSAGE 3408 type_name: ".containerd.services.snapshots.v1.Info" 3409 options { 3410 65001: 0 3411 } 3412 json_name: "info" 3413 } 3414 } 3415 message_type { 3416 name: "UsageRequest" 3417 field { 3418 name: "snapshotter" 3419 number: 1 3420 label: LABEL_OPTIONAL 3421 type: TYPE_STRING 3422 json_name: "snapshotter" 3423 } 3424 field { 3425 name: "key" 3426 number: 2 3427 label: LABEL_OPTIONAL 3428 type: TYPE_STRING 3429 json_name: "key" 3430 } 3431 } 3432 message_type { 3433 name: "UsageResponse" 3434 field { 3435 name: "size" 3436 number: 1 3437 label: LABEL_OPTIONAL 3438 type: TYPE_INT64 3439 json_name: "size" 3440 } 3441 field { 3442 name: "inodes" 3443 number: 2 3444 label: LABEL_OPTIONAL 3445 type: TYPE_INT64 3446 json_name: "inodes" 3447 } 3448 } 3449 message_type { 3450 name: "CleanupRequest" 3451 field { 3452 name: "snapshotter" 3453 number: 1 3454 label: LABEL_OPTIONAL 3455 type: TYPE_STRING 3456 json_name: "snapshotter" 3457 } 3458 } 3459 enum_type { 3460 name: "Kind" 3461 value { 3462 name: "UNKNOWN" 3463 number: 0 3464 options { 3465 66001: "KindUnknown" 3466 } 3467 } 3468 value { 3469 name: "VIEW" 3470 number: 1 3471 options { 3472 66001: "KindView" 3473 } 3474 } 3475 value { 3476 name: "ACTIVE" 3477 number: 2 3478 options { 3479 66001: "KindActive" 3480 } 3481 } 3482 value { 3483 name: "COMMITTED" 3484 number: 3 3485 options { 3486 66001: "KindCommitted" 3487 } 3488 } 3489 options { 3490 62001: 0 3491 62023: "Kind" 3492 } 3493 } 3494 service { 3495 name: "Snapshots" 3496 method { 3497 name: "Prepare" 3498 input_type: ".containerd.services.snapshots.v1.PrepareSnapshotRequest" 3499 output_type: ".containerd.services.snapshots.v1.PrepareSnapshotResponse" 3500 } 3501 method { 3502 name: "View" 3503 input_type: ".containerd.services.snapshots.v1.ViewSnapshotRequest" 3504 output_type: ".containerd.services.snapshots.v1.ViewSnapshotResponse" 3505 } 3506 method { 3507 name: "Mounts" 3508 input_type: ".containerd.services.snapshots.v1.MountsRequest" 3509 output_type: ".containerd.services.snapshots.v1.MountsResponse" 3510 } 3511 method { 3512 name: "Commit" 3513 input_type: ".containerd.services.snapshots.v1.CommitSnapshotRequest" 3514 output_type: ".google.protobuf.Empty" 3515 } 3516 method { 3517 name: "Remove" 3518 input_type: ".containerd.services.snapshots.v1.RemoveSnapshotRequest" 3519 output_type: ".google.protobuf.Empty" 3520 } 3521 method { 3522 name: "Stat" 3523 input_type: ".containerd.services.snapshots.v1.StatSnapshotRequest" 3524 output_type: ".containerd.services.snapshots.v1.StatSnapshotResponse" 3525 } 3526 method { 3527 name: "Update" 3528 input_type: ".containerd.services.snapshots.v1.UpdateSnapshotRequest" 3529 output_type: ".containerd.services.snapshots.v1.UpdateSnapshotResponse" 3530 } 3531 method { 3532 name: "List" 3533 input_type: ".containerd.services.snapshots.v1.ListSnapshotsRequest" 3534 output_type: ".containerd.services.snapshots.v1.ListSnapshotsResponse" 3535 server_streaming: true 3536 } 3537 method { 3538 name: "Usage" 3539 input_type: ".containerd.services.snapshots.v1.UsageRequest" 3540 output_type: ".containerd.services.snapshots.v1.UsageResponse" 3541 } 3542 method { 3543 name: "Cleanup" 3544 input_type: ".containerd.services.snapshots.v1.CleanupRequest" 3545 output_type: ".google.protobuf.Empty" 3546 } 3547 } 3548 options { 3549 go_package: "github.com/containerd/containerd/api/services/snapshots/v1;snapshots" 3550 } 3551 weak_dependency: 0 3552 syntax: "proto3" 3553 } 3554 file { 3555 name: "github.com/containerd/containerd/api/types/metrics.proto" 3556 package: "containerd.types" 3557 dependency: "gogoproto/gogo.proto" 3558 dependency: "google/protobuf/any.proto" 3559 dependency: "google/protobuf/timestamp.proto" 3560 message_type { 3561 name: "Metric" 3562 field { 3563 name: "timestamp" 3564 number: 1 3565 label: LABEL_OPTIONAL 3566 type: TYPE_MESSAGE 3567 type_name: ".google.protobuf.Timestamp" 3568 options { 3569 65001: 0 3570 65010: 1 3571 } 3572 json_name: "timestamp" 3573 } 3574 field { 3575 name: "id" 3576 number: 2 3577 label: LABEL_OPTIONAL 3578 type: TYPE_STRING 3579 json_name: "id" 3580 } 3581 field { 3582 name: "data" 3583 number: 3 3584 label: LABEL_OPTIONAL 3585 type: TYPE_MESSAGE 3586 type_name: ".google.protobuf.Any" 3587 json_name: "data" 3588 } 3589 } 3590 options { 3591 go_package: "github.com/containerd/containerd/api/types;types" 3592 } 3593 weak_dependency: 0 3594 syntax: "proto3" 3595 } 3596 file { 3597 name: "github.com/containerd/containerd/api/types/task/task.proto" 3598 package: "containerd.v1.types" 3599 dependency: "gogoproto/gogo.proto" 3600 dependency: "google/protobuf/timestamp.proto" 3601 dependency: "google/protobuf/any.proto" 3602 message_type { 3603 name: "Process" 3604 field { 3605 name: "container_id" 3606 number: 1 3607 label: LABEL_OPTIONAL 3608 type: TYPE_STRING 3609 json_name: "containerId" 3610 } 3611 field { 3612 name: "id" 3613 number: 2 3614 label: LABEL_OPTIONAL 3615 type: TYPE_STRING 3616 json_name: "id" 3617 } 3618 field { 3619 name: "pid" 3620 number: 3 3621 label: LABEL_OPTIONAL 3622 type: TYPE_UINT32 3623 json_name: "pid" 3624 } 3625 field { 3626 name: "status" 3627 number: 4 3628 label: LABEL_OPTIONAL 3629 type: TYPE_ENUM 3630 type_name: ".containerd.v1.types.Status" 3631 json_name: "status" 3632 } 3633 field { 3634 name: "stdin" 3635 number: 5 3636 label: LABEL_OPTIONAL 3637 type: TYPE_STRING 3638 json_name: "stdin" 3639 } 3640 field { 3641 name: "stdout" 3642 number: 6 3643 label: LABEL_OPTIONAL 3644 type: TYPE_STRING 3645 json_name: "stdout" 3646 } 3647 field { 3648 name: "stderr" 3649 number: 7 3650 label: LABEL_OPTIONAL 3651 type: TYPE_STRING 3652 json_name: "stderr" 3653 } 3654 field { 3655 name: "terminal" 3656 number: 8 3657 label: LABEL_OPTIONAL 3658 type: TYPE_BOOL 3659 json_name: "terminal" 3660 } 3661 field { 3662 name: "exit_status" 3663 number: 9 3664 label: LABEL_OPTIONAL 3665 type: TYPE_UINT32 3666 json_name: "exitStatus" 3667 } 3668 field { 3669 name: "exited_at" 3670 number: 10 3671 label: LABEL_OPTIONAL 3672 type: TYPE_MESSAGE 3673 type_name: ".google.protobuf.Timestamp" 3674 options { 3675 65001: 0 3676 65010: 1 3677 } 3678 json_name: "exitedAt" 3679 } 3680 } 3681 message_type { 3682 name: "ProcessInfo" 3683 field { 3684 name: "pid" 3685 number: 1 3686 label: LABEL_OPTIONAL 3687 type: TYPE_UINT32 3688 json_name: "pid" 3689 } 3690 field { 3691 name: "info" 3692 number: 2 3693 label: LABEL_OPTIONAL 3694 type: TYPE_MESSAGE 3695 type_name: ".google.protobuf.Any" 3696 json_name: "info" 3697 } 3698 } 3699 enum_type { 3700 name: "Status" 3701 value { 3702 name: "UNKNOWN" 3703 number: 0 3704 options { 3705 66001: "StatusUnknown" 3706 } 3707 } 3708 value { 3709 name: "CREATED" 3710 number: 1 3711 options { 3712 66001: "StatusCreated" 3713 } 3714 } 3715 value { 3716 name: "RUNNING" 3717 number: 2 3718 options { 3719 66001: "StatusRunning" 3720 } 3721 } 3722 value { 3723 name: "STOPPED" 3724 number: 3 3725 options { 3726 66001: "StatusStopped" 3727 } 3728 } 3729 value { 3730 name: "PAUSED" 3731 number: 4 3732 options { 3733 66001: "StatusPaused" 3734 } 3735 } 3736 value { 3737 name: "PAUSING" 3738 number: 5 3739 options { 3740 66001: "StatusPausing" 3741 } 3742 } 3743 options { 3744 62001: 0 3745 62023: "Status" 3746 } 3747 } 3748 weak_dependency: 0 3749 syntax: "proto3" 3750 } 3751 file { 3752 name: "github.com/containerd/containerd/api/services/tasks/v1/tasks.proto" 3753 package: "containerd.services.tasks.v1" 3754 dependency: "google/protobuf/empty.proto" 3755 dependency: "google/protobuf/any.proto" 3756 dependency: "gogoproto/gogo.proto" 3757 dependency: "github.com/containerd/containerd/api/types/mount.proto" 3758 dependency: "github.com/containerd/containerd/api/types/metrics.proto" 3759 dependency: "github.com/containerd/containerd/api/types/descriptor.proto" 3760 dependency: "github.com/containerd/containerd/api/types/task/task.proto" 3761 dependency: "google/protobuf/timestamp.proto" 3762 message_type { 3763 name: "CreateTaskRequest" 3764 field { 3765 name: "container_id" 3766 number: 1 3767 label: LABEL_OPTIONAL 3768 type: TYPE_STRING 3769 json_name: "containerId" 3770 } 3771 field { 3772 name: "rootfs" 3773 number: 3 3774 label: LABEL_REPEATED 3775 type: TYPE_MESSAGE 3776 type_name: ".containerd.types.Mount" 3777 json_name: "rootfs" 3778 } 3779 field { 3780 name: "stdin" 3781 number: 4 3782 label: LABEL_OPTIONAL 3783 type: TYPE_STRING 3784 json_name: "stdin" 3785 } 3786 field { 3787 name: "stdout" 3788 number: 5 3789 label: LABEL_OPTIONAL 3790 type: TYPE_STRING 3791 json_name: "stdout" 3792 } 3793 field { 3794 name: "stderr" 3795 number: 6 3796 label: LABEL_OPTIONAL 3797 type: TYPE_STRING 3798 json_name: "stderr" 3799 } 3800 field { 3801 name: "terminal" 3802 number: 7 3803 label: LABEL_OPTIONAL 3804 type: TYPE_BOOL 3805 json_name: "terminal" 3806 } 3807 field { 3808 name: "checkpoint" 3809 number: 8 3810 label: LABEL_OPTIONAL 3811 type: TYPE_MESSAGE 3812 type_name: ".containerd.types.Descriptor" 3813 json_name: "checkpoint" 3814 } 3815 field { 3816 name: "options" 3817 number: 9 3818 label: LABEL_OPTIONAL 3819 type: TYPE_MESSAGE 3820 type_name: ".google.protobuf.Any" 3821 json_name: "options" 3822 } 3823 } 3824 message_type { 3825 name: "CreateTaskResponse" 3826 field { 3827 name: "container_id" 3828 number: 1 3829 label: LABEL_OPTIONAL 3830 type: TYPE_STRING 3831 json_name: "containerId" 3832 } 3833 field { 3834 name: "pid" 3835 number: 2 3836 label: LABEL_OPTIONAL 3837 type: TYPE_UINT32 3838 json_name: "pid" 3839 } 3840 } 3841 message_type { 3842 name: "StartRequest" 3843 field { 3844 name: "container_id" 3845 number: 1 3846 label: LABEL_OPTIONAL 3847 type: TYPE_STRING 3848 json_name: "containerId" 3849 } 3850 field { 3851 name: "exec_id" 3852 number: 2 3853 label: LABEL_OPTIONAL 3854 type: TYPE_STRING 3855 json_name: "execId" 3856 } 3857 } 3858 message_type { 3859 name: "StartResponse" 3860 field { 3861 name: "pid" 3862 number: 1 3863 label: LABEL_OPTIONAL 3864 type: TYPE_UINT32 3865 json_name: "pid" 3866 } 3867 } 3868 message_type { 3869 name: "DeleteTaskRequest" 3870 field { 3871 name: "container_id" 3872 number: 1 3873 label: LABEL_OPTIONAL 3874 type: TYPE_STRING 3875 json_name: "containerId" 3876 } 3877 } 3878 message_type { 3879 name: "DeleteResponse" 3880 field { 3881 name: "id" 3882 number: 1 3883 label: LABEL_OPTIONAL 3884 type: TYPE_STRING 3885 json_name: "id" 3886 } 3887 field { 3888 name: "pid" 3889 number: 2 3890 label: LABEL_OPTIONAL 3891 type: TYPE_UINT32 3892 json_name: "pid" 3893 } 3894 field { 3895 name: "exit_status" 3896 number: 3 3897 label: LABEL_OPTIONAL 3898 type: TYPE_UINT32 3899 json_name: "exitStatus" 3900 } 3901 field { 3902 name: "exited_at" 3903 number: 4 3904 label: LABEL_OPTIONAL 3905 type: TYPE_MESSAGE 3906 type_name: ".google.protobuf.Timestamp" 3907 options { 3908 65001: 0 3909 65010: 1 3910 } 3911 json_name: "exitedAt" 3912 } 3913 } 3914 message_type { 3915 name: "DeleteProcessRequest" 3916 field { 3917 name: "container_id" 3918 number: 1 3919 label: LABEL_OPTIONAL 3920 type: TYPE_STRING 3921 json_name: "containerId" 3922 } 3923 field { 3924 name: "exec_id" 3925 number: 2 3926 label: LABEL_OPTIONAL 3927 type: TYPE_STRING 3928 json_name: "execId" 3929 } 3930 } 3931 message_type { 3932 name: "GetRequest" 3933 field { 3934 name: "container_id" 3935 number: 1 3936 label: LABEL_OPTIONAL 3937 type: TYPE_STRING 3938 json_name: "containerId" 3939 } 3940 field { 3941 name: "exec_id" 3942 number: 2 3943 label: LABEL_OPTIONAL 3944 type: TYPE_STRING 3945 json_name: "execId" 3946 } 3947 } 3948 message_type { 3949 name: "GetResponse" 3950 field { 3951 name: "process" 3952 number: 1 3953 label: LABEL_OPTIONAL 3954 type: TYPE_MESSAGE 3955 type_name: ".containerd.v1.types.Process" 3956 json_name: "process" 3957 } 3958 } 3959 message_type { 3960 name: "ListTasksRequest" 3961 field { 3962 name: "filter" 3963 number: 1 3964 label: LABEL_OPTIONAL 3965 type: TYPE_STRING 3966 json_name: "filter" 3967 } 3968 } 3969 message_type { 3970 name: "ListTasksResponse" 3971 field { 3972 name: "tasks" 3973 number: 1 3974 label: LABEL_REPEATED 3975 type: TYPE_MESSAGE 3976 type_name: ".containerd.v1.types.Process" 3977 json_name: "tasks" 3978 } 3979 } 3980 message_type { 3981 name: "KillRequest" 3982 field { 3983 name: "container_id" 3984 number: 1 3985 label: LABEL_OPTIONAL 3986 type: TYPE_STRING 3987 json_name: "containerId" 3988 } 3989 field { 3990 name: "exec_id" 3991 number: 2 3992 label: LABEL_OPTIONAL 3993 type: TYPE_STRING 3994 json_name: "execId" 3995 } 3996 field { 3997 name: "signal" 3998 number: 3 3999 label: LABEL_OPTIONAL 4000 type: TYPE_UINT32 4001 json_name: "signal" 4002 } 4003 field { 4004 name: "all" 4005 number: 4 4006 label: LABEL_OPTIONAL 4007 type: TYPE_BOOL 4008 json_name: "all" 4009 } 4010 } 4011 message_type { 4012 name: "ExecProcessRequest" 4013 field { 4014 name: "container_id" 4015 number: 1 4016 label: LABEL_OPTIONAL 4017 type: TYPE_STRING 4018 json_name: "containerId" 4019 } 4020 field { 4021 name: "stdin" 4022 number: 2 4023 label: LABEL_OPTIONAL 4024 type: TYPE_STRING 4025 json_name: "stdin" 4026 } 4027 field { 4028 name: "stdout" 4029 number: 3 4030 label: LABEL_OPTIONAL 4031 type: TYPE_STRING 4032 json_name: "stdout" 4033 } 4034 field { 4035 name: "stderr" 4036 number: 4 4037 label: LABEL_OPTIONAL 4038 type: TYPE_STRING 4039 json_name: "stderr" 4040 } 4041 field { 4042 name: "terminal" 4043 number: 5 4044 label: LABEL_OPTIONAL 4045 type: TYPE_BOOL 4046 json_name: "terminal" 4047 } 4048 field { 4049 name: "spec" 4050 number: 6 4051 label: LABEL_OPTIONAL 4052 type: TYPE_MESSAGE 4053 type_name: ".google.protobuf.Any" 4054 json_name: "spec" 4055 } 4056 field { 4057 name: "exec_id" 4058 number: 7 4059 label: LABEL_OPTIONAL 4060 type: TYPE_STRING 4061 json_name: "execId" 4062 } 4063 } 4064 message_type { 4065 name: "ExecProcessResponse" 4066 } 4067 message_type { 4068 name: "ResizePtyRequest" 4069 field { 4070 name: "container_id" 4071 number: 1 4072 label: LABEL_OPTIONAL 4073 type: TYPE_STRING 4074 json_name: "containerId" 4075 } 4076 field { 4077 name: "exec_id" 4078 number: 2 4079 label: LABEL_OPTIONAL 4080 type: TYPE_STRING 4081 json_name: "execId" 4082 } 4083 field { 4084 name: "width" 4085 number: 3 4086 label: LABEL_OPTIONAL 4087 type: TYPE_UINT32 4088 json_name: "width" 4089 } 4090 field { 4091 name: "height" 4092 number: 4 4093 label: LABEL_OPTIONAL 4094 type: TYPE_UINT32 4095 json_name: "height" 4096 } 4097 } 4098 message_type { 4099 name: "CloseIORequest" 4100 field { 4101 name: "container_id" 4102 number: 1 4103 label: LABEL_OPTIONAL 4104 type: TYPE_STRING 4105 json_name: "containerId" 4106 } 4107 field { 4108 name: "exec_id" 4109 number: 2 4110 label: LABEL_OPTIONAL 4111 type: TYPE_STRING 4112 json_name: "execId" 4113 } 4114 field { 4115 name: "stdin" 4116 number: 3 4117 label: LABEL_OPTIONAL 4118 type: TYPE_BOOL 4119 json_name: "stdin" 4120 } 4121 } 4122 message_type { 4123 name: "PauseTaskRequest" 4124 field { 4125 name: "container_id" 4126 number: 1 4127 label: LABEL_OPTIONAL 4128 type: TYPE_STRING 4129 json_name: "containerId" 4130 } 4131 } 4132 message_type { 4133 name: "ResumeTaskRequest" 4134 field { 4135 name: "container_id" 4136 number: 1 4137 label: LABEL_OPTIONAL 4138 type: TYPE_STRING 4139 json_name: "containerId" 4140 } 4141 } 4142 message_type { 4143 name: "ListPidsRequest" 4144 field { 4145 name: "container_id" 4146 number: 1 4147 label: LABEL_OPTIONAL 4148 type: TYPE_STRING 4149 json_name: "containerId" 4150 } 4151 } 4152 message_type { 4153 name: "ListPidsResponse" 4154 field { 4155 name: "processes" 4156 number: 1 4157 label: LABEL_REPEATED 4158 type: TYPE_MESSAGE 4159 type_name: ".containerd.v1.types.ProcessInfo" 4160 json_name: "processes" 4161 } 4162 } 4163 message_type { 4164 name: "CheckpointTaskRequest" 4165 field { 4166 name: "container_id" 4167 number: 1 4168 label: LABEL_OPTIONAL 4169 type: TYPE_STRING 4170 json_name: "containerId" 4171 } 4172 field { 4173 name: "parent_checkpoint" 4174 number: 2 4175 label: LABEL_OPTIONAL 4176 type: TYPE_STRING 4177 options { 4178 65001: 0 4179 65003: "github.com/opencontainers/go-digest.Digest" 4180 } 4181 json_name: "parentCheckpoint" 4182 } 4183 field { 4184 name: "options" 4185 number: 3 4186 label: LABEL_OPTIONAL 4187 type: TYPE_MESSAGE 4188 type_name: ".google.protobuf.Any" 4189 json_name: "options" 4190 } 4191 } 4192 message_type { 4193 name: "CheckpointTaskResponse" 4194 field { 4195 name: "descriptors" 4196 number: 1 4197 label: LABEL_REPEATED 4198 type: TYPE_MESSAGE 4199 type_name: ".containerd.types.Descriptor" 4200 json_name: "descriptors" 4201 } 4202 } 4203 message_type { 4204 name: "UpdateTaskRequest" 4205 field { 4206 name: "container_id" 4207 number: 1 4208 label: LABEL_OPTIONAL 4209 type: TYPE_STRING 4210 json_name: "containerId" 4211 } 4212 field { 4213 name: "resources" 4214 number: 2 4215 label: LABEL_OPTIONAL 4216 type: TYPE_MESSAGE 4217 type_name: ".google.protobuf.Any" 4218 json_name: "resources" 4219 } 4220 } 4221 message_type { 4222 name: "MetricsRequest" 4223 field { 4224 name: "filters" 4225 number: 1 4226 label: LABEL_REPEATED 4227 type: TYPE_STRING 4228 json_name: "filters" 4229 } 4230 } 4231 message_type { 4232 name: "MetricsResponse" 4233 field { 4234 name: "metrics" 4235 number: 1 4236 label: LABEL_REPEATED 4237 type: TYPE_MESSAGE 4238 type_name: ".containerd.types.Metric" 4239 json_name: "metrics" 4240 } 4241 } 4242 message_type { 4243 name: "WaitRequest" 4244 field { 4245 name: "container_id" 4246 number: 1 4247 label: LABEL_OPTIONAL 4248 type: TYPE_STRING 4249 json_name: "containerId" 4250 } 4251 field { 4252 name: "exec_id" 4253 number: 2 4254 label: LABEL_OPTIONAL 4255 type: TYPE_STRING 4256 json_name: "execId" 4257 } 4258 } 4259 message_type { 4260 name: "WaitResponse" 4261 field { 4262 name: "exit_status" 4263 number: 1 4264 label: LABEL_OPTIONAL 4265 type: TYPE_UINT32 4266 json_name: "exitStatus" 4267 } 4268 field { 4269 name: "exited_at" 4270 number: 2 4271 label: LABEL_OPTIONAL 4272 type: TYPE_MESSAGE 4273 type_name: ".google.protobuf.Timestamp" 4274 options { 4275 65001: 0 4276 65010: 1 4277 } 4278 json_name: "exitedAt" 4279 } 4280 } 4281 service { 4282 name: "Tasks" 4283 method { 4284 name: "Create" 4285 input_type: ".containerd.services.tasks.v1.CreateTaskRequest" 4286 output_type: ".containerd.services.tasks.v1.CreateTaskResponse" 4287 } 4288 method { 4289 name: "Start" 4290 input_type: ".containerd.services.tasks.v1.StartRequest" 4291 output_type: ".containerd.services.tasks.v1.StartResponse" 4292 } 4293 method { 4294 name: "Delete" 4295 input_type: ".containerd.services.tasks.v1.DeleteTaskRequest" 4296 output_type: ".containerd.services.tasks.v1.DeleteResponse" 4297 } 4298 method { 4299 name: "DeleteProcess" 4300 input_type: ".containerd.services.tasks.v1.DeleteProcessRequest" 4301 output_type: ".containerd.services.tasks.v1.DeleteResponse" 4302 } 4303 method { 4304 name: "Get" 4305 input_type: ".containerd.services.tasks.v1.GetRequest" 4306 output_type: ".containerd.services.tasks.v1.GetResponse" 4307 } 4308 method { 4309 name: "List" 4310 input_type: ".containerd.services.tasks.v1.ListTasksRequest" 4311 output_type: ".containerd.services.tasks.v1.ListTasksResponse" 4312 } 4313 method { 4314 name: "Kill" 4315 input_type: ".containerd.services.tasks.v1.KillRequest" 4316 output_type: ".google.protobuf.Empty" 4317 } 4318 method { 4319 name: "Exec" 4320 input_type: ".containerd.services.tasks.v1.ExecProcessRequest" 4321 output_type: ".google.protobuf.Empty" 4322 } 4323 method { 4324 name: "ResizePty" 4325 input_type: ".containerd.services.tasks.v1.ResizePtyRequest" 4326 output_type: ".google.protobuf.Empty" 4327 } 4328 method { 4329 name: "CloseIO" 4330 input_type: ".containerd.services.tasks.v1.CloseIORequest" 4331 output_type: ".google.protobuf.Empty" 4332 } 4333 method { 4334 name: "Pause" 4335 input_type: ".containerd.services.tasks.v1.PauseTaskRequest" 4336 output_type: ".google.protobuf.Empty" 4337 } 4338 method { 4339 name: "Resume" 4340 input_type: ".containerd.services.tasks.v1.ResumeTaskRequest" 4341 output_type: ".google.protobuf.Empty" 4342 } 4343 method { 4344 name: "ListPids" 4345 input_type: ".containerd.services.tasks.v1.ListPidsRequest" 4346 output_type: ".containerd.services.tasks.v1.ListPidsResponse" 4347 } 4348 method { 4349 name: "Checkpoint" 4350 input_type: ".containerd.services.tasks.v1.CheckpointTaskRequest" 4351 output_type: ".containerd.services.tasks.v1.CheckpointTaskResponse" 4352 } 4353 method { 4354 name: "Update" 4355 input_type: ".containerd.services.tasks.v1.UpdateTaskRequest" 4356 output_type: ".google.protobuf.Empty" 4357 } 4358 method { 4359 name: "Metrics" 4360 input_type: ".containerd.services.tasks.v1.MetricsRequest" 4361 output_type: ".containerd.services.tasks.v1.MetricsResponse" 4362 } 4363 method { 4364 name: "Wait" 4365 input_type: ".containerd.services.tasks.v1.WaitRequest" 4366 output_type: ".containerd.services.tasks.v1.WaitResponse" 4367 } 4368 } 4369 options { 4370 go_package: "github.com/containerd/containerd/api/services/tasks/v1;tasks" 4371 } 4372 weak_dependency: 2 4373 syntax: "proto3" 4374 } 4375 file { 4376 name: "github.com/containerd/containerd/api/services/ttrpc/events/v1/events.proto" 4377 package: "containerd.services.events.ttrpc.v1" 4378 dependency: "github.com/containerd/containerd/protobuf/plugin/fieldpath.proto" 4379 dependency: "gogoproto/gogo.proto" 4380 dependency: "google/protobuf/any.proto" 4381 dependency: "google/protobuf/empty.proto" 4382 dependency: "google/protobuf/timestamp.proto" 4383 message_type { 4384 name: "ForwardRequest" 4385 field { 4386 name: "envelope" 4387 number: 1 4388 label: LABEL_OPTIONAL 4389 type: TYPE_MESSAGE 4390 type_name: ".containerd.services.events.ttrpc.v1.Envelope" 4391 json_name: "envelope" 4392 } 4393 } 4394 message_type { 4395 name: "Envelope" 4396 field { 4397 name: "timestamp" 4398 number: 1 4399 label: LABEL_OPTIONAL 4400 type: TYPE_MESSAGE 4401 type_name: ".google.protobuf.Timestamp" 4402 options { 4403 65001: 0 4404 65010: 1 4405 } 4406 json_name: "timestamp" 4407 } 4408 field { 4409 name: "namespace" 4410 number: 2 4411 label: LABEL_OPTIONAL 4412 type: TYPE_STRING 4413 json_name: "namespace" 4414 } 4415 field { 4416 name: "topic" 4417 number: 3 4418 label: LABEL_OPTIONAL 4419 type: TYPE_STRING 4420 json_name: "topic" 4421 } 4422 field { 4423 name: "event" 4424 number: 4 4425 label: LABEL_OPTIONAL 4426 type: TYPE_MESSAGE 4427 type_name: ".google.protobuf.Any" 4428 json_name: "event" 4429 } 4430 options { 4431 64400: 1 4432 } 4433 } 4434 service { 4435 name: "Events" 4436 method { 4437 name: "Forward" 4438 input_type: ".containerd.services.events.ttrpc.v1.ForwardRequest" 4439 output_type: ".google.protobuf.Empty" 4440 } 4441 } 4442 options { 4443 go_package: "github.com/containerd/containerd/api/services/ttrpc/events/v1;events" 4444 } 4445 weak_dependency: 0 4446 weak_dependency: 1 4447 syntax: "proto3" 4448 } 4449 file { 4450 name: "github.com/containerd/containerd/api/services/version/v1/version.proto" 4451 package: "containerd.services.version.v1" 4452 dependency: "google/protobuf/empty.proto" 4453 dependency: "gogoproto/gogo.proto" 4454 message_type { 4455 name: "VersionResponse" 4456 field { 4457 name: "version" 4458 number: 1 4459 label: LABEL_OPTIONAL 4460 type: TYPE_STRING 4461 json_name: "version" 4462 } 4463 field { 4464 name: "revision" 4465 number: 2 4466 label: LABEL_OPTIONAL 4467 type: TYPE_STRING 4468 json_name: "revision" 4469 } 4470 } 4471 service { 4472 name: "Version" 4473 method { 4474 name: "Version" 4475 input_type: ".google.protobuf.Empty" 4476 output_type: ".containerd.services.version.v1.VersionResponse" 4477 } 4478 } 4479 options { 4480 go_package: "github.com/containerd/containerd/api/services/version/v1;version" 4481 } 4482 weak_dependency: 1 4483 syntax: "proto3" 4484 }