Documentation ¶
Overview ¶
Package builtins contains the built-in plugin implementations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶ added in v0.12.1
func NewClient(pluginName string) (clients.PluginClient, bool)
NewClient returns a new built-in plugin client for the given plugin name.
func NewPluginConfigs ¶ added in v0.3.1
func NewPluginConfigs() map[string]FlagBinder
NewPluginConfigs returns a map of the built-in plugin configurations.
func NewPluginMap ¶
func NewPluginMap() map[string]clients.PluginClient
NewPluginMap returns a map of the built-in plugins.
Types ¶
type FlagBinder ¶ added in v0.3.1
type FlagBinder interface { // BindFlags is called to bind the options to the flagset // with the given prefix. BindFlags(string, *pflag.FlagSet) // AsMapStructure is called to convert the options to a map // of string keys and values. AsMapStructure() map[string]any // SetMapStructure is called to set the options from a map // of string keys and values. SetMapStructure(map[string]any) }
FlagBinder is an interface implemented by the built-in plugin option sets to bind them to the given flag set.
Directories ¶
Path | Synopsis |
---|---|
Package basicauth is an authentication plugin that uses basic auth.
|
Package basicauth is an authentication plugin that uses basic auth. |
Package debug implements a plugin that exposes an HTTP server for debugging purposes.
|
Package debug implements a plugin that exposes an HTTP server for debugging purposes. |
Package idauth is an authentication plugin based on libp2p peer IDs.
|
Package idauth is an authentication plugin based on libp2p peer IDs. |
Package ldap implements a basic LDAP authentication plugin.
|
Package ldap implements a basic LDAP authentication plugin. |
Package mtls is an authentication plugin that uses mTLS.
|
Package mtls is an authentication plugin that uses mTLS. |
Click to show internal directories.
Click to hide internal directories.