Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for validValidatingWebhookConfiguration (0.39 sec)

  1. pkg/registry/admissionregistration/validatingwebhookconfiguration/storage/storage_test.go

    	test := genericregistrytest.New(t, storage.Store).ClusterScope()
    	test.TestGet(validValidatingWebhookConfiguration())
    }
    
    func TestList(t *testing.T) {
    	storage, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.Store.DestroyFunc()
    	test := genericregistrytest.New(t, storage.Store).ClusterScope()
    	test.TestList(validValidatingWebhookConfiguration())
    }
    
    func TestDelete(t *testing.T) {
    	storage, server := newStorage(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 13 15:10:55 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. pkg/registry/admissionregistration/validatingwebhookconfiguration/strategy_test.go

    	}
    	if Strategy.AllowCreateOnUpdate() {
    		t.Errorf("ValidatingWebhookConfiguration should not allow create on update")
    	}
    
    	configuration := validValidatingWebhookConfiguration()
    	Strategy.PrepareForCreate(ctx, configuration)
    	errs := Strategy.Validate(ctx, configuration)
    	if len(errs) != 0 {
    		t.Errorf("Unexpected error validating %v", errs)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 06 07:06:02 UTC 2021
    - 2.6K bytes
    - Viewed (0)
Back to top