Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for PodID (0.04 sec)

  1. pkg/kubelet/container/cache_test.go

    	podID, status := getTestPodIDAndStatus(3)
    	cache.Set(podID, status, nil, time.Time{})
    	actualStatus, actualErr := cache.Get(podID)
    	assert.Equal(t, status, actualStatus)
    	assert.Equal(t, nil, actualErr)
    	// Delete the pod from cache, and verify that we get an empty status.
    	cache.Delete(podID)
    	expectedStatus := &PodStatus{ID: podID}
    	actualStatus, actualErr = cache.Get(podID)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 24 20:23:12 UTC 2020
    - 6K bytes
    - Viewed (0)
  2. pkg/kubelet/server/auth_test.go

    	// Path -> ExpectedSubresource
    	testPaths := map[string]string{
    		"/attach/{podNamespace}/{podID}/{containerName}":       "proxy",
    		"/attach/{podNamespace}/{podID}/{uid}/{containerName}": "proxy",
    		"/checkpoint/{podNamespace}/{podID}/{containerName}":   "checkpoint",
    		"/configz": "proxy",
    		"/containerLogs/{podNamespace}/{podID}/{containerName}": "proxy",
    		"/debug/flags/v":                                     "proxy",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 18:09:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods_windows_test.go

    		"disk4": kubecontainer.VolumeInfo{Mounter: &stubVolume{path: "c:/mnt/host"}},
    		"disk5": kubecontainer.VolumeInfo{Mounter: &stubVolume{path: "c:/var/lib/kubelet/podID/volumes/empty/disk5"}},
    		"disk6": kubecontainer.VolumeInfo{Mounter: &stubVolume{path: `/mnt/disk6`}},
    		"disk7": kubecontainer.VolumeInfo{Mounter: &stubVolume{path: `\mnt\disk7`}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. pkg/test/framework/components/istio/ingress/interface.go

    	// when in an environment that doesn't support LoadBalancer) for the given port.
    	AddressesForPort(port int) ([]string, []int)
    
    	// PodID returns the name of the ingress gateway pod of index i. Returns error if failed to get the pod
    	// or the index is out of boundary.
    	PodID(i int) (string, error)
    
    	// Cluster the ingress is deployed to
    	Cluster() cluster.Cluster
    
    	// Namespace of the ingress
    	Namespace() string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 17:13:34 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. pkg/kubelet/pleg/evented_test.go

    	for _, podStatus := range podStatuses[:2] {
    		podId := string(podStatus.ID)
    		newPodStatus := kubecontainer.PodStatus{
    			ID: podStatus.ID,
    			SandboxStatuses: []*v1.PodSandboxStatus{
    				{Id: podId},
    			},
    			ContainerStatuses: []*kubecontainer.Status{
    				// update state to container exited
    				{ID: kubecontainer.ContainerID{ID: podId}, State: kubecontainer.ContainerStateExited},
    			},
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 01 07:45:05 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  6. tests/integration/security/cacert_rotation/main_test.go

    				})
    		})
    }
    
    func getWorkloadCertLastUpdateTime(t framework.TestContext, i echo.Instance, ctl istioctl.Instance) (time.Time, error) {
    	podID, err := getPodID(i)
    	if err != nil {
    		t.Fatalf("Could not get Pod ID: %v", err)
    	}
    	podName := fmt.Sprintf("%s.%s", podID, i.NamespaceName())
    	out, errOut, err := ctl.Invoke([]string{"pc", "s", podName, "-o", "json"})
    	if err != nil || errOut != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. pkg/test/framework/components/istio/ingress.go

    		return "", fmt.Errorf("must provide either protocol or scheme")
    	}
    
    	if opts.Scheme != "" {
    		return opts.Scheme, nil
    	}
    
    	return opts.Port.Scheme()
    }
    
    func (c *ingressImpl) PodID(i int) (string, error) {
    	pods, err := c.env.Clusters().Default().PodsForSelector(context.TODO(), c.service.Namespace, c.labelSelector)
    	if err != nil {
    		return "", fmt.Errorf("unable to get ingressImpl gateway stats: %v", err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 17:13:34 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top