Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrPluginNotFound = errors.New("plugin not found")
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin interface { Describe(ctx context.Context) (*apiplugin.PluginDesc, error) // Returns nil if not found. Get(ctx context.Context, name string) (*apivalues.Value, error) GetAll(ctx context.Context) (map[string]*apivalues.Value, error) Call(ctx context.Context, v *apivalues.Value, args []*apivalues.Value, kwargs map[string]*apivalues.Value) (*apivalues.Value, error) }
Click to show internal directories.
Click to hide internal directories.