- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for UnblockImagePulls (0.36 sec)
-
pkg/kubelet/container/testing/fake_runtime.go
} // Unlock before waiting for UnblockImagePulls calls, to avoid deadlock. f.Unlock() select { case <-ctx.Done(): case <-f.imagePullTokenBucket: } return image.Image, retErr } // UnblockImagePulls unblocks a certain number of image pulls, if BlockImagePulls is true. func (f *FakeRuntime) UnblockImagePulls(count int) { if f.imagePullTokenBucket != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 14 00:23:50 UTC 2024 - 13.9K bytes - Viewed (0) -
pkg/kubelet/images/image_manager_test.go
// Unblock two image pulls from runtime, and two EnsureImageExists can go through fakeRuntime.UnblockImagePulls(2) time.Sleep(1 * time.Second) fakeRuntime.AssertCallCounts("PullImage", 7) // Unblock the remaining 5 image pulls from runtime, and all EnsureImageExists can go through fakeRuntime.UnblockImagePulls(5) wg.Wait() fakeRuntime.AssertCallCounts("PullImage", 7) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 19K bytes - Viewed (0)