Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterNamespace ¶ added in v1.25.0
func RegisterNamespace(ns string, f RegistryFunc)
RegisterNamespace is the function called by a component that is pluggable, to register its namespace and a function to register the plugins.
func RegisterPlugin ¶ added in v1.25.0
RegisterPlugin is called to register a new plugin in the given namespace. Its called internally by reva, and should not be used by external plugins.
Types ¶
type RegistryFunc ¶ added in v1.25.0
RegistryFunc is the func a component that is pluggable must define to register the new func in its own registry. It is responsibility of the component to type assert the new func with the expected one and panic if not.
Click to show internal directories.
Click to hide internal directories.