type pullerExpects … type pullerTestCase … func pullerTestCases() []pullerTestCase { … } type mockPodPullingTimeRecorder … func (m *mockPodPullingTimeRecorder) RecordImageStartedPulling(podUID types.UID) { … } func (m *mockPodPullingTimeRecorder) RecordImageFinishedPulling(podUID types.UID) { … } func (m *mockPodPullingTimeRecorder) reset() { … } func pullerTestEnv(t *testing.T, c pullerTestCase, serialized bool, maxParallelImagePulls *int32) (puller ImageManager, fakeClock *testingclock.FakeClock, fakeRuntime *ctest.FakeRuntime, container *v1.Container, fakePodPullingTimeRecorder *mockPodPullingTimeRecorder, fakeRecorder *testutil.FakeRecorder) { … } func TestParallelPuller(t *testing.T) { … } func TestSerializedPuller(t *testing.T) { … } func TestApplyDefaultImageTag(t *testing.T) { … } func TestPullAndListImageWithPodAnnotations(t *testing.T) { … } func TestPullAndListImageWithRuntimeHandlerInImageCriAPIFeatureGate(t *testing.T) { … } func TestMaxParallelImagePullsLimit(t *testing.T) { … } func TestEvalCRIPullErr(t *testing.T) { … } func TestImagePullPrecheck(t *testing.T) { … }