Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Handshake = plugin.HandshakeConfig{
ProtocolVersion: 1,
MagicCookieKey: "PROMETHEUS_PLUGIN",
MagicCookieValue: "prometheus",
}
View Source
var PluginMap = map[string]plugin.Plugin{ "identity": &identity.IdentityPlugin{}, "tool.0": &tools.ToolPlugin{}, "tool.1": &tools.ToolPlugin{}, "tool.2": &tools.ToolPlugin{}, "tool.3": &tools.ToolPlugin{}, "tool.4": &tools.ToolPlugin{}, "cache": &cache.CachePlugin{}, }
Functions ¶
func ServePlugin ¶
func ServePlugin(i identity.IdentityService, c cache.CacheService) error
func ServeTools ¶
func ServeTools(is identity.IdentityService, services []tools.ToolService) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.