Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NewValidationDurationTestCases (0.23 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/plugin_test.go

    	}
    
    	objectInterfaces := webhooktesting.NewObjectInterfacesForTest()
    
    	stopCh := make(chan struct{})
    	defer close(stopCh)
    
    	for _, test := range webhooktesting.NewValidationDurationTestCases(serverURL) {
    		ts.Run(test.Name, func(t *testing.T) {
    			ctx := context.TODO()
    			if test.InitContext {
    				ctx = request.WithLatencyTrackersAndCustomClock(ctx, &clk)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:52 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/validating/plugin_test.go

    	}
    
    	objectInterfaces := webhooktesting.NewObjectInterfacesForTest()
    
    	stopCh := make(chan struct{})
    	defer close(stopCh)
    
    	for _, test := range webhooktesting.NewValidationDurationTestCases(serverURL) {
    		ts.Run(test.Name, func(t *testing.T) {
    			ctx := context.TODO()
    			if test.InitContext {
    				ctx = request.WithLatencyTrackersAndCustomClock(ctx, &clk)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:52 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/testcase.go

    	scheme := runtime.NewScheme()
    	corev1.AddToScheme(scheme)
    	return admission.NewObjectInterfacesFromScheme(scheme)
    }
    
    // NewValidationDurationTestCases returns test cases for webhook duration test
    func NewValidationDurationTestCases(url *url.URL) []DurationTest {
    	ccfgURL := urlConfigGenerator{url}.ccfgURL
    	webhooks := []registrationv1.ValidatingWebhook{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 47.6K bytes
    - Viewed (0)
Back to top