Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,028 for syncAt (0.12 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex.go

    }
    
    func (a *index) SyncAll() {
    	a.networkUpdateTrigger.TriggerRecomputation()
    }
    
    func (a *index) HasSynced() bool {
    	return a.services.Synced().HasSynced() &&
    		a.workloads.Synced().HasSynced() &&
    		a.waypoints.Synced().HasSynced() &&
    		a.authorizationPolicies.Synced().HasSynced()
    }
    
    type LookupNetwork func(endpointIP string, labels labels.Instance) network.ID
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 19 17:19:41 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet.go

    //   - plegCh: update the runtime cache; sync pod
    //   - syncCh: sync all pods waiting for sync
    //   - housekeepingCh: trigger cleanup of pods
    //   - health manager: sync pods that have failed or in which one or more
    //     containers have failed health checks
    func (kl *Kubelet) syncLoopIteration(ctx context.Context, configCh <-chan kubetypes.PodUpdate, handler SyncHandler,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  3. pkg/kube/kclient/crdwatcher.go

    	if fv.LessThan(mv) {
    		log.Infof("CRD %v version %v is below minimum version %v, ignoring", crd.Name, fv, mv)
    		return false
    	}
    	return true
    }
    
    // HasSynced returns whether the underlying cache has synced and the callback has been called at least once.
    func (c *crdWatcher) HasSynced() bool {
    	return c.queue.HasSynced()
    }
    
    // Run starts the controller. This must be called.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. 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)
  5. pkg/kubelet/pod_workers.go

    	// pod workers have synced (syncPod could be called). Once the pod workers
    	// have synced it returns false if the pod has a sync status until
    	// SyncTerminatedPod completes successfully. If the pod workers have synced,
    	// but the pod does not have a status it returns true.
    	//
    	// Intended for use by subsystem sync loops to avoid performing background setup
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 13:22:37 UTC 2024
    - 74.8K bytes
    - Viewed (0)
  6. pkg/controller/resourcequota/resource_quota_monitor.go

    	qm.monitorLock.RLock()
    	defer qm.monitorLock.RUnlock()
    
    	if len(qm.monitors) == 0 {
    		logger.V(4).Info("quota monitor not synced: no monitors")
    		return false
    	}
    
    	for resource, monitor := range qm.monitors {
    		if !monitor.controller.HasSynced() {
    			logger.V(4).Info("quota monitor not synced", "resource", resource)
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.Sync.xml

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 795 bytes
    - Viewed (0)
  8. pkg/kube/krt/internal.go

    // registerHandlerAsBatched is a helper to register the provided handler as a batched handler. This allows collections to
    // only implement RegisterBatch.
    func registerHandlerAsBatched[T any](c internalCollection[T], f func(o Event[T])) Syncer {
    	return c.RegisterBatch(func(events []Event[T], initialSync bool) {
    		for _, o := range events {
    			f(o)
    		}
    	}, true)
    }
    
    // castEvent converts an Event[I] to Event[O].
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/finalizer/crd_finalizer.go

    	crdInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{
    		AddFunc:    c.addCustomResourceDefinition,
    		UpdateFunc: c.updateCustomResourceDefinition,
    	})
    
    	c.syncFn = c.sync
    
    	return c
    }
    
    func (c *CRDFinalizer) sync(key string) error {
    	cachedCRD, err := c.crdLister.Get(key)
    	if apierrors.IsNotFound(err) {
    		return nil
    	}
    	if err != nil {
    		return err
    	}
    
    	// no work to do
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/status/naming_controller.go

    		AddFunc:    c.addCustomResourceDefinition,
    		UpdateFunc: c.updateCustomResourceDefinition,
    		DeleteFunc: c.deleteCustomResourceDefinition,
    	})
    
    	c.syncFn = c.sync
    
    	return c
    }
    
    func (c *NamingConditionController) getAcceptedNamesForGroup(group string) (allResources sets.String, allKinds sets.String) {
    	allResources = sets.String{}
    	allKinds = sets.String{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top