Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for verifyFakeContainerList (0.15 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    		sort.Sort(containersByID(b[i].Containers))
    	}
    
    	// Sort the pods by UID.
    	sort.Sort(podsByID(a))
    	sort.Sort(podsByID(b))
    
    	return reflect.DeepEqual(a, b)
    }
    
    func verifyFakeContainerList(fakeRuntime *apitest.FakeRuntimeService, expected sets.Set[string]) (sets.Set[string], bool) {
    	actual := sets.New[string]()
    	for _, c := range fakeRuntime.Containers {
    		actual.Insert(c.Id)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
Back to top