open-vault/builtin/logical/database/dbplugin
Brian Kassouf 7050c1ca41
gRPC Backend Plugins (#3808)
* Add grpc plugins

* Add grpc plugins

* Translate wrap info to/from proto

* Add nil checks

* Fix nil marshaling errors

* Provide logging through the go-plugin logger

* handle errors in the messages

* Update the TLS config so bidirectional connections work

* Add connectivity checks

* Restart plugin and add timeouts where context is not availible

* Add the response wrap data into the grpc system implementation

* Add leaseoptions to pb.Auth

* Add an error translator

* Add tests for translating the proto objects

* Fix rename of function

* Add tracing to plugins for easier debugging

* Handle plugin crashes with the go-plugin context

* Add test for grpcStorage

* Add tests for backend and system

* Bump go-plugin for GRPCBroker

* Remove RegisterLicense

* Add casing translations for new proto messages

* Use doneCtx in grpcClient

* Use doneCtx in grpcClient

* s/shutdown/shut down/
2018-01-18 13:49:20 -08:00
..
client.go remove the Initialize wrap and call close explicitly (#3769) 2018-01-10 13:07:55 -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 gRPC Backend Plugins (#3808) 2018-01-18 13:49:20 -08:00
netrpc_transport.go Database gRPC plugins (#3666) 2017-12-14 14:03:11 -08:00
plugin.go gRPC Backend Plugins (#3808) 2018-01-18 13:49:20 -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