pub trait PluginRepositoryManager:
Send
+ Sync
+ Lifecycle {
// Required methods
fn scan_deploy_repository(&self);
fn remove_duplicates(&self);
fn scan_plugin_repository(&self);
fn watch_hot_deploy(&self);
fn unwatch_hot_deploy(&self);
}
Required Methods§
Sourcefn scan_deploy_repository(&self)
fn scan_deploy_repository(&self)
Scans the plugin hot deploy folder. Moves plugins to the plugin installation folder.
Sourcefn remove_duplicates(&self)
fn remove_duplicates(&self)
Scans the plugin installation folder and removes duplicates. If the same plugins exists multiple times, the plugin with the highest timestamp stays while all other are deleted.
Sourcefn scan_plugin_repository(&self)
fn scan_plugin_repository(&self)
Scans the plugin installation folder. Creates and registers new plugins to the plugin container manager.
Sourcefn watch_hot_deploy(&self)
fn watch_hot_deploy(&self)
Scans the plugin hot deploy folder.
If a new plugin is detected it will be moved to the plugin installation folder and a new plugin container will be created and registered.
If an existing plugin is detected a redeployment will be initiated.