-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add driver.AddTemplate and driver.RemoveTemplate (#179)
* Add AddTemplate and RemoveTemplate interface to driver Signed-off-by: Becky Huang <beckyhd@google.com> * Move parsing module logic from local.AddTemplate to MapModules, sharing with client.CreateCRD Signed-off-by: Becky Huang <beckyhd@google.com> * refactor local.driver (#171) export local.Driver set Externs for local.Driver within client.init move local.Driver PutModules and DeleteModules to private, deleted from drivers interface remove rego validation in client.CreateCRD Signed-off-by: Becky Huang <beckyhd@google.com> * Add driver.AddTemplate unit tests (#171) Signed-off-by: Becky Huang <beckyhd@google.com> * Add client.ValidateConstraintTemplate interface to replace validation logic from client.CeateCRD (#171) Signed-off-by: Becky Huang <beckyhd@google.com>
- Loading branch information
Showing
9 changed files
with
723 additions
and
228 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
Oops, something went wrong.