Extend ForResource to support unknown resources with client pool
File: pkg/client/informers/externalversions/generic.go:51
Currently ForResource() only handles hardcoded resource types via switch statement. Need to extend it to dynamically handle unknown/arbitrary resources using a client pool.
Current behavior:
- Only supports
gameservers and gameserversets
- Returns error for unrecognized resources
Expected:
- Support arbitrary GroupVersionResources
- Use dynamic client pool for unknown types