-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(pkg, udevevent): decouple udevevent from controller (#609)
As per conventions, packages in the pkg directory should be independent of the overlying applications that use them. The `udevevent` package has tight coupling with the `controller` and `probe` packages from ndm_daemonset. Refactor to make `udevevent` standalone. This includes moving all application (ndm_daemonset in this case) specific code in `udevevent` to appropriate cmd packages and providing an API for the application code to use the functionalities of `udevevent`. - remove logging from package - reuse action constants from pkg udev - add inline comments Signed-off-by: Aditya Jain <aditya.jainadityajain.jain@gmail.com>
- Loading branch information
Showing
8 changed files
with
326 additions
and
243 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.