python

package
v0.0.0-...-6d96ccb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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 GetProjectRootDirPath(path string) (rootDir string, err error)

func InitPlugin

func InitPlugin(path, venv string, logOn bool) (plugin funplugin.IPlugin, err error)

func LocateFile

func LocateFile(startPath string, destFile string) (pluginPath string, err error)

LocateFile searches destFile upward recursively until system root dir if not found, then searches in hrp executable dir

func LocatePlugin

func LocatePlugin(path string) (pluginPath string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL