open-vault/builtin/logical/database/dbplugin
Brian Kassouf afe53eb862
Database gRPC plugins (#3666)
* Start work on context aware backends

* Start work on moving the database plugins to gRPC in order to pass context

* Add context to builtin database plugins

* use byte slice instead of string

* Context all the things

* Move proto messages to the dbplugin package

* Add a grpc mechanism for running backend plugins

* Serve the GRPC plugin

* Add backwards compatibility to the database plugins

* Remove backend plugin changes

* Remove backend plugin changes

* Cleanup the transport implementations

* If grpc connection is in an unexpected state restart the plugin

* Fix tests

* Fix tests

* Remove context from the request object, replace it with context.TODO

* Add a test to verify netRPC plugins still work

* Remove unused mapstructure call

* Code review fixes

* Code review fixes

* Code review fixes
2017-12-14 14:03:11 -08:00
..
client.go Database gRPC plugins (#3666) 2017-12-14 14:03:11 -08:00
database.pb.go Database gRPC plugins (#3666) 2017-12-14 14:03:11 -08:00
database.proto Database gRPC plugins (#3666) 2017-12-14 14:03:11 -08:00
databasemiddleware.go Database gRPC plugins (#3666) 2017-12-14 14:03:11 -08:00
grpc_transport.go Database gRPC plugins (#3666) 2017-12-14 14:03:11 -08:00
netrpc_transport.go Database gRPC plugins (#3666) 2017-12-14 14:03:11 -08:00
plugin.go Database gRPC plugins (#3666) 2017-12-14 14:03:11 -08:00
plugin_test.go Database gRPC plugins (#3666) 2017-12-14 14:03:11 -08:00
server.go Database gRPC plugins (#3666) 2017-12-14 14:03:11 -08:00