plugin

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

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 ServeTools

func ServeTools(is identity.IdentityService, services []tools.ToolService) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL