package
4.8.0-alpha00
Repository: https://github.com/digitalrebar/provision.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
InitApp initializes the plugin system and makes the base actions available in cobra CLI.
Leaving allows the plugin to inform DRP that it is about to exit.
No description provided by the author
Publish allows the plugin provider to generate events back to DRP.
# Variables
App is the global cobra command structure.
# Interfaces
PluginActor is an optional interface that your plugin should implement if you plan on handling Actions.
PluginConfig is a mandatory interface that your plugin must implement.
PluginEventSelector is an optional interface that your plugin can implement to specify what events the plugin is interested in receiving from dr-provision.
PluginPublisher is an optional interface that your plugin can implement if it is interested in receiving events from dr-provision.
PluginStop is an optional interface that your plugin can implement to provide custom behaviour whenever the plugin is stopped.
PluginUnpacker is an optional interface that your plugin can implement if it needs to unpack additional assets into the static file space.
PluginValidator is an optional interface that your plugin can implement if it needs to check that it can run in the environment it was executed in.