Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin interface { // GetName returns plugin name GetName() string // RegisterProxyWebHandlers registers new methods with the ProxyWebHandler RegisterProxyWebHandlers(handler interface{}) error // RegisterAuthWebHandlers registers new methods with the Auth Web Handler RegisterAuthWebHandlers(service interface{}) error // RegisterAuthServices registers new services on the AuthServer RegisterAuthServices(server interface{}) error }
Plugin describes interfaces of the teleport core plugin
type Registry ¶
type Registry interface { // Add adds plugin to the registry Add(plugin Plugin) error // RegisterProxyWebHandlers registers Teleport Proxy web handlers RegisterProxyWebHandlers(hander interface{}) error // RegisterAuthWebHandlers registers Teleport Auth web handlers RegisterAuthWebHandlers(handler interface{}) error // RegisterAuthServices registerse Teleport AuthServer services RegisterAuthServices(server interface{}) error }
Registry is the plugin registry
Click to show internal directories.
Click to hide internal directories.