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

Implement the match logic #932

Merged
merged 3 commits into from
Nov 30, 2020
Merged

Commits on Nov 25, 2020

  1. Implement matching logic

    Adding a Match function that accepts a Match instance, an object to be matched against
    and its related namespace.
    
    Adding a AppliesTo function that accepts a ApplyTo slice and an object to be matched against.
    
    Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
    fedepaol committed Nov 25, 2020
    Configuration menu
    Copy the full SHA
    21359d7 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2020

  1. Integrate the mutators with the match logic

    Each mutator matches uses the Matches function to check if the given object matches
    the mutator. This also includes a change in the mutator interface as metav1.Object
    do not have accessors for kind / group.
    
    Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
    fedepaol committed Nov 27, 2020
    Configuration menu
    Copy the full SHA
    55aaaff View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2020

  1. Configuration menu
    Copy the full SHA
    5ca2951 View commit details
    Browse the repository at this point in the history