...
1version = "1"
2generator = "gogoctrd"
3plugins = ["grpc", "fieldpath"]
4
5# Control protoc include paths. Below are usually some good defaults, but feel
6# free to try it without them if it works for your project.
7[includes]
8 # Include paths that will be added before all others. Typically, you want to
9 # treat the root of the project as an include, but this may not be necessary.
10 before = ["./protobuf"]
11
12 # defaults are "/usr/local/include" and "/usr/include", which don't exist on Windows.
13 # override defaults to supress errors about non-existant directories.
14 after = []
15
16 # Paths that should be treated as include roots in relation to the vendor
17 # directory. These will be calculated with the vendor directory nearest the
18 # target package.
19 packages = ["github.com/gogo/protobuf"]
20
21# This section maps protobuf imports to Go packages. These will become
22# `-M` directives in the call to the go protobuf generator.
23[packages]
24 "gogoproto/gogo.proto" = "github.com/gogo/protobuf/gogoproto"
25 "google/protobuf/any.proto" = "github.com/gogo/protobuf/types"
26 "google/protobuf/empty.proto" = "github.com/gogo/protobuf/types"
27 "google/protobuf/struct.proto" = "github.com/gogo/protobuf/types"
28 "google/protobuf/descriptor.proto" = "github.com/gogo/protobuf/protoc-gen-gogo/descriptor"
29 "google/protobuf/field_mask.proto" = "github.com/gogo/protobuf/types"
30 "google/protobuf/timestamp.proto" = "github.com/gogo/protobuf/types"
31 "google/protobuf/duration.proto" = "github.com/gogo/protobuf/types"
32 "github/containerd/cgroups/stats/v1/metrics.proto" = "github.com/containerd/cgroups/stats/v1"
33
34[[overrides]]
35prefixes = ["github.com/Microsoft/hcsshim/internal/shimdiag"]
36plugins = ["ttrpc"]
37
38[[overrides]]
39prefixes = ["github.com/Microsoft/hcsshim/internal/extendedtask"]
40plugins = ["ttrpc"]
41
42[[overrides]]
43prefixes = ["github.com/Microsoft/hcsshim/internal/computeagent"]
44plugins = ["ttrpc"]
45
46[[overrides]]
47prefixes = ["github.com/Microsoft/hcsshim/internal/ncproxyttrpc"]
48plugins = ["ttrpc"]
49
50[[overrides]]
51prefixes = ["github.com/Microsoft/hcsshim/internal/vmservice"]
52plugins = ["ttrpc"]
View as plain text