- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for EnsureImageExists (0.31 sec)
-
pkg/kubelet/images/image_manager_test.go
// Next two EnsureImageExists should be blocked because maxParallelImagePulls is hit for i := 0; i < 2; i++ { wg.Add(1) go func() { _, _, err := puller.EnsureImageExists(ctx, pod, container, nil, nil, "") assert.Nil(t, err) wg.Done() }() } time.Sleep(1 * time.Second) fakeRuntime.AssertCallCounts("PullImage", 5) // Unblock two image pulls from runtime, and two EnsureImageExists can go through
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 19K bytes - Viewed (0) -
pkg/kubelet/images/types.go
// Implementations are expected to abstract the underlying runtimes. // Implementations are expected to be thread safe. type ImageManager interface { // EnsureImageExists ensures that image specified in `container` exists. EnsureImageExists(ctx context.Context, pod *v1.Pod, container *v1.Container, pullSecrets []v1.Secret, podSandboxConfig *runtimeapi.PodSandboxConfig, podRuntimeHandler string) (string, string, error)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 22:52:46 UTC 2023 - 2K bytes - Viewed (0) -
pkg/kubelet/images/image_manager.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 08 00:30:31 UTC 2024 - 8.9K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container.go
if err != nil { msg := fmt.Sprintf("Failed to lookup runtimeHandler for runtimeClassName %v", pod.Spec.RuntimeClassName) return msg, err } } } imageRef, msg, err := m.imagePuller.EnsureImageExists(ctx, pod, container, pullSecrets, podSandboxConfig, podRuntimeHandler) if err != nil { s, _ := grpcstatus.FromError(err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 54.7K bytes - Viewed (0)