Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for internalTypeReg (0.6 sec)

  1. pkg/config/schema/kubeclient/common.go

    }
    
    type internalTypeReg[T runtime.Object] struct {
    	list  func(c ClientGetter, namespace string, o metav1.ListOptions) (runtime.Object, error)
    	watch func(c ClientGetter, namespace string, o metav1.ListOptions) (watch.Interface, error)
    	gvr   schema.GroupVersionResource
    	gvk   config.GroupVersionKind
    }
    
    func (t *internalTypeReg[T]) GetGVK() config.GroupVersionKind {
    	return t.gvk
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 16:38:40 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. pkg/config/schema/kubeclient/common_test.go

    	inf := GetInformerFiltered[*v1.NetworkPolicy](client, ktypes.InformerOptions{})
    	if inf.Informer == nil {
    		t.Errorf("Expected valid informer, got empty")
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 16:38:40 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top