Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for syncFn (0.15 sec)

  1. pkg/kube/krt/informer.go

    var _ internalCollection[controllers.Object] = &informer[controllers.Object]{}
    
    func (i *informer[I]) _internalHandler() {}
    
    func (i *informer[I]) Synced() Syncer {
    	return channelSyncer{
    		name:   i.collectionName,
    		synced: i.synced,
    	}
    }
    
    // nolint: unused // (not true, its to implement an interface)
    func (i *informer[I]) dump() {
    	i.log.Errorf(">>> BEGIN DUMP")
    	for _, obj := range i.inf.List(metav1.NamespaceAll, klabels.Everything()) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 11:01:46 UTC 2024
    - 6.1K 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/proxy/nftables/proxier.go

    	defer proxier.mu.Unlock()
    
    	// don't sync rules till we've received services and endpoints
    	if !proxier.isInitialized() {
    		proxier.logger.V(2).Info("Not syncing nftables until Services and Endpoints have been received from master")
    		return
    	}
    
    	//
    	// Below this point we will not return until we try to write the nftables rules.
    	//
    
    	// Keep track of how long syncs take.
    	start := time.Now()
    	defer func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  4. pkg/controller/job/job_controller.go

    	syncHandler         func(ctx context.Context, jobKey string) error
    	// podStoreSynced returns true if the pod store has been synced at least once.
    	// Added as a member to the struct to allow injection for testing.
    	podStoreSynced cache.InformerSynced
    	// jobStoreSynced returns true if the job store has been synced at least once.
    	// Added as a member to the struct to allow injection for testing.
    	jobStoreSynced cache.InformerSynced
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/crdclient/client.go

    		cl.logger.Errorf("Failed to sync Pilot K8S CRD controller cache")
    		return
    	}
    	cl.logger.Infof("Pilot K8S CRD controller synced in %v", time.Since(t0))
    	cl.queue.Run(stop)
    	cl.logger.Infof("controller terminated")
    }
    
    func (cl *Client) informerSynced() bool {
    	for gk, ctl := range cl.allKinds() {
    		if !ctl.HasSynced() {
    			cl.logger.Infof("controller %q is syncing...", gk)
    			return false
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. pkg/kube/namespace/filter.go

    	d.discoveryNamespaces.Delete(ns.Name)
    }
    
    // AddHandler registers a handler on namespace, which will be triggered when namespace selected or deselected.
    // If the namespaces have been synced, trigger the new added handler.
    func (d *discoveryNamespacesFilter) AddHandler(f func(added, removed sets.String)) {
    	d.lock.Lock()
    	defer d.lock.Unlock()
    	d.handlers = append(d.handlers, f)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 17:12:52 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. pilot/pkg/bootstrap/server.go

    }
    
    func (s *Server) waitForCacheSync(stop <-chan struct{}) bool {
    	start := time.Now()
    	log.Info("Waiting for caches to be synced")
    	if !kubelib.WaitForCacheSync("server", stop, s.cachesSynced) {
    		log.Errorf("Failed waiting for cache sync")
    		return false
    	}
    	log.Infof("All controller caches have been synced up in %v", time.Since(start))
    
    	// At this point, we know that all update events of the initial state-of-the-world have been
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileCollectionIntegrationTest.groovy

                }
                tasks.register("sync", Sync) {
                    from files
                    into "output"
                }
            """
    
            when:
            run "sync"
    
            then:
            file("output").assertHasDescendants("file1.txt", "file2.txt")
    
            when:
            run "sync"
    
            then:
            result.assertTaskSkipped(':sync')
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 12:54:09 UTC 2024
    - 21K bytes
    - Viewed (0)
  9. cni/cmd/istio-cni/main.go

    		return err
    	}
    	defer func() {
    		// Log sync will send logs to install-cni container via UDS.
    		// We don't need a timeout here because underlying the log pkg already handles it.
    		// this may fail, but it should be safe to ignore according
    		// to https://github.com/uber-go/zap/issues/328
    		_ = log.Sync()
    	}()
    
    	// TODO: implement plugin version
    	funcs := skel.CNIFuncs{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. docs/metrics/prometheus/list.md

    | `minio_node_iam_last_sync_duration_millis` | Last successful IAM data sync duration in milliseconds.     |
    | `minio_node_iam_since_last_sync_millis`    | Time (in milliseconds) since last successful IAM data sync. |
    | `minio_node_iam_sync_failures`             | Number of failed IAM data syncs since server start.         |
    | `minio_node_iam_sync_successes`            | Number of successful IAM data syncs since server start.     |
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 43.3K bytes
    - Viewed (0)
Back to top