Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for syncCerts (0.14 sec)

  1. pkg/kube/multicluster/cluster.go

    	filter := filter.NewDiscoveryNamespacesFilter(namespaces, mesh, c.stop)
    	kube.SetObjectFilter(c.Client, filter)
    
    	syncers := make([]ComponentConstraint, 0, len(handlers))
    	for _, h := range handlers {
    		switch action {
    		case Add:
    			syncers = append(syncers, h.clusterAdded(c))
    		case Update:
    			syncers = append(syncers, h.clusterUpdated(c))
    		}
    	}
    	if !c.Client.RunAndWait(c.stop) {
    		log.Warnf("remote cluster %s failed to sync", c.ID)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. pkg/kube/krt/sync.go

    	return true
    }
    
    type multiSyncer struct {
    	syncers []Syncer
    }
    
    func (c multiSyncer) WaitUntilSynced(stop <-chan struct{}) bool {
    	for _, s := range c.syncers {
    		if !s.WaitUntilSynced(stop) {
    			return false
    		}
    	}
    	return true
    }
    
    func (c multiSyncer) HasSynced() bool {
    	for _, s := range c.syncers {
    		if !s.HasSynced() {
    			return false
    		}
    	}
    	return true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 14:25:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. pkg/kube/krt/join.go

    }
    
    func (j *join[T]) RegisterBatch(f func(o []Event[T], initialSync bool), runExistingState bool) Syncer {
    	sync := multiSyncer{}
    	for _, c := range j.collections {
    		sync.syncers = append(sync.syncers, c.RegisterBatch(f, runExistingState))
    	}
    	return sync
    }
    
    // nolint: unused // (not true, its to implement an interface)
    func (j *join[T]) augment(a any) any {
    	// not supported in this collection type
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top