Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultPluginName = "aspectplugin"
DefaultPluginName is the name each aspect plugin must provide.
Variables ¶
View Source
var Handshake = goplugin.HandshakeConfig{
ProtocolVersion: 3,
MagicCookieKey: "PLUGIN",
MagicCookieValue: "ASPECT",
}
Handshake is the shared handshake config for the v1alpha4 protocol.
View Source
var PluginMap = map[string]goplugin.Plugin{ DefaultPluginName: &plugin.GRPCPlugin{}, }
PluginMap represents the plugin interfaces allowed to be implemented by a plugin executable.
Functions ¶
func NewConfigFor ¶
func NewConfigFor(p plugin.Plugin) *goplugin.ServeConfig
NewConfigFor returns the default configuration for the passed Plugin implementation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.