-
Notifications
You must be signed in to change notification settings - Fork 476
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update all plugins and plugin unit tests to work with new plugin API.
The old API performed all configuration checks coupled with plugin reconfiguration under the Configure() func. The new API adds a Validation() func that only performs configuration checks but has no impact on the running plugin. To facilitate easier user, the pluginconf package was added that makes it easier to handle the merged code streams through a pluginconf.Status struct that will capture the first error (for integration with Configure() while permitting the Validation() to capture all errors that can be captured. Unit tests had to be reworked, as a side-effect of using the new pluginconf package is that all plugins now automatically check their trustdomain, instead of each plugin checking it in a haphazard manner. Occasionally, very small fixes were performed on plugins, and plugin coding standards were tweaked in small ways to be more similar to each other. Signed-off-by: Edwin Buck <edwbuck@gmail.com>
- Loading branch information
Showing
94 changed files
with
2,948 additions
and
1,661 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.