Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestAdmissionWithLatentCache (0.18 sec)

  1. plugin/pkg/admission/namespace/autoprovision/admission_test.go

    	if err != nil {
    		t.Errorf("unexpected error returned from admission handler")
    	}
    	if hasCreateNamespaceAction(mockClient) {
    		t.Errorf("unexpected create namespace action")
    	}
    }
    
    func TestAdmissionWithLatentCache(t *testing.T) {
    	namespace := "test"
    	mockClient := newMockClientForTest([]string{})
    	mockClient.AddReactor("create", "namespaces", func(action core.Action) (bool, runtime.Object, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top