• Kubernetes Submit Queue's avatar
    Merge pull request #68195 from luxas/consolidate_componentconfig_code_standards · a6eb49f0
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 67950, 68195). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.
    
    Consolidate componentconfig code standards
    
    **What this PR does / why we need it**:
    
    This PR fixes a bunch of very small misalignments in ComponentConfig packages:
     - Add sane comments to all functions/variables in componentconfig `register.go` files
     - Make the `register.go` files of componentconfig pkgs follow the same pattern and not differ from each other like they do today.
     - Register the `openapi-gen` tag in all `doc.go` files where the pkg contains _external_ types.
     - Add the `groupName` tag where missing
     - Fix cases where `addKnownTypes` was registered twice in the `SchemeBuilder`
     - Add `Readme` and `OWNERS` files to `Godeps` directories if missing.
    
    **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
    
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    
    /assign @sttts @thockin
    a6eb49f0
Name
Last commit
Last update
..
BUILD Loading commit data...
defaults.go Loading commit data...
defaults_linux.go Loading commit data...
defaults_others.go Loading commit data...
doc.go Loading commit data...
register.go Loading commit data...
zz_generated.conversion.go Loading commit data...
zz_generated.deepcopy.go Loading commit data...
zz_generated.defaults.go Loading commit data...