Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for timeoutCancel (0.27 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. 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