Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for currentNode (0.2 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation.go

    		// provide size estimates when that happens
    		return nil
    	}
    	currentNode := c.root
    	// cut off "self" from path, since we always start there
    	for _, name := range element.Path()[1:] {
    		switch name {
    		case "@items", "@values":
    			if currentNode.ElemType == nil {
    				return nil
    			}
    			currentNode = currentNode.ElemType
    		case "@keys":
    			if currentNode.KeyType == nil {
    				return nil
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. operator/pkg/translate/translate.go

    	}
    
    	patchObj := make(map[string]any)
    	var currentNode, nextNode any
    	nextNode = patchObj
    	for i, pe := range path {
    		currentNode = nextNode
    		// last path element
    		if i == length-1 {
    			currentNode, ok := currentNode.(map[string]any)
    			if !ok {
    				return nil, fmt.Errorf("path %s has an unexpected non KV element %s", path, pe)
    			}
    			currentNode[pe] = node
    			break
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 19:43:09 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  3. pkg/proxy/nftables/proxier.go

    func (proxier *Proxier) OnNodeAdd(node *v1.Node) {
    	if node.Name != proxier.hostname {
    		proxier.logger.Error(nil, "Received a watch event for a node that doesn't match the current node",
    			"eventNode", node.Name, "currentNode", proxier.hostname)
    		return
    	}
    
    	if reflect.DeepEqual(proxier.nodeLabels, node.Labels) {
    		return
    	}
    
    	proxier.mu.Lock()
    	proxier.nodeLabels = map[string]string{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  4. pkg/proxy/iptables/proxier.go

    func (proxier *Proxier) OnNodeAdd(node *v1.Node) {
    	if node.Name != proxier.hostname {
    		proxier.logger.Error(nil, "Received a watch event for a node that doesn't match the current node",
    			"eventNode", node.Name, "currentNode", proxier.hostname)
    		return
    	}
    
    	if reflect.DeepEqual(proxier.nodeLabels, node.Labels) {
    		return
    	}
    
    	proxier.mu.Lock()
    	proxier.nodeLabels = map[string]string{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/controller.go

    		c.Lock()
    		// check if the node exists as this add event could be due to controller resync
    		// if the stored object changes, then fire an update event. Otherwise, ignore this event.
    		currentNode, exists := c.nodeInfoMap[node.Name]
    		if !exists || !nodeEquals(currentNode, k8sNode) {
    			c.nodeInfoMap[node.Name] = k8sNode
    			updatedNeeded = true
    		}
    		c.Unlock()
    	}
    
    	// update all related services
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  6. pkg/proxy/ipvs/proxier.go

    // is observed.
    func (proxier *Proxier) OnNodeAdd(node *v1.Node) {
    	if node.Name != proxier.hostname {
    		proxier.logger.Error(nil, "Received a watch event for a node that doesn't match the current node", "eventNode", node.Name, "currentNode", proxier.hostname)
    		return
    	}
    
    	if reflect.DeepEqual(proxier.nodeLabels, node.Labels) {
    		return
    	}
    
    	proxier.mu.Lock()
    	proxier.nodeLabels = map[string]string{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  7. pkg/volume/util/operationexecutor/operation_generator.go

    			volumeToAttach.VolumeSpec, volumeToAttach.NodeName)
    
    		if attachErr != nil {
    			uncertainNode := volumeToAttach.NodeName
    			if derr, ok := attachErr.(*volerr.DanglingAttachError); ok {
    				uncertainNode = derr.CurrentNode
    			}
    			addErr := actualStateOfWorld.MarkVolumeAsUncertain(
    				logger,
    				volumeToAttach.VolumeName,
    				volumeToAttach.VolumeSpec,
    				uncertainNode)
    			if addErr != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Contexts.kt

        }
    
        protected
        fun getCodec() = currentCodec
    
        private
        val contexts = ArrayList<Pair<T?, Codec<Any?>>>()
    
        override fun push(codec: Codec<Any?>) {
            contexts.add(0, Pair(currentIsolate, currentCodec))
            currentCodec = codec
        }
    
        override fun push(owner: IsolateOwner) {
            push(owner, currentCodec)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/util_test.go

    	require.Equal(t, currentStorageRV, rsRV, "expected the global etcd RV to be equal to replicaset's RV")
    
    	// ensure that the pod's RV hasn't been changed
    	currentPod := getPod(pod.Name, pod.Namespace)
    	currentPodRV, err := versioner.ParseResourceVersion(currentPod.ResourceVersion)
    	require.NoError(t, err)
    	require.Equal(t, currentPodRV, podRV, "didn't expect to see the pod's RV changed")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 11 12:07:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

    	for {
    		currentPod := p.startingPod
    		if p.numUpdates > 0 {
    			currentPod = p.updatePod
    		}
    		p.numUpdates++
    
    		// Remember the current resource version
    		currentResourceVersion := currentPod.ResourceVersion
    
    		obj, err := objInfo.UpdatedObject(ctx, currentPod)
    		if err != nil {
    			return nil, false, err
    		}
    		inPod := obj.(*example.Pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
Back to top