Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 175 for podrest (0.17 sec)

  1. pkg/controller/volume/attachdetach/testing/testvolumespec.go

    func CreateTestClient() *fake.Clientset {
    	var extraPods *v1.PodList
    	var volumeAttachments *storagev1.VolumeAttachmentList
    	var pvs *v1.PersistentVolumeList
    	var nodes *v1.NodeList
    
    	fakeClient := &fake.Clientset{}
    
    	extraPods = &v1.PodList{}
    	fakeClient.AddReactor("list", "pods", func(action core.Action) (handled bool, ret runtime.Object, err error) {
    		obj := &v1.PodList{}
    		podNamePrefix := "mypod"
    		namespace := "mynamespace"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 17 08:48:30 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go

    	podName := util.GetUniquePodName(pod)
    
    	//let the pod be terminated
    	podGet, exist := dswp.podManager.(mutablePodManager).GetPodByName(pod.Namespace, pod.Name)
    	if !exist {
    		t.Fatalf("Failed to get pod by pod name: %s and namespace: %s", pod.Name, pod.Namespace)
    	}
    	podGet.Status.Phase = v1.PodFailed
    	dswp.podManager.(mutablePodManager).RemovePod(pod)
    
    	dswp.findAndRemoveDeletedPods()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  3. pkg/kubelet/config/file_linux.go

    			}
    		}
    	}, retryPeriod)
    }
    
    func (s *sourceFile) doWatch() error {
    	_, err := os.Stat(s.path)
    	if err != nil {
    		if !os.IsNotExist(err) {
    			return err
    		}
    		// Emit an update with an empty PodList to allow FileSource to be marked as seen
    		s.updates <- kubetypes.PodUpdate{Pods: []*v1.Pod{}, Op: kubetypes.SET, Source: kubetypes.FileSource}
    		return &retryableError{"path does not exist, ignoring"}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 17:27:26 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. src/internal/coverage/cfile/testsupport.go

    	// expect to see a single pod here, but allow for multiple pods in
    	// case the test harness is doing extra work to collect data files
    	// from builds that it kicks off as part of the testing.
    	podlist, err := pods.CollectPods([]string{dir}, false)
    	if err != nil {
    		return fmt.Errorf("reading from %s: %v", dir, err)
    	}
    
    	// Open text output file if appropriate.
    	var tf *os.File
    	var tfClosed bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. pkg/scheduler/scheduler_test.go

    func getPodFromPriorityQueue(queue *internalqueue.PriorityQueue, pod *v1.Pod) *v1.Pod {
    	podList, _ := queue.PendingPods()
    	if len(podList) == 0 {
    		return nil
    	}
    
    	queryPodKey, err := cache.MetaNamespaceKeyFunc(pod)
    	if err != nil {
    		return nil
    	}
    
    	for _, foundPod := range podList {
    		foundPodKey, err := cache.MetaNamespaceKeyFunc(foundPod)
    		if err != nil {
    			return nil
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 42K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

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

    	sandboxIDs, err := m.getSandboxIDByPodUID(ctx, podUID, nil)
    	if err != nil {
    		return nil, fmt.Errorf("failed to find sandboxID for pod %s: %v", format.PodDesc(podName, podNamespace, podUID), err)
    	}
    	if len(sandboxIDs) == 0 {
    		return nil, fmt.Errorf("failed to find sandboxID for pod %s", format.PodDesc(podName, podNamespace, podUID))
    	}
    	req := &runtimeapi.PortForwardRequest{
    		PodSandboxId: sandboxIDs[0],
    		Port:         ports,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. docs/pl/docs/index.md

    <div style="text-align: right; margin-right: 10%;">Brian Okken - <strong><a href="https://pythonbytes.fm/episodes/show/123/time-to-right-the-py-wrongs?time_in_sec=855" target="_blank">Python Bytes</a> podcast host</strong> <a href="https://twitter.com/brianokken/status/1112220079972728832" target="_blank"><small>(ref)</small></a></div>
    
    ---
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. docs/ru/docs/index.md

    ---
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  10. docs/uk/docs/index.md

    <div style="text-align: right; margin-right: 10%;">Brian Okken - <strong><a href="https://pythonbytes.fm/episodes/show/123/time-to-right-the-py-wrongs?time_in_sec=855" target="_blank">Python Bytes</a> podcast host</strong> <a href="https://twitter.com/brianokken/status/1112220079972728832" target="_blank"><small>(ref)</small></a></div>
    
    ---
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top