forked from containerd/cgroups
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use protobufs as Stats return result
Signed-off-by: Michael Crosby <[email protected]>
- Loading branch information
1 parent
d6e23fb
commit 1423fc2
Showing
14 changed files
with
4,636 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
version = "unstable" | ||
generator = "gogoctrd" | ||
plugins = ["grpc"] | ||
|
||
# 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 should be treated as include roots in relation to the vendor | ||
# directory. These will be calculated with the vendor directory nearest the | ||
# target package. | ||
# vendored = ["github.com/gogo/protobuf"] | ||
packages = ["github.com/gogo/protobuf"] | ||
|
||
# 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] | ||
"gogoproto/gogo.proto" = "github.com/gogo/protobuf/gogoproto" | ||
"google/protobuf/any.proto" = "github.com/gogo/protobuf/types" | ||
"google/protobuf/descriptor.proto" = "github.com/gogo/protobuf/protoc-gen-gogo/descriptor" | ||
"google/protobuf/field_mask.proto" = "github.com/gogo/protobuf/types" | ||
"google/protobuf/timestamp.proto" = "github.com/gogo/protobuf/types" | ||
|
||
# Aggregrate the API descriptors to lock down API changes. | ||
[[descriptors]] | ||
prefix = "github.com/containerd/cgroups" | ||
target = "metrics.pb.txt" | ||
ignore_files = [ | ||
"google/protobuf/descriptor.proto", | ||
"gogoproto/gogo.proto" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.