Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newPodLabels (0.13 sec)

  1. pkg/kubelet/kuberuntime/labels_test.go

    		Labels:       pod.Labels,
    		PodName:      pod.Name,
    		PodNamespace: pod.Namespace,
    		PodUID:       pod.UID,
    	}
    
    	// Test whether we can get right information from label
    	labels := newPodLabels(pod)
    	podSandboxInfo := getPodSandboxInfoFromLabels(labels)
    	if !reflect.DeepEqual(podSandboxInfo, expected) {
    		t.Errorf("expected %v, got %v", expected, podSandboxInfo)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 22:43:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top