Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMismatchType = fmt.Errorf("mismatch on mounted backend and plugin backend type") ErrMismatchPaths = fmt.Errorf("mismatch on mounted backend and plugin backend special paths") )
Functions ¶
Types ¶
type PluginBackend ¶
type PluginBackend struct { logical.Backend sync.RWMutex // contains filtered or unexported fields }
PluginBackend is a thin wrapper around plugin.BackendPluginClient
func (*PluginBackend) HandleExistenceCheck ¶
func (b *PluginBackend) HandleExistenceCheck(ctx context.Context, req *logical.Request) (bool, bool, error)
HandleExistenceCheck is a thin wrapper implementation of HandleRequest that includes automatic plugin reload.
func (*PluginBackend) HandleRequest ¶
func (b *PluginBackend) HandleRequest(ctx context.Context, req *logical.Request) (*logical.Response, error)
HandleRequest is a thin wrapper implementation of HandleRequest that includes automatic plugin reload.
Click to show internal directories.
Click to hide internal directories.