Documentation ¶
Overview ¶
Package pluginhelpers contains testhelpers that don't depend on package vault, and thus can be used within vault (as well as elsewhere.)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TestPlugin ¶
type TestPlugin struct { Name string Typ consts.PluginType Version string FileName string Sha256 string }
func CompilePlugin ¶
func CompilePlugin(t testing.T, typ consts.PluginType, pluginVersion string, pluginDir string) TestPlugin
to mount a plugin, we need a working binary plugin, so we compile one here. pluginVersion is used to override the plugin's self-reported version
Click to show internal directories.
Click to hide internal directories.