Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 35 of 35 for updatepan (0.23 sec)

  1. pkg/controller/replicaset/replica_set.go

    		// overkill the most frequent pod update is status, and the associated ReplicaSet will only list from
    		// local storage, so it should be ok.
    		UpdateFunc: func(oldObj, newObj interface{}) {
    			rsc.updatePod(logger, oldObj, newObj)
    		},
    		DeleteFunc: func(obj interface{}) {
    			rsc.deletePod(logger, obj)
    		},
    	})
    	rsc.podLister = podInformer.Lister()
    	rsc.podListerSynced = podInformer.Informer().HasSynced
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  2. pilot/pkg/model/context.go

    	node.Lock()
    	defer node.Unlock()
    	node.WatchedResources[r.TypeUrl] = r
    }
    
    func (node *Proxy) UpdateWatchedResource(typeURL string, updateFn func(*WatchedResource) *WatchedResource) {
    	node.Lock()
    	defer node.Unlock()
    	r := node.WatchedResources[typeURL]
    	r = updateFn(r)
    	if r != nil {
    		node.WatchedResources[typeURL] = r
    	} else {
    		delete(node.WatchedResources, typeURL)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (1)
  3. pkg/scheduler/schedule_one.go

    	if err == nil {
    		// Only tests can reach here.
    		return
    	}
    
    	msg := truncateMessage(errMsg)
    	fwk.EventRecorder().Eventf(pod, nil, v1.EventTypeWarning, "FailedScheduling", "Scheduling", msg)
    	if err := updatePod(ctx, sched.client, pod, &v1.PodCondition{
    		Type:    v1.PodScheduled,
    		Status:  v1.ConditionFalse,
    		Reason:  reason,
    		Message: errMsg,
    	}, nominatingInfo); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  4. cmd/data-scanner.go

    	switch cache.Info.Name {
    	case "", dataUsageRoot:
    		return cache, errors.New("internal error: root scan attempted")
    	}
    	updatePath, closeDisk := globalScannerMetrics.currentPathUpdater(basePath, cache.Info.Name)
    	defer closeDisk()
    
    	s := folderScanner{
    		root:                  basePath,
    		getSize:               getSize,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:43:17 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  5. schema/field.go

    			field.AutoCreateTime = UnixMillisecond
    		} else {
    			field.AutoCreateTime = UnixSecond
    		}
    	}
    
    	if v, ok := field.TagSettings["AUTOUPDATETIME"]; (ok && utils.CheckTruth(v)) || (!ok && field.Name == "UpdatedAt" && (field.DataType == Time || field.DataType == Int || field.DataType == Uint)) {
    		if field.DataType == Time {
    			field.AutoUpdateTime = UnixTime
    		} else if strings.ToUpper(v) == "NANO" {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
Back to top