mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-18 04:54:54 +00:00
kubelet/image_manager: rename EnsureImageExists arguments at the interface level
These were previously only renamed at the implementation and the interface itself was forgotten about. Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
This commit is contained in:
committed by
Stanislav Láznička
parent
973779a398
commit
89f1edd516
@@ -47,8 +47,8 @@ var (
|
||||
// Implementations are expected to abstract the underlying runtimes.
|
||||
// Implementations are expected to be thread safe.
|
||||
type ImageManager interface {
|
||||
// EnsureImageExists ensures that image specified by `imgRef` exists.
|
||||
EnsureImageExists(ctx context.Context, objRef *v1.ObjectReference, pod *v1.Pod, imgRef string, pullSecrets []v1.Secret, podSandboxConfig *runtimeapi.PodSandboxConfig, podRuntimeHandler string, pullPolicy v1.PullPolicy) (string, string, error)
|
||||
// EnsureImageExists ensures that image specified by `requestedImage` exists.
|
||||
EnsureImageExists(ctx context.Context, objRef *v1.ObjectReference, pod *v1.Pod, requestedImage string, pullSecrets []v1.Secret, podSandboxConfig *runtimeapi.PodSandboxConfig, podRuntimeHandler string, pullPolicy v1.PullPolicy) (imageRef, message string, err error)
|
||||
|
||||
// TODO(ronl): consolidating image managing and deleting operation in this interface
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user