Documentation ¶
Overview ¶
Package plugin contains general interfaces and types relevant to plugins. It also provides the methods for registering plugins.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPluginSupportedForCurrentPlatform ¶
IsPluginSupportedForCurrentPlatform always returns true because currently, there is no plugin that particular linux version doesn't support while other linux version does.
func RegisteredLongRunningPlugins ¶
func RegisteredLongRunningPlugins(context context.T) runpluginutil.PluginRegistry
LongRunningPlugins returns a map of long running plugins and their respective handlers
func RegisteredWorkerPlugins ¶
func RegisteredWorkerPlugins(context context.T) runpluginutil.PluginRegistry
RegisteredWorkerPlugins returns all registered core plugins.
Types ¶
type Mock ¶
Mock stands for a mocked plugin.
func (*Mock) Execute ¶
func (m *Mock) Execute(context context.T, config contracts.Configuration, cancelFlag task.CancelFlag, subDocumentRunner runpluginutil.PluginRunner) (res contracts.PluginResult)
Execute mocks a plugin execution.
Click to show internal directories.
Click to hide internal directories.