This PR improves the detection of exposed types by including the "closest" comment as well because some types are not strictly following the implicit protocols.
We also relax the constraint for filtering "exported" types. For example, the (Kube)Config type in the "v1" group should be exposed when parsing the client-go package.
Needs approval from an approver in each of these files:
- ~~[OWNERS](https://github.com/kubernetes-sigs/reference-docs/blob/master/OWNERS)~~ [tengqm]
Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
This PR improves the detection of exposed types by including the "closest" comment as well because some types are not strictly following the implicit protocols. We also relax the constraint for filtering "exported" types. For example, the (Kube)Config type in the "v1" group should be exposed when parsing the client-go package.