Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for nodestore (0.14 sec)

  1. pkg/controller/endpointslice/endpointslice_controller_test.go

    	}
    	node2 := &v1.Node{
    		ObjectMeta: metav1.ObjectMeta{Name: "node-2"},
    		Status:     nodeReadyStatus,
    	}
    	logger, _ := ktesting.NewTestContext(t)
    	esController.nodeStore.Add(node1)
    	esController.nodeStore.Add(node2)
    	esController.addNode()
    	esController.addNode()
    	assert.Equal(t, 1, esController.topologyQueue.Len())
    	esController.processNextTopologyWorkItem(logger)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeState.java

    import java.util.Objects;
    import java.util.Set;
    import java.util.stream.Collectors;
    
    /**
     * Represents a node in the dependency graph.
     */
    public class NodeState implements DependencyGraphNode {
        private static final Logger LOGGER = LoggerFactory.getLogger(NodeState.class);
        private final Long nodeId;
        private final ComponentState component;
        private final List<EdgeState> incomingEdges = new ArrayList<>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 58.9K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/podtopologyspread/scoring_test.go

    				Obj(),
    			nodes: []*v1.Node{
    				st.MakeNode().Name("node-a").Label(v1.LabelHostname, "node-a").Obj(),
    				st.MakeNode().Name("node-b").Label(v1.LabelHostname, "node-b").Obj(),
    			},
    			want: []framework.NodeScore{
    				{Name: "node-a", Score: 100},
    				{Name: "node-b", Score: 100},
    			},
    		},
    		{
    			// if there is only one candidate node, it should be scored to 100
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 60K bytes
    - Viewed (0)
  4. pkg/controller/disruption/disruption_test.go

    	pod1, _ := newPod(t, "p1")
    	pod1.DeletionTimestamp = &metav1.Time{Time: dc.clock.Now()}
    	pod2, _ := newPod(t, "p2")
    	pod3, _ := newPod(t, "p3")
    
    	add(t, dc.podStore, pod1)
    	add(t, dc.podStore, pod2)
    	add(t, dc.podStore, pod3)
    
    	dc.sync(ctx, pdbName)
    
    	ps.VerifyPdbStatus(t, pdbName, 0, 1, 1, 3, map[string]metav1.Time{"p3": {Time: currentTime.Add(-time.Minute)}})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  5. pkg/controller/endpoint/endpoints_controller_test.go

    		},
    	}
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			podStore := cache.NewStore(cache.DeletionHandlingMetaNamespaceKeyFunc)
    			ns := "test"
    			addPods(podStore, ns, 1, 1, 0, tc.ipFamilies)
    			pods := podStore.List()
    			if len(pods) != 1 {
    				t.Fatalf("podStore size: expected: %d, got: %d", 1, len(pods))
    			}
    			pod := pods[0].(*v1.Pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    				st.MakePod().Node("node2").Req(map[v1.ResourceName]string{"cpu": "1000", "memory": "2000"}).Obj(),
    			},
    			expectedPriorities: []framework.NodeScore{{Name: "node1", Score: 10}, {Name: "node2", Score: 32}},
    			nodeResourcesFitArgs: config.NodeResourcesFitArgs{
    				ScoringStrategy: &config.ScoringStrategy{
    					Type:      config.RequestedToCapacityRatio,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  7. pkg/controller/job/job_controller.go

    	finalizerExpectations *uidTrackingExpectations
    
    	// A store of jobs
    	jobLister batchv1listers.JobLister
    
    	// A store of pods, populated by the podController
    	podStore corelisters.PodLister
    
    	// Jobs that need to be updated
    	queue workqueue.TypedRateLimitingInterface[string]
    
    	// Orphan deleted pods that still have a Job tracking finalizer to be removed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  8. okhttp/api/okhttp.api

    	public final fun maxAgeSeconds ()I
    	public final fun maxStaleSeconds ()I
    	public final fun minFreshSeconds ()I
    	public final fun mustRevalidate ()Z
    	public final fun noCache ()Z
    	public final fun noStore ()Z
    	public final fun noTransform ()Z
    	public final fun onlyIfCached ()Z
    	public static final fun parse (Lokhttp3/Headers;)Lokhttp3/CacheControl;
    	public final fun sMaxAgeSeconds ()I
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  9. pkg/volume/csi/csi_attacher_test.go

    			deviceMountPath:  "path2",
    			shouldFail:       true,
    			createAttachment: true,
    			spec:             volume.NewSpecFromVolume(makeTestVol(pvName, testDriver)),
    		},
    		{
    			testName:         "pv with nodestage timeout should result in in-progress device",
    			volName:          fakecsi.NodeStageTimeOut_VolumeID,
    			devicePath:       "path1",
    			deviceMountPath:  "path2",
    			stageUnstageSet:  true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/runtime/framework.go

    					err := fmt.Errorf("plugin %q failed with: %w", pl.Name(), status.AsError())
    					errCh.SendErrorWithCancel(err, cancel)
    					return
    				}
    				pluginToNodeScores[pl.Name()][index] = framework.NodeScore{
    					Name:  nodeName,
    					Score: s,
    				}
    			}
    		}, metrics.Score)
    		if err := errCh.ReceiveError(); err != nil {
    			return nil, framework.AsStatus(fmt.Errorf("running Score plugins: %w", err))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
Back to top