Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,168 for _obj (0.05 sec)

  1. pkg/kubelet/volumemanager/reconciler/reconciler_common.go

    	}
    	if err == nil {
    		if remountingLogStr == "" {
    			klog.V(1).InfoS(volumeToMount.GenerateMsgDetailed("operationExecutor.MountVolume started", remountingLogStr), "pod", klog.KObj(volumeToMount.Pod))
    		} else {
    			klog.V(5).InfoS(volumeToMount.GenerateMsgDetailed("operationExecutor.MountVolume started", remountingLogStr), "pod", klog.KObj(volumeToMount.Pod))
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/noderesources/fit.go

    			logger.V(5).Info("the deleted pod was unscheduled and it wouldn't make the unscheduled pod schedulable", "pod", klog.KObj(pod), "deletedPod", klog.KObj(originalPod))
    			return framework.QueueSkip, nil
    		}
    		logger.V(5).Info("another scheduled pod was deleted, and it may make the unscheduled pod schedulable", "pod", klog.KObj(pod), "deletedPod", klog.KObj(originalPod))
    		return framework.Queue, nil
    	}
    
    	if !f.enableInPlacePodVerticalScaling {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  3. src/runtime/mgcstack.go

    	obj := s.root
    	for {
    		if obj == nil {
    			return nil
    		}
    		if off < obj.off {
    			obj = obj.left
    			continue
    		}
    		if off >= obj.off+obj.size {
    			obj = obj.right
    			continue
    		}
    		return obj
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 21:06:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/common/maplist.go

    	// unkeyedItems contains all map items that have not yet been keyed
    	unkeyedItems []interface{}
    }
    
    func (a *mapListImpl) Get(obj interface{}) interface{} {
    	mobj, ok := obj.(map[string]interface{})
    	if !ok {
    		return nil
    	}
    
    	key, ok := a.ks.CompositeKeyFor(mobj)
    	if !ok {
    		return nil
    	}
    	if match, ok := a.keyedItems[key]; ok {
    		return match
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 07 02:56:51 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/podtopologyspread/plugin.go

    				"pod", klog.KObj(pod), "createdPod", klog.KObj(modifiedPod))
    			return framework.Queue, nil
    		}
    		logger.V(5).Info("a scheduled pod was created, but it doesn't matches with the pod's topology spread constraints",
    			"pod", klog.KObj(pod), "createdPod", klog.KObj(modifiedPod))
    		return framework.QueueSkip, nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. pkg/revisions/tag_watcher.go

    func (p *tagWatcher) notifyHandlers() {
    	myTags := p.GetMyTags()
    	for _, handler := range p.handlers {
    		handler(myTags)
    	}
    }
    
    func isTagWebhook(uobj any) bool {
    	obj := controllers.ExtractObject(uobj)
    	if obj == nil {
    		return false
    	}
    	_, ok := obj.GetLabels()[IstioTagLabel]
    	return ok
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. pkg/controller/volume/pvcprotection/pvc_protection_controller.go

    		}
    	}
    }
    
    func (*Controller) parsePod(obj interface{}) *v1.Pod {
    	if obj == nil {
    		return nil
    	}
    	pod, ok := obj.(*v1.Pod)
    	if !ok {
    		tombstone, ok := obj.(cache.DeletedFinalStateUnknown)
    		if !ok {
    			utilruntime.HandleError(fmt.Errorf("couldn't get object from tombstone %#v", obj))
    			return nil
    		}
    		pod, ok = tombstone.Obj.(*v1.Pod)
    		if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/converter_test.go

    	testCases := []struct {
    		data string
    		obj  interface{}
    		err  error
    	}{
    		{
    			data: "{\"da\":[3.5,4,\"3.0\",null]}",
    			obj:  &D{},
    		},
    		{
    			data: "{\"ea\":[3.5,4,\"3.0\",null]}",
    			obj:  &E{},
    		},
    		{
    			data: "{\"ea\":[null,null,null]}",
    			obj:  &E{},
    		},
    		{
    			data: "{\"ea\":[[],[null]]}",
    			obj:  &E{},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 16:02:13 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  9. test/finprofiled.go

    	var totalBytes int64
    	for _, p := range prof {
    		bytes := p.AllocBytes - p.FreeBytes
    		nobj := p.AllocObjects - p.FreeObjects
    		if nobj == 0 {
    			// There may be a record that has had all of its objects
    			// freed. That's fine. Avoid a divide-by-zero and skip.
    			continue
    		}
    		size := bytes / nobj
    		if size == tinyBlockSize {
    			totalBytes += bytes
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 05:48:00 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. pkg/controller/disruption/disruption.go

    	// resync.
    	if !ok {
    		tombstone, ok := obj.(cache.DeletedFinalStateUnknown)
    		if !ok {
    			logger.Error(nil, "Couldn't get object from tombstone", "obj", obj)
    			return
    		}
    		pod, ok = tombstone.Obj.(*v1.Pod)
    		if !ok {
    			logger.Error(nil, "Tombstone contained object that is not a pod", "obj", obj)
    			return
    		}
    	}
    	logger.V(4).Info("DeletePod called on pod", "pod", klog.KObj(pod))
    	pdb := dc.getPdbForPod(logger, pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.1K bytes
    - Viewed (0)
Back to top