| 119 | } |
| 120 | |
| 121 | type funcCache struct { |
| 122 | ListFunc func(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error |
| 123 | GetInformerNonBlockingFunc func(ctx context.Context, obj client.Object) (cache.Informer, error) |
| 124 | } |
| 125 | |
| 126 | func (f *funcCache) GetInformer(ctx context.Context, obj client.Object, _ ...cache.InformerGetOption) (cache.Informer, error) { |
| 127 | if f.GetInformerNonBlockingFunc != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected