Documentation ¶
Index ¶
- func ClientHandshakeConfig(pluginClient pluginsdk.PluginClient) goplugin.HandshakeConfig
- func NewLogger() hclog.Logger
- func Serve(serverLogger, pluginLogger hclog.Logger, pluginServer pluginsdk.PluginServer, ...)
- func ServerHandshakeConfig(pluginServer pluginsdk.PluginServer) goplugin.HandshakeConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientHandshakeConfig ¶
func ClientHandshakeConfig(pluginClient pluginsdk.PluginClient) goplugin.HandshakeConfig
ClientHandshakeConfig returns the handshake configuration for the given client implementation.
func NewLogger ¶
func NewLogger() hclog.Logger
NewLogger returns a new default logger that emits logs in a format compatible with SPIRE.
func Serve ¶
func Serve(serverLogger, pluginLogger hclog.Logger, pluginServer pluginsdk.PluginServer, serviceServers []pluginsdk.ServiceServer, testConfig *goplugin.ServeTestConfig)
Serve serves the plugin with the given loggers and plugin/service servers and an optional test configuration.
func ServerHandshakeConfig ¶
func ServerHandshakeConfig(pluginServer pluginsdk.PluginServer) goplugin.HandshakeConfig
ServerHandshakeConfig returns the handshake configuration for the given server implementation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.