vault/sdk/plugin
Christopher Swenson 925702de10
events: Add full api_path; rename Send (#22487)
Biggest change: we rename `Send` to `SendEvent` in `logical.EventSender`..
Initially we picked `Send` to match the underlying go-eventlogger
broker's `Send` method, and to avoid the stuttering of `events.SendEvent`.

However, I think it is more useful for the `logical.EventSender`
interface to use the method `SendEvent` so that, for example,
`framework.Backend` can implement it.

This is a relatively change now that should not affect anything
except the KV plugin, which is being fixed in another PR.

Another change: if the `secret_path` metadata is present, then
the plugin-aware `EventBus` will prepend it with the plugin mount.
This allows the `secret_path` to be the full path to any referenced
secret.

This change is also backwards compatible, since this field was not
present in the KV plugin. (It did use the slightly different `path`
field, which we can keep for now.)
2023-08-23 15:11:22 -07:00
..
mock CreateOperation should only be implemented alongside ExistenceCheck (#18492) 2023-07-18 13:44:15 +01:00
pb Bump google.golang.go/protobuf dependency to v1.31.0 (#22176) 2023-08-02 17:19:16 +00:00
backend.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
grpc_backend_client.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
grpc_backend_server.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
grpc_backend_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
grpc_backend.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
grpc_events.go events: Add full api_path; rename Send (#22487) 2023-08-23 15:11:22 -07:00
grpc_storage.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
grpc_system_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
grpc_system.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
logger_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
logger.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
middleware.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
plugin_v5.go Simplify tracking of external plugins (#20009) 2023-04-12 18:34:35 +01:00
plugin.go Simplify tracking of external plugins (#20009) 2023-04-12 18:34:35 +01:00
serve.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
storage_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00