Documentation
¶
Index ¶
Constants ¶
View Source
const PluginTypeEnvName = "HRP_PLUGIN_TYPE"
PluginTypeEnvName is used to specify hashicorp go plugin type, rpc/grpc
View Source
const Version = "v0.4.6"
Variables ¶
View Source
var HandshakeConfig = plugin.HandshakeConfig{
ProtocolVersion: 1,
MagicCookieKey: "HttpRunnerPlus",
MagicCookieValue: "debugtalk",
}
HandshakeConfig is used to just do a basic handshake between a plugin and host. If the handshake fails, a user friendly error is shown. This prevents users from executing bad plugins or executing a plugin directory. It is a UX feature, not a security feature.
Functions ¶
func EnsurePython3Venv ¶ added in v0.4.1
EnsurePython3Venv ensures python3 venv for hashicorp python plugin venvDir should be directory path of target venv
func InstallPythonPackage ¶ added in v0.4.3
Types ¶
Click to show internal directories.
Click to hide internal directories.