• Kubernetes Submit Queue's avatar
    Merge pull request #56198 from dixudx/remove_FilterFunc_use_SelectionPredicate · 40245699
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 55977, 56198, 57202, 57254, 57214). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    remove FilterFunc and use SelectionPredicate everywhere
    
    **What this PR does / why we need it**:
    > // FilterFunc takes an API object and returns true if the object satisfies some requirements.
    // TODO: We will remove this type and use SelectionPredicate everywhere.
    type FilterFunc func(obj runtime.Object) bool
    
    **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
    Fixes #
    
    **Special notes for your reviewer**:
    /assign @liggitt @wojtek-t 
    **Release note**:
    
    ```release-note
    None
    ```
    40245699
Name
Last commit
Last update
..
src/k8s.io Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...