Documentation ¶
Overview ¶
Package base provides some helper functionalities that should be used by every plugin.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Logger ¶
func Logger() hclog.Logger
Logger creates a new logger that should be used as a basis for all logging in the plugin. So it's advised to call this method first and store the logger in a (global) variable.
func RegisterPlugins ¶
func RegisterPlugins(pluginImpls ...interface{}) error
RegisterPlugins takes a list of objects that implement the different plugin API interfaces. It will automatically detect which of the interfaces are implemented and will register them as plugins. This way, the underlying plugin system infoPlugin abstracted away for everybody implementing plugins for the Raito CLI.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
sync_from_target
Package sync_from_target provides the tooling to build the file to export access providers from the data source to be imported into Raito.
|
Package sync_from_target provides the tooling to build the file to export access providers from the data source to be imported into Raito. |
Package data_source provides the tooling to build the Raito data source import file.
|
Package data_source provides the tooling to build the Raito data source import file. |
Package identity_store provides the tooling to build the Raito identity store import files.
|
Package identity_store provides the tooling to build the Raito identity store import files. |
util
|
|
slice
Package slice contains some utility functions to work with slices
|
Package slice contains some utility functions to work with slices |
url
Package url contains some helper functions to deal with URLs.
|
Package url contains some helper functions to deal with URLs. |
Click to show internal directories.
Click to hide internal directories.