Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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