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.5.3"
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 ConvertCommonName ¶
ConvertCommonName returns name which deleted "_" and converted capital letter to their lower case
Types ¶
Click to show internal directories.
Click to hide internal directories.