Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,244 for syncFn (0.2 sec)

  1. subprojects/core/src/test/groovy/org/gradle/util/internal/DisconnectableInputStreamTest.groovy

            }
            source.onRead { buffer, pos, count ->
                syncAt(1)
                syncAt(2)
                System.arraycopy('aaaa'.bytes, 0, buffer, pos, 4)
                return 4
            }
            source.onRead { buffer, pos, count ->
                syncAt(3)
                System.arraycopy('aa'.bytes, 0, buffer, pos, 2)
                syncAt(4)
                return 2
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 07 08:18:46 UTC 2021
    - 8.5K bytes
    - Viewed (0)
  2. pkg/controller/endpointslice/endpointslice_controller.go

    	// Added as a member to the struct to allow injection for testing.
    	servicesSynced cache.InformerSynced
    
    	// podLister is able to list/get pods and is populated by the
    	// shared informer passed to NewController
    	podLister corelisters.PodLister
    	// podsSynced returns true if the pod shared informer has been synced at least once.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  3. pkg/proxy/healthcheck/healthcheck_test.go

    	// Should return 200 "OK" irrespective of node syncs
    	hs.SyncNode(makeNode(tweakTainted("other")))
    	testHTTPHandler(hsTest, http.StatusOK, t)
    
    	// Should return 200 "OK" irrespective of node syncs
    	hs.SyncNode(makeNode(tweakTainted(ToBeDeletedTaint)))
    	testHTTPHandler(hsTest, http.StatusOK, t)
    
    	// Should return 200 "OK" irrespective of node syncs
    	hs.SyncNode(makeNode(tweakTainted("other")))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  4. pkg/controller/storageversionmigrator/storageversionmigrator.go

    		return false
    	}
    	defer svmc.queue.Done(key)
    
    	err := svmc.sync(ctx, key)
    	if err == nil {
    		svmc.queue.Forget(key)
    		return true
    	}
    
    	klog.FromContext(ctx).V(2).Info("Error syncing SVM resource, retrying", "svm", key, "err", err)
    	svmc.queue.AddRateLimited(key)
    
    	return true
    }
    
    func (svmc *SVMController) sync(ctx context.Context, key string) error {
    	logger := klog.FromContext(ctx)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_source.go

    	s.policies.Store(&policies)
    
    	if err != nil {
    		// An error was generated while syncing policies. Mark it as dirty again
    		// so we can retry later
    		utilruntime.HandleError(fmt.Errorf("encountered error syncing policies: %w. Rescheduling policy sync", err))
    		s.notify()
    	}
    }
    
    func (s *policySource[P, B, E]) notify() {
    	s.policiesDirty.Store(true)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 23:07:34 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  6. pkg/controller/endpointslicemirroring/endpointslicemirroring_controller.go

    	if !c.shouldMirror(endpoints) {
    		logger.V(5).Info("Skipping mirroring", "endpoints", klog.KObj(endpoints))
    		return
    	}
    	c.queueEndpoints(obj)
    }
    
    // onEndpointSliceAdd queues a sync for the relevant Endpoints resource for a
    // sync if the EndpointSlice resource version does not match the expected
    // version in the endpointSliceTracker.
    func (c *Controller) onEndpointSliceAdd(obj interface{}) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 23:18:31 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/pilot/testdata/multiXdsStatusSinglePilot.txt

    NAME       CLUSTER      CDS       LDS        EDS        RDS          ECDS         ISTIOD      VERSION
    proxy1     cluster1     STALE     SYNCED     SYNCED     NOT SENT     NOT SENT     istiod1     1.20
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 03:42:52 UTC 2024
    - 300 bytes
    - Viewed (0)
  8. pkg/registry/core/service/ipallocator/cidrallocator.go

    	if err != nil {
    		if c.queue.NumRequeues(key) < 5 {
    			klog.Infof("Error syncing cidr %v: %v", key, err)
    			c.queue.AddRateLimited(key)
    			return true
    		}
    	}
    	c.queue.Forget(key)
    	return true
    }
    
    // syncTree syncs the ipTrees from the informer cache
    // It deletes or creates allocator and sets the corresponding state
    func (c *MetaAllocator) syncTree() error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. docs/bucket/replication/README.md

    To disable replica metadata modification syncing, use `mc replicate edit` with the --replicate flag.
    
    ```
    mc replicate edit alias/bucket --id xyz.id --replicate "delete,delete-marker"
    ```
    
    To re-enable replica metadata modification syncing,
    
    ```
    mc replicate edit alias/bucket --id xyz.id --replicate "delete,delete-marker,replica-metadata-sync"
    ```
    
    ## MinIO Extension
    
    ### Replicating Deletes
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 24 23:46:33 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  10. pkg/kubelet/status/status_manager_test.go

    	}
    }
    
    func TestChangedStatus(t *testing.T) {
    	syncer := newTestManager(&fake.Clientset{})
    	testPod := getTestPod()
    	syncer.SetPodStatus(testPod, getRandomPodStatus())
    	verifyUpdates(t, syncer, 1)
    	syncer.SetPodStatus(testPod, getRandomPodStatus())
    	verifyUpdates(t, syncer, 1)
    }
    
    func TestChangedStatusKeepsStartTime(t *testing.T) {
    	syncer := newTestManager(&fake.Clientset{})
    	testPod := getTestPod()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
Back to top