- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ImageList (0.27 sec)
-
pkg/kubelet/kubelet_node_status_test.go
return imageList, expectedImageList } func makeExpectedImageList(imageList []kubecontainer.Image, maxImages int) []v1.ContainerImage { // expectedImageList is generated by imageList according to size and maxImages // 1. sort the imageList by size sort.Sort(sliceutils.ByImageSize(imageList)) // 2. convert sorted imageList to v1.ContainerImage list var expectedImageList []v1.ContainerImage for _, kubeImage := range imageList {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 08 19:23:19 UTC 2024 - 115.8K bytes - Viewed (0) -
pkg/kubelet/kubelet_test.go
} func newTestKubeletWithImageList( t *testing.T, imageList []kubecontainer.Image, controllerAttachDetachEnabled bool, initFakeVolumePlugin bool, localStorageCapacityIsolation bool, ) *TestKubelet { logger, _ := ktesting.NewTestContext(t) fakeRuntime := &containertest.FakeRuntime{ ImageList: imageList, // Set ready conditions by default. RuntimeStatus: &kubecontainer.RuntimeStatus{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 106.9K bytes - Viewed (0)