Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for NeedUpdate (0.1 sec)

  1. pkg/controller/bootstrap/bootstrapsigner.go

    		oldSig, _ := sigs[tokenID]
    		if sig != oldSig {
    			needUpdate = true
    		}
    		delete(sigs, tokenID)
    
    		newCM.Data[bootstrapapi.JWSSignatureKeyPrefix+tokenID] = sig
    	}
    
    	// If we have signatures left over we know that some signatures were
    	// removed.  We now need to update the ConfigMap
    	if len(sigs) != 0 {
    		needUpdate = true
    	}
    
    	if needUpdate {
    		e.updateConfigMap(ctx, newCM)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. pkg/kubelet/config/config.go

    				s.startupSLIObserver.ObservedPodOnWatch(ref, time.Now())
    			}
    			if existing, found := oldPods[ref.UID]; found {
    				pods[ref.UID] = existing
    				needUpdate, needReconcile, needGracefulDelete := checkAndUpdatePod(existing, ref)
    				if needUpdate {
    					updatePods = append(updatePods, existing)
    				} else if needReconcile {
    					reconcilePods = append(reconcilePods, existing)
    				} else if needGracefulDelete {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. pkg/volume/csi/nodeinfomanager/nodeinfomanager.go

    	if err != nil {
    		return err
    	}
    	node := originalNode.DeepCopy()
    
    	needUpdate := false
    	for _, update := range updateFuncs {
    		newNode, updated, err := update(node)
    		if err != nil {
    			return err
    		}
    		node = newNode
    		needUpdate = needUpdate || updated
    	}
    
    	if needUpdate {
    		// PatchNodeStatus can update both node's status and labels or annotations
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  4. src/runtime/mgclimit.go

    // we can go before updating the limiter.
    const gcCPULimiterUpdatePeriod = 10e6 // 10ms
    
    // needUpdate returns true if the limiter's maximum update period has been
    // exceeded, and so would benefit from an update.
    func (l *gcCPULimiterState) needUpdate(now int64) bool {
    	return now-l.lastUpdate.Load() > gcCPULimiterUpdatePeriod
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 22:07:41 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. src/runtime/export_test.go

    func (l *GCCPULimiter) Overflow() uint64 {
    	return l.limiter.overflow
    }
    
    func (l *GCCPULimiter) Limiting() bool {
    	return l.limiter.limiting()
    }
    
    func (l *GCCPULimiter) NeedUpdate(now int64) bool {
    	return l.limiter.needUpdate(now)
    }
    
    func (l *GCCPULimiter) StartGCTransition(enableGC bool, now int64) {
    	l.limiter.startGCTransition(enableGC, now)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top