Commit abae73c
authored
Fix Go file naming exceptions (#11565)
This PR investigates the Go file name exceptions in
`naming_violations.txt`, identifies the fixable filenames, and fixes
them.
### Fixes and Renames:
We identified and renamed the following seven Go files whose prefixes
did not match a valid resource kind but could be safely renamed to their
corresponding CRD kind prefix:
1. `apis/vpcaccess/v1beta1/vpcaccess_connector_reference.go` ->
`vpcaccessconnector_reference.go` (kind: `VPCAccessConnector`)
2. `apis/vpcaccess/v1beta1/vpcaccess_types.go` ->
`vpcaccessconnector_types.go` (kind: `VPCAccessConnector`)
3. `pkg/controller/direct/dataproc/jobs_fuzzer.go` ->
`dataprocjob_fuzzer.go` (kind: `DataprocJob`)
4. `pkg/controller/direct/kms/autokeyconfig/autokey_mapper.go` ->
`kmsautokeyconfig_mapper.go` (kind: `KMSAutokeyConfig`)
5. `pkg/controller/direct/privateca/privatecapool_controller.go` ->
`privatecacapool_controller.go` (kind: `PrivateCACAPool`)
6. `pkg/controller/direct/workstations/cluster_controller.go` ->
`workstationcluster_controller.go` (kind: `WorkstationCluster`)
7. `pkg/controller/direct/workstations/config_controller.go` ->
`workstationconfig_controller.go` (kind: `WorkstationConfig`)
These files have been removed from the golden exceptions list in
`tests/apichecks/testdata/exceptions/naming_violations.txt`. Other
exceptions were confirmed to be reference-only, helper files, or legacy
fuzzers, which are not direct Kube kinds and thus remain in the
exceptions list.
This PR was generated by the **overseer,overseer** agent (powered by the
gemini-3.5-flash model).
Fixes #1155113 files changed
Lines changed: 0 additions & 7 deletions
File tree
- apis/vpcaccess/v1beta1
- pkg/controller/direct
- dataproc
- kms/autokeyconfig
- privateca
- workstations
- tests/apichecks/testdata/exceptions
File renamed without changes.
File renamed without changes.
0 commit comments