open-nomad/plugins
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
..
base protos: Update .proto files not to use Go package name (#9301) 2020-11-10 08:42:35 -08:00
csi csi: loosen ValidateVolumeCapability requirements (#9049) 2020-10-08 12:53:24 -04:00
device protos: Update .proto files not to use Go package name (#9301) 2020-11-10 08:42:35 -08:00
drivers protos: Update .proto files not to use Go package name (#9301) 2020-11-10 08:42:35 -08:00
shared Update hcl2 vendoring 2020-05-19 15:00:03 -04:00
serve.go cleanup driver eventor goroutines 2020-05-26 11:04:04 -04:00