Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for timeoutCancel (0.34 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_test_context.go

    	for _, object := range objects {
    		if err := p.updateOne(object); err != nil {
    			return err
    		}
    	}
    
    	if wait {
    		timeoutCtx, timeoutCancel := context.WithTimeout(p, 3*time.Second)
    		defer timeoutCancel()
    
    		for _, object := range objects {
    			if err := p.WaitForReconcile(timeoutCtx, object); err != nil {
    				return fmt.Errorf("error waiting for reconcile of %v: %v", object, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    	// Validate a namespaced object, and verify that the params being validated
    	// are the ones we would expect
    	timeoutCtx, timeoutCancel := context.WithTimeout(testContext, 5*time.Second)
    	defer timeoutCancel()
    	var expectedParamsForNamespacedRequest []*unstructured.Unstructured
    	for _, p := range params {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  3. pkg/kubeapiserver/options/authentication.go

    					trackedAuthenticationConfigData = authConfigData
    					return
    				}
    
    				timeoutCtx, timeoutCancel := context.WithTimeout(ctx, UpdateAuthenticationConfigTimeout)
    				defer timeoutCancel()
    				if err := updateAuthenticationConfig(timeoutCtx, authConfig); err != nil {
    					klog.ErrorS(err, "failed to update authentication config")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 22:40:22 UTC 2024
    - 32.4K bytes
    - Viewed (0)
Back to top