mirror of
https://github.com/containerd/containerd.git
synced 2026-08-03 22:50:44 +00:00
Drop outdated pb.txt files
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
4181
api/1.0.pb.txt
4181
api/1.0.pb.txt
File diff suppressed because it is too large
Load Diff
4181
api/1.1.pb.txt
4181
api/1.1.pb.txt
File diff suppressed because it is too large
Load Diff
4205
api/1.2.pb.txt
4205
api/1.2.pb.txt
File diff suppressed because it is too large
Load Diff
@@ -1,66 +0,0 @@
|
||||
version = "2"
|
||||
generators = ["go", "go-grpc", "go-ttrpc"]
|
||||
|
||||
# Control protoc include paths. Below are usually some good defaults, but feel
|
||||
# free to try it without them if it works for your project.
|
||||
[includes]
|
||||
# Include paths that will be added before all others. Typically, you want to
|
||||
# treat the root of the project as an include, but this may not be necessary.
|
||||
before = []
|
||||
|
||||
# Paths that will be added untouched to the end of the includes. We use
|
||||
# `/usr/local/include` to pickup the common install location of protobuf.
|
||||
# This is the default.
|
||||
after = ["/usr/local/include"]
|
||||
|
||||
# This section maps protobuf imports to Go packages. These will become
|
||||
# `-M` directives in the call to the go protobuf generator.
|
||||
[packages]
|
||||
"google/rpc/status.proto" = "google.golang.org/genproto/googleapis/rpc/status"
|
||||
|
||||
[parameters.go-ttrpc]
|
||||
prefix = "TTRPC"
|
||||
|
||||
[[overrides]]
|
||||
prefixes = ["github.com/containerd/containerd/api/events"]
|
||||
generators = ["go", "go-ttrpc", "go-fieldpath"]
|
||||
|
||||
[overrides.parameters.go-ttrpc]
|
||||
prefix = ""
|
||||
|
||||
[[overrides]]
|
||||
prefixes = ["github.com/containerd/containerd/api/services/ttrpc/events/v1"]
|
||||
generators = ["go", "go-ttrpc"]
|
||||
|
||||
[overrides.parameters.go-ttrpc]
|
||||
prefix = ""
|
||||
|
||||
[[overrides]]
|
||||
# enable ttrpc and disable fieldpath and grpc for the shim
|
||||
prefixes = [
|
||||
"github.com/containerd/containerd/api/runtime/task/v2",
|
||||
]
|
||||
generators = ["go", "go-ttrpc"]
|
||||
|
||||
[overrides.parameters.go-ttrpc]
|
||||
prefix = ""
|
||||
|
||||
[[overrides]]
|
||||
prefixes = [
|
||||
"github.com/containerd/containerd/api/runtime/sandbox/v1",
|
||||
]
|
||||
generators = ["go", "go-ttrpc", "go-grpc"]
|
||||
|
||||
[[overrides]]
|
||||
prefixes = [
|
||||
"github.com/containerd/containerd/api/runtime/task/v3",
|
||||
]
|
||||
generators = ["go", "go-ttrpc", "go-grpc"]
|
||||
|
||||
# Aggregrate the API descriptors to lock down API changes.
|
||||
[[descriptors]]
|
||||
prefix = "github.com/containerd/containerd/api"
|
||||
target = "next.pb.txt"
|
||||
ignore_files = [
|
||||
"google/protobuf/descriptor.proto",
|
||||
]
|
||||
@@ -1,18 +0,0 @@
|
||||
This directory contains the GRPC API definitions for containerd.
|
||||
|
||||
All defined services and messages have been aggregated into `*.pb.txt`
|
||||
descriptors files in this directory. Definitions present here are considered
|
||||
frozen after the release.
|
||||
|
||||
At release time, the current `next.pb.txt` file will be moved into place to
|
||||
freeze the API changes for the minor version. For example, when 1.0.0 is
|
||||
released, `next.pb.txt` should be moved to `1.0.txt`. Notice that we leave off
|
||||
the patch number, since the API will be completely locked down for a given
|
||||
patch series.
|
||||
|
||||
We may find that by default, protobuf descriptors are too noisy to lock down
|
||||
API changes. In that case, we may filter out certain fields in the descriptors,
|
||||
possibly regenerating for old versions.
|
||||
|
||||
This process is similar to the [process used to ensure backwards compatibility
|
||||
in Go](https://github.com/golang/go/tree/master/api).
|
||||
8243
api/next.pb.txt
8243
api/next.pb.txt
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user