Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for podWithUIDNameNs (0.26 sec)

  1. pkg/kubelet/kubelet_test.go

    	testKubelet := newTestKubelet(t, false /* controllerAttachDetachEnabled */)
    	defer testKubelet.Cleanup()
    	kl := testKubelet.kubelet
    	pods := []*v1.Pod{
    		podWithUIDNameNs("12345678", "pod1", "ns"),
    		podWithUIDNameNs("12345679", "pod2", "ns"),
    		podWithUIDNameNs("12345680", "pod3", "ns"),
    	}
    	syncAndVerifyPodDir(t, testKubelet, pods, pods, true)
    	// Pod 1 failed, and pod 2 succeeded. None of the pod directories should be
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  2. pkg/kubelet/pod_workers_test.go

    		pod       *v1.Pod
    		mirrorPod *v1.Pod
    	}{
    		{
    			&v1.Pod{},
    			&v1.Pod{},
    		},
    		{
    			podWithUIDNameNs("12345678", "foo", "new"),
    			podWithUIDNameNs("12345678", "fooMirror", "new"),
    		},
    		{
    			podWithUIDNameNs("98765", "bar", "new"),
    			podWithUIDNameNs("98765", "barMirror", "new"),
    		},
    	}
    
    	for i, tt := range tests {
    		kubeletForRealWorkers.wg.Add(1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods_test.go

    		podNamespace           = "nsFoo"
    		podUID       types.UID = "12345678"
    		containerID            = "containerFoo"
    		tty                    = true
    	)
    	var (
    		podFullName = kubecontainer.GetPodFullName(podWithUIDNameNs(podUID, podName, podNamespace))
    	)
    
    	testcases := []struct {
    		description string
    		podFullName string
    		container   string
    		command     []string
    		expectError bool
    	}{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
Back to top