(opts ...InformerGetOption)
| 133 | } |
| 134 | |
| 135 | func applyGetOptions(opts ...InformerGetOption) *internal.GetOptions { |
| 136 | cfg := &InformerGetOptions{} |
| 137 | for _, opt := range opts { |
| 138 | opt(cfg) |
| 139 | } |
| 140 | return (*internal.GetOptions)(cfg) |
| 141 | } |
| 142 | |
| 143 | // GetInformerForKind returns the informer for the GroupVersionKind. If no informer exists, one will be started. |
| 144 | func (ic *informerCache) GetInformerForKind(ctx context.Context, gvk schema.GroupVersionKind, opts ...InformerGetOption) (Informer, error) { |
no outgoing calls
no test coverage detected
searching dependent graphs…