Plugin support #12
Labels
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sashakoshka/step#12
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Need to be able to load plugins from shared objects built with the plugin build mode.
Plugins should contain a single function
Plugin () any
that returns an object that can be cast to one or more of the interfaces in plugin.go. A STEP environment should not have a slice of FuncProviders, but rather a slicePlugins []any
of which may be cast to a FuncProvider as well as other things.The providers that we have now would cease to be called that and would instead be called builtin plugins
Or, maybe the object the plugin returns could be called a provider:
Provider () any
. This would not require any existing providers to be modified.