Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HandshakeConfig = go_plugin.HandshakeConfig{
ProtocolVersion: 1,
MagicCookieKey: "COFIDECTL_PLUGIN",
MagicCookieValue: "config",
}
HandshakeConfig is a common handshake that is shared by plugin and host.
View Source
var PluginServeArgs []string = []string{"plugin", "serve"}
PluginServeArgs contains the arguments passed to plugins when executing them as a gRPC plugin.
Functions ¶
func GetPluginDir ¶
func GetPluginPath ¶
func IsPluginServeCmd ¶ added in v0.5.0
IsPluginServeCmd returns whether the provided command line arguments indicate that a plugin should serve gRPC plugins.
func PluginExists ¶
Types ¶
type CliPlugin ¶
func NewCliPlugin ¶
Click to show internal directories.
Click to hide internal directories.