Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,168 for _obj (0.09 sec)

  1. pkg/scheduler/framework/plugins/nodeunschedulable/node_unschedulable.go

    		return framework.Queue, nil
    	}
    
    	// TODO: also check if the original node meets the pod's requestments once preCheck is completely removed.
    	// See: https://github.com/kubernetes/kubernetes/issues/110175
    
    	logger.V(5).Info("node was created or updated, but it doesn't make this pod schedulable", "pod", klog.KObj(pod), "node", klog.KObj(modifiedNode))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 16 12:50:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. pkg/controller/volume/persistentvolume/pv_controller_base.go

    func (ctrl *PersistentVolumeController) enqueueWork(ctx context.Context, queue workqueue.TypedInterface[string], obj interface{}) {
    	// Beware of "xxx deleted" events
    	logger := klog.FromContext(ctx)
    	if unknown, ok := obj.(cache.DeletedFinalStateUnknown); ok && unknown.Obj != nil {
    		obj = unknown.Obj
    	}
    	objName, err := controller.KeyFunc(obj)
    	if err != nil {
    		logger.Error(err, "Failed to get key from object")
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/stringer.go

    			continue
    		}
    		if first {
    			fmt.Fprintf(out, "\tobj.A_ARCHSPECIFIC: %q,\n", sub[1])
    			first = false
    		} else {
    			fmt.Fprintf(out, "\t%q,\n", sub[1])
    		}
    	}
    	fmt.Fprintln(out, "}")
    	if s.Err() != nil {
    		log.Fatal(err)
    	}
    }
    
    const header = `// Code generated by stringer -i %s -o %s -p %s; DO NOT EDIT.
    
    package %s
    
    import "cmd/internal/obj"
    
    var Anames = []string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. src/cmd/go/alldocs.go

    //
    // If a package argument is given or the -i or -r flag is set,
    // clean removes the following files from each of the
    // source directories corresponding to the import paths:
    //
    //	_obj/            old object directory, left from Makefiles
    //	_test/           old test directory, left from Makefiles
    //	_testmain.go     old gotest file, left from Makefiles
    //	test.out         old test log, left from Makefiles
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  5. pkg/controller/endpointslicemirroring/endpointslicemirroring_controller.go

    	endpoints := obj.(*v1.Endpoints)
    	if endpoints == nil {
    		utilruntime.HandleError(fmt.Errorf("onEndpointsAdd() expected type v1.Endpoints, got %T", obj))
    		return
    	}
    	if !c.shouldMirror(endpoints) {
    		logger.V(5).Info("Skipping mirroring", "endpoints", klog.KObj(endpoints))
    		return
    	}
    	c.queueEndpoints(obj)
    }
    
    // onEndpointsUpdate queues a sync for the relevant Endpoints resource.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 23:18:31 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  6. pkg/proxy/node.go

    			"node", klog.KObj(node), "newPodCIDRs", podCIDRs, "oldPODCIDRs", n.podCIDRs)
    		klog.FlushAndExit(klog.ExitFlushTimeout, 1)
    	}
    }
    
    // OnNodeDelete is a handler for Node deletes.
    func (n *NodePodCIDRHandler) OnNodeDelete(node *v1.Node) {
    	n.logger.Error(nil, "Current Node is being deleted", "node", klog.KObj(node))
    }
    
    // OnNodeSynced is a handler for Node syncs.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    		AddFunc: func(obj interface{}) {
    			pod := obj.(*v1.Pod)
    			nc.podUpdated(nil, pod)
    		},
    		UpdateFunc: func(prev, obj interface{}) {
    			prevPod := prev.(*v1.Pod)
    			newPod := obj.(*v1.Pod)
    			nc.podUpdated(prevPod, newPod)
    		},
    		DeleteFunc: func(obj interface{}) {
    			pod, isPod := obj.(*v1.Pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    	klog.V(3).InfoS("computePodActions got for pod", "podActions", podContainerChanges, "pod", klog.KObj(pod))
    	if podContainerChanges.CreateSandbox {
    		ref, err := ref.GetReference(legacyscheme.Scheme, pod)
    		if err != nil {
    			klog.ErrorS(err, "Couldn't make a ref to pod", "pod", klog.KObj(pod))
    		}
    		if podContainerChanges.SandboxID != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  9. pkg/scheduler/schedule_one.go

    	// When contextualized logging hits GA
    	// https://github.com/kubernetes/kubernetes/issues/111672
    	logger = klog.LoggerWithValues(logger, "pod", klog.KObj(pod))
    	ctx = klog.NewContext(ctx, logger)
    	logger.V(4).Info("About to try and schedule pod", "pod", klog.KObj(pod))
    
    	fwk, err := sched.frameworkForPod(pod)
    	if err != nil {
    		// This shouldn't happen, because we only accept for scheduling the pods
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  10. pkg/controller/volume/pvprotection/pv_protection_controller.go

    }
    
    // pvAddedUpdated reacts to pv added/updated events
    func (c *Controller) pvAddedUpdated(logger klog.Logger, obj interface{}) {
    	pv, ok := obj.(*v1.PersistentVolume)
    	if !ok {
    		utilruntime.HandleError(fmt.Errorf("PV informer returned non-PV object: %#v", obj))
    		return
    	}
    	logger.V(4).Info("Got event on PV", "PV", klog.KObj(pv))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top