Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add driver.AddTemplate and driver.RemoveTemplate #179

Merged
merged 5 commits into from
Jan 14, 2022

Commits on Jan 13, 2022

  1. Add AddTemplate and RemoveTemplate interface to driver

    Signed-off-by: Becky Huang <beckyhd@google.com>
    becky-hd committed Jan 13, 2022
    Configuration menu
    Copy the full SHA
    ff3e2cb View commit details
    Browse the repository at this point in the history
  2. Move parsing module logic from local.AddTemplate to MapModules, shari…

    …ng with client.CreateCRD
    
    Signed-off-by: Becky Huang <beckyhd@google.com>
    becky-hd committed Jan 13, 2022
    Configuration menu
    Copy the full SHA
    dc38ea6 View commit details
    Browse the repository at this point in the history
  3. refactor local.driver (open-policy-agent#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>
    becky-hd committed Jan 13, 2022
    Configuration menu
    Copy the full SHA
    bc75f26 View commit details
    Browse the repository at this point in the history
  4. Add driver.AddTemplate unit tests (open-policy-agent#171)

    Signed-off-by: Becky Huang <beckyhd@google.com>
    becky-hd committed Jan 13, 2022
    Configuration menu
    Copy the full SHA
    98480b2 View commit details
    Browse the repository at this point in the history
  5. Add client.ValidateConstraintTemplate interface to replace validation…

    … logic from client.CeateCRD (open-policy-agent#171)
    
    Signed-off-by: Becky Huang <beckyhd@google.com>
    becky-hd committed Jan 13, 2022
    Configuration menu
    Copy the full SHA
    75008b5 View commit details
    Browse the repository at this point in the history