Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,244 for syncFn (0.19 sec)

  1. pkg/controller/deployment/deployment_controller.go

    	podLister corelisters.PodLister
    
    	// dListerSynced returns true if the Deployment store has been synced at least once.
    	// Added as a member to the struct to allow injection for testing.
    	dListerSynced cache.InformerSynced
    	// rsListerSynced returns true if the ReplicaSet store has been synced at least once.
    	// Added as a member to the struct to allow injection for testing.
    	rsListerSynced cache.InformerSynced
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. pkg/proxy/config/config.go

    func (c *EndpointSliceConfig) RegisterEventHandler(handler EndpointSliceHandler) {
    	c.eventHandlers = append(c.eventHandlers, handler)
    }
    
    // Run waits for cache synced and invokes handlers after syncing.
    func (c *EndpointSliceConfig) Run(stopCh <-chan struct{}) {
    	c.logger.Info("Starting endpoint slice config controller")
    
    	if !cache.WaitForNamedCacheSync("endpoint slice config", stopCh, c.listerSynced) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/tasks/Sync.java

     * // filter will not be deleted.
     * task sync(type: Sync) {
     *     from 'source'
     *     into 'dest'
     *     preserve {
     *         include 'extraDir/**'
     *         include 'dir1/**'
     *         exclude 'dir1/extra.txt'
     *     }
     * }
     * </pre>
     */
    @DisableCachingByDefault(because = "Not worth caching")
    public abstract class Sync extends AbstractCopyTask {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 24 23:13:41 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  4. pkg/controller/garbagecollector/garbagecollector.go

    			//    have a way to distinguish this from a valid type we will recognize
    			//    after the next discovery sync.
    			// For now, record the error and retry.
    			logger.V(5).Error(err, "error syncing item", "item", n.identity)
    		} else {
    			utilruntime.HandleError(fmt.Errorf("error syncing item %s: %v", n, err))
    		}
    		// retry if garbage collection of an object failed.
    		return requeueItem
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/dra/plugin/noderesources.go

    		}
    	}
    }
    
    // run is running in the background. It handles blocking initialization (like
    // syncing the informer) and then syncs the actual with the desired state.
    func (c *nodeResourcesController) run(ctx context.Context) {
    	logger := klog.FromContext(ctx)
    
    	// When kubelet starts, we have two choices:
    	// - Sync immediately, which in practice will delete all ResourceSlices
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 20:12:53 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. cmd/kube-controller-manager/app/options/garbagecollectorcontroller.go

    	if o == nil {
    		return
    	}
    
    	fs.Int32Var(&o.ConcurrentGCSyncs, "concurrent-gc-syncs", o.ConcurrentGCSyncs, "The number of garbage collector workers that are allowed to sync concurrently.")
    	fs.BoolVar(&o.EnableGarbageCollector, "enable-garbage-collector", o.EnableGarbageCollector, "Enables the generic garbage collector. MUST be synced with the corresponding flag of the kube-apiserver.")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 04:54:33 UTC 2019
    - 2K bytes
    - Viewed (0)
  7. pkg/kube/krt/singleton.go

    	v := d.val.Load()
    	if v == nil {
    		return nil
    	}
    	return []T{*v}
    }
    
    func (d *static[T]) Register(f func(o Event[T])) Syncer {
    	return registerHandlerAsBatched[T](d, f)
    }
    
    func (d *static[T]) RegisterBatch(f func(o []Event[T], initialSync bool), runExistingState bool) Syncer {
    	d.eventHandlers.Insert(f)
    	if runExistingState {
    		v := d.val.Load()
    		if v != nil {
    			f([]Event[T]{{
    				New:   v,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. pkg/kubelet/cloudresource/cloud_request_manager.go

    // have run, it will return the most recent error. If node addresses have been
    // synced successfully, it will return the list of node addresses from the most
    // recent successful sync.
    func (m *cloudResourceSyncManager) NodeAddresses() ([]v1.NodeAddress, error) {
    	m.nodeAddressesMonitor.L.Lock()
    	defer m.nodeAddressesMonitor.L.Unlock()
    	// wait until there is something
    	for {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 05 18:29:23 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  9. pkg/controller/nodeipam/ipam/range_allocator.go

    			return nil
    		}
    		// Run the syncHandler, passing it the namespace/name string of the
    		// Foo resource to be synced.
    		if err := r.syncNode(ctx, key); err != nil {
    			// Put the item back on the queue to handle any transient errors.
    			r.queue.AddRateLimited(key)
    			return fmt.Errorf("error syncing '%s': %s, requeuing", key, err.Error())
    		}
    		// Finally, if no error occurs we Forget this item so it does not
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 10:06:15 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/pilot/testdata/multiXdsStatusMultiPilot.txt

    NAME       CLUSTER      CDS          LDS         EDS         RDS          ECDS         ISTIOD      VERSION
    proxy1     cluster1     STALE        SYNCED      SYNCED      NOT SENT     SYNCED       istiod1     1.20
    proxy2     cluster2     STALE        SYNCED      STALE       SYNCED       STALE        istiod2     1.19
    proxy3     cluster3     NOT SENT     ERROR       STALE       NOT SENT     NOT SENT     istiod3     1.20
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 03:42:52 UTC 2024
    - 522 bytes
    - Viewed (0)
Back to top