Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallFunctionPackageFromRepo ¶
func InstallFunctionPackageFromRepo( dataDir, repoURL string, forceClone bool, logger logger.LoggerInterface, ) error
InstallFunctionPackageFromRepo fetches and installs an external function package from a repository.
func RegisterFunctionsFromPath ¶
func RegisterFunctionsFromPath(packagePath string, logger logger.LoggerInterface) error
RegisterFunctionsFromPath registers functions from a local Go package.
Types ¶
type DynamicTemplateFuncProvider ¶
type DynamicTemplateFuncProvider struct {
// contains filtered or unexported fields
}
DynamicTemplateFuncProvider implements tempo_api.TemplateFuncProvider
func (*DynamicTemplateFuncProvider) GetFunctions ¶
func (p *DynamicTemplateFuncProvider) GetFunctions() template.FuncMap
GetFunctions returns registered function names
type ProviderMetadata ¶
type ProviderMetadata struct {
FilePath string // Path to provider.go
ModuleDir string // Root path of the provider module
Package string // The package name containing the Provider variable
}
ProviderMetadata holds information about a provider file.
Click to show internal directories.
Click to hide internal directories.