Documentation ¶
Overview ¶
Package extensions consumes extensions in stencil
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtensionCaller ¶
type ExtensionCaller struct {
// contains filtered or unexported fields
}
ExtensionCaller calls extension functions
func (*ExtensionCaller) Call ¶
func (ec *ExtensionCaller) Call(args ...interface{}) (interface{}, error)
Call returns a function based on its path, e.g. test.callFunction
type Host ¶
type Host struct {
// contains filtered or unexported fields
}
Host implements an extension host that handles registering extensions and executing them.
func (*Host) GetExtensionCaller ¶
func (h *Host) GetExtensionCaller(ctx context.Context) (*ExtensionCaller, error)
GetExtensionCaller returns an extension caller that's aware of all extension functions
Directories ¶
Path | Synopsis |
---|---|
Package apiv1 implements the bridge between a extension and go-plugin providing most of the implementation for the extension if it's written in Go.
|
Package apiv1 implements the bridge between a extension and go-plugin providing most of the implementation for the extension if it's written in Go. |
Click to show internal directories.
Click to hide internal directories.