Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for allAdds (0.13 sec)

  1. pkg/adsc/delta.go

    			// On NACK, do not apply resource changes
    			continue
    		}
    
    		remove, add := c.tree[parentKey].Children.Diff(ctx.sub)
    		for _, key := range add {
    			if _, f := allAdds[key.TypeURL]; !f {
    				allAdds[key.TypeURL] = set.New[string]()
    			}
    			allAdds[key.TypeURL].Insert(key.Name)
    			c.relate(parentKey, key)
    		}
    		for _, key := range remove {
    			if _, f := allRemoves[key.TypeURL]; !f {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 09:32:41 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. pkg/kubelet/preemption/preemption_test.go

    			insufficientResources: getAdmissionRequirementList(150, 150, 0),
    			expectErr:             false,
    			expectedOutput:        []*v1.Pod{allPods[highRequestBurstable]},
    		},
    		{
    			testName:              "multiple pods required",
    			preemptor:             allPods[clusterCritical],
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jul 24 10:04:08 UTC 2022
    - 19.2K bytes
    - Viewed (0)
  3. pkg/api/v1/endpoints/util.go

    func mapAddressesByPort(subset *v1.EndpointSubset, port v1.EndpointPort, allAddrs map[addressKey]*v1.EndpointAddress, portToAddrReadyMap map[v1.EndpointPort]addressSet) {
    	for k := range subset.Addresses {
    		mapAddressByPort(&subset.Addresses[k], port, true, allAddrs, portToAddrReadyMap)
    	}
    	for k := range subset.NotReadyAddresses {
    		mapAddressByPort(&subset.NotReadyAddresses[k], port, false, allAddrs, portToAddrReadyMap)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 07 07:01:25 UTC 2018
    - 8K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/DefaultWindowsSdkLocator.java

        }
    
        @Override
        public List<WindowsSdkInstall> locateAllComponents() {
            List<WindowsSdkInstall> allSdks = new ArrayList<>();
            allSdks.addAll(legacyWindowsSdkLocator.locateAllComponents());
            allSdks.addAll(windowsKitWindowsSdkLocator.locateAllComponents());
            return allSdks;
        }
    
        private static class SdkSearchResult implements SearchResult<WindowsSdkInstall> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. pkg/kubelet/volumemanager/reconciler/reconstruct_test.go

    				}
    				allPods := rcInstance.actualStateOfWorld.GetAllMountedVolumes()
    				if len(allPods) != 1 {
    					t.Errorf("expected 1 mounted or uncertain volumes after reconcile, got %+v", allPods)
    				}
    				if tc.deviceMountPath != "" {
    					expectedDeviceMountPath := filepath.Join(tmpKubeletDir, tc.deviceMountPath)
    					deviceMountPath := allPods[0].DeviceMountPath
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. src/internal/poll/splice_linux_test.go

    		p, err = poll.GetPipe()
    		if err != nil {
    			t.Skipf("failed to create pipe due to error(%v), skip this test", err)
    		}
    		_, pwfd := poll.GetPipeFds(p)
    		allFDs = append(allFDs, pwfd)
    		pendingFDs.Store(pwfd, struct{}{})
    		ps = append(ps, p)
    	}
    	for _, p = range ps {
    		poll.PutPipe(p)
    	}
    	ps = nil
    	p = nil
    
    	// Exploit the timeout of "go test" as a timer for the subsequent verification.
    	timeout := 5 * time.Minute
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. pkg/kube/krt/join_test.go

    		Labeled: Labeled{map[string]string{"app": "foo"}},
    		IP:      "9.9.9.9",
    	})
    	AllPods := krt.JoinCollection([]krt.Collection[SimplePod]{SimplePods, ExtraSimplePods.AsCollection()})
    	assert.Equal(t, AllPods.Synced().WaitUntilSynced(stop), true)
    	// Assert Equal -- not EventuallyEqual -- to ensure our WaitForCacheSync is proper
    	assert.Equal(t, fetcherSorted(AllPods)(), []SimplePod{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. pkg/kubelet/userns/userns_manager.go

    		return nil
    	}
    
    	m.lock.Lock()
    	defer m.lock.Unlock()
    
    	allPods := sets.New[string]()
    	for _, pod := range pods {
    		allPods.Insert(string(pod.UID))
    	}
    	for _, pod := range runningPods {
    		allPods.Insert(string(pod.ID))
    	}
    
    	allFound := sets.New[string]()
    	found, err := m.kl.ListPodsFromDisk()
    	if err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_volumes.go

    func (kl *Kubelet) cleanupOrphanedPodDirs(pods []*v1.Pod, runningPods []*kubecontainer.Pod) error {
    	allPods := sets.New[string]()
    	for _, pod := range pods {
    		allPods.Insert(string(pod.UID))
    	}
    	for _, pod := range runningPods {
    		allPods.Insert(string(pod.ID))
    	}
    
    	found, err := kl.listPodsFromDisk()
    	if err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. pkg/client/tests/fake_client_test.go

    		t.Fatalf("Pods.Get: expected nsB/pod-1 not to match, but it matched %s/%s", wrongPod.Namespace, wrongPod.Name)
    	}
    
    	allPods, err := tc.CoreV1().Pods(metav1.NamespaceAll).List(context.TODO(), metav1.ListOptions{})
    	if err != nil {
    		t.Fatalf("Pods.List: %s", err)
    	}
    	if actual, expected := len(allPods.Items), 2; expected != actual {
    		t.Fatalf("Expected %d pods to match, got %d", expected, actual)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 08 17:30:21 UTC 2020
    - 5.6K bytes
    - Viewed (0)
Back to top