Documentation
¶
Index ¶
- Constants
- func GetProjectRootDirPath(path string) (rootDir string, err error)
- func InitPlugin(path, venv string, logOn bool) (plugin funplugin.IPlugin, err error)
- func LocateFile(startPath string, destFile string) (pluginPath string, err error)
- func LocatePlugin(path string) (pluginPath string, err error)
Constants ¶
View Source
const ( PluginGoBuiltFile = "debugtalk.so" // built from go official plugin PluginHashicorpGoBuiltFile = "debugtalk.bin" // built from hashicorp go plugin PluginGoSourceFile = "debugtalk.go" // golang function plugin source file PluginGoSourceGenFile = "debugtalk_gen.go" // generated for hashicorp go plugin PluginPySourceFile = "debugtalk.py" // python function plugin source file PluginPySourceGenFile = ".debugtalk_gen.py" // generated for hashicorp python plugin )
Variables ¶
This section is empty.
Functions ¶
func GetProjectRootDirPath ¶
func InitPlugin ¶
func LocateFile ¶
LocateFile searches destFile upward recursively until system root dir if not found, then searches in hrp executable dir
func LocatePlugin ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.