Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for poda (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    			out: &example.PodList{Items: []example.Pod{}},
    		},
    		"normal": {
    			in:  &example.PodList{Items: []example.Pod{*podA, *podB}},
    			m:   matchEverything(),
    			out: &example.PodList{Items: []example.Pod{*podA, *podB}},
    		},
    		"normalFiltered": {
    			in:  &example.PodList{Items: []example.Pod{*podA, *podB}},
    			m:   matchPodName("foo"),
    			out: &example.PodList{Items: []example.Pod{*podB}},
    		},
    		"normalFilteredNoNamespace": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_test.go

    	// resources)
    	pods[7].Status.Phase = v1.PodFailed
    	kubelet.podWorkers.(*fakePodWorkers).terminationRequested = map[types.UID]bool{
    		pods[7].UID: true,
    	}
    
    	expected := []*v1.Pod{pods[2], pods[3], pods[4], pods[7]}
    	kubelet.podManager.SetPods(pods)
    	actual := kubelet.filterOutInactivePods(pods)
    	assert.Equal(t, expected, actual)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    				Namespace:       "ns",
    				ResourceVersion: rv,
    			},
    		}
    	}
    	pod1 := makePod("pod", "1001")
    	pod2 := makePod("pod", "1002")
    	pod3 := makePod("pod", "1003")
    
    	cacher.watchCache.Add(pod1)
    	cacher.watchCache.Update(pod2)
    	cacher.watchCache.Delete(pod3)
    
    	// At this point, we already have dispatchedEvents fully propagated.
    
    	verifyEvents := func(w watch.Interface) {
    		var event watch.Event
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  4. pkg/controller/job/job_controller_test.go

    						Failed: []types.UID{"a", "b"},
    					},
    				},
    			},
    			pods: func() []*v1.Pod {
    				pods := make([]*v1.Pod, 500)
    				for i := range pods {
    					pods[i] = buildPod().uid(strconv.Itoa(i)).phase(v1.PodSucceeded).trackingFinalizer().Pod
    				}
    				pods = append(pods, buildPod().uid("b").phase(v1.PodFailed).trackingFinalizer().Pod)
    				return pods
    			}(),
    			wantRmFinalizers: 499,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  5. pkg/scheduler/internal/queue/scheduling_queue_test.go

    		t.Errorf("Unexpected diff after adding pods (-want, +got):\n%s", diff)
    	}
    	if p, err := q.Pop(logger); err != nil || p.Pod != highPriorityPodInfo.Pod {
    		t.Errorf("Expected: %v after Pop, but got: %v", highPriorityPodInfo.Pod.Name, p.Pod.Name)
    	}
    	if p, err := q.Pop(logger); err != nil || p.Pod != medPriorityPodInfo.Pod {
    		t.Errorf("Expected: %v after Pop, but got: %v", medPriorityPodInfo.Pod.Name, p.Pod.Name)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    		})
    	}
    	return &v1.Pod{
    		Spec: v1.PodSpec{
    			Containers: containers,
    		},
    	}
    }
    
    func newResourceInitPod(pod *v1.Pod, usage ...framework.Resource) *v1.Pod {
    	pod.Spec.InitContainers = newResourcePod(usage...).Spec.Containers
    	return pod
    }
    
    func newResourceOverheadPod(pod *v1.Pod, overhead v1.ResourceList) *v1.Pod {
    	pod.Spec.Overhead = overhead
    	return pod
    }
    
    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/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go

    			expectedHint: framework.Queue,
    			expectedErr:  true,
    		},
    		"skip-updates-other-pod": {
    			pod: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "pod-1",
    					Namespace: "ns-1",
    					UID:       "uid0",
    				}},
    			oldObj: &v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "pod-2",
    					Namespace: "ns-1",
    					UID:       "uid1",
    				}},
    			newObj: &v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. testing/internal-performance-testing/build.gradle.kts

        implementation(libs.groovyJson)
        implementation(libs.hikariCP)
        implementation(libs.jacksonCore)
        implementation(libs.jacksonDatabind)
        implementation(libs.jettyUtil)
        implementation(libs.joda)
        implementation(libs.joptSimple)
        implementation(libs.mina)
        implementation(libs.slf4jApi)
    
        compileOnly(libs.javaParser) {
            because("The Groovy compiler inspects the dependencies at compile time")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. platforms/software/resources-gcs/build.gradle.kts

        integTestImplementation(project(":core-api"))
        integTestImplementation(project(":model-core"))
    
        integTestImplementation(libs.commonsIo)
        integTestImplementation(libs.jetty)
        integTestImplementation(libs.joda)
    
        integTestDistributionRuntimeOnly(project(":distributions-basics"))
    }
    
    strictCompile {
        ignoreDeprecations()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top