open-nomad/plugins/device
Kris Hicks 9d03cf4c5f
protos: Update .proto files not to use Go package name (#9301)
Previously, it was required that you `go get github.com/hashicorp/nomad` to be
able to build protos, as the protoc invocation added an include directive that
pointed to `$GOPATH/src`, which is how dependent protos were discovered. As
Nomad now uses Go modules, it won't necessarily be cloned to `$GOPATH`.
(Additionally, if you _had_ go-gotten Nomad at some point, protoc compilation
would have possibly used the _wrong_ protos, as those wouldn't necessarily be
the most up-to-date ones.)

This change modifies the proto files and the `protoc` invocation to handle
discovering dependent protos via protoc plugin modifier statements that are
specific to the protoc plugin being used.

In this change, `make proto` was run to recompile the protos, which results in
changes only to the gzipped `FileDescriptorProto`.
2020-11-10 08:42:35 -08:00
..
cmd/example Add plugin API versioning to plugin loader and plugins 2018-12-18 16:48:00 -08:00
proto protos: Update .proto files not to use Go package name (#9301) 2020-11-10 08:42:35 -08:00
client.go Merge pull request #5229 from hashicorp/r-grabbag-201901019 2019-01-23 13:06:51 -05:00
device.go nvidia: support disabling the nvidia plugin (#8353) 2020-07-21 10:11:16 -04:00
mock.go fix race 2018-11-07 12:22:07 -08:00
plugin.go Plugin client's handle plugin dying 2018-11-12 17:09:27 -08:00
plugin_test.go Add plugin API versioning to plugin loader and plugins 2018-12-18 16:48:00 -08:00
server.go Device manager 2018-11-07 10:43:15 -08:00
util.go Move Stat{Object|Value} to plugins/shared/structs 2018-11-14 09:01:26 -05:00
versions.go Add plugin API versioning to plugin loader and plugins 2018-12-18 16:48:00 -08:00