From ebfb1ea87b30b34d5e3fb886e3e79c8486da0b0b Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Thu, 13 Mar 2025 13:24:54 +0200 Subject: [PATCH] [no-relnote] Move toolkit installer package Signed-off-by: Evan Lezar --- cmd/nvidia-ctk-installer/container/runtime/runtime.go | 2 +- cmd/nvidia-ctk-installer/main.go | 2 +- cmd/nvidia-ctk-installer/{container => }/toolkit/executable.go | 0 .../{container => }/toolkit/executable_test.go | 0 .../{container => }/toolkit/file-installer.go | 0 cmd/nvidia-ctk-installer/{container => }/toolkit/options.go | 0 .../{container => }/toolkit/replacements.go | 0 cmd/nvidia-ctk-installer/{container => }/toolkit/runtime.go | 0 .../{container => }/toolkit/runtime_test.go | 0 cmd/nvidia-ctk-installer/{container => }/toolkit/toolkit.go | 0 .../{container => }/toolkit/toolkit_test.go | 0 11 files changed, 2 insertions(+), 2 deletions(-) rename cmd/nvidia-ctk-installer/{container => }/toolkit/executable.go (100%) rename cmd/nvidia-ctk-installer/{container => }/toolkit/executable_test.go (100%) rename cmd/nvidia-ctk-installer/{container => }/toolkit/file-installer.go (100%) rename cmd/nvidia-ctk-installer/{container => }/toolkit/options.go (100%) rename cmd/nvidia-ctk-installer/{container => }/toolkit/replacements.go (100%) rename cmd/nvidia-ctk-installer/{container => }/toolkit/runtime.go (100%) rename cmd/nvidia-ctk-installer/{container => }/toolkit/runtime_test.go (100%) rename cmd/nvidia-ctk-installer/{container => }/toolkit/toolkit.go (100%) rename cmd/nvidia-ctk-installer/{container => }/toolkit/toolkit_test.go (100%) diff --git a/cmd/nvidia-ctk-installer/container/runtime/runtime.go b/cmd/nvidia-ctk-installer/container/runtime/runtime.go index 2920262c..e58091ee 100644 --- a/cmd/nvidia-ctk-installer/container/runtime/runtime.go +++ b/cmd/nvidia-ctk-installer/container/runtime/runtime.go @@ -25,7 +25,7 @@ import ( "github.com/NVIDIA/nvidia-container-toolkit/cmd/nvidia-ctk-installer/container/runtime/containerd" "github.com/NVIDIA/nvidia-container-toolkit/cmd/nvidia-ctk-installer/container/runtime/crio" "github.com/NVIDIA/nvidia-container-toolkit/cmd/nvidia-ctk-installer/container/runtime/docker" - "github.com/NVIDIA/nvidia-container-toolkit/cmd/nvidia-ctk-installer/container/toolkit" + "github.com/NVIDIA/nvidia-container-toolkit/cmd/nvidia-ctk-installer/toolkit" ) const ( diff --git a/cmd/nvidia-ctk-installer/main.go b/cmd/nvidia-ctk-installer/main.go index fce109aa..a02c0257 100644 --- a/cmd/nvidia-ctk-installer/main.go +++ b/cmd/nvidia-ctk-installer/main.go @@ -11,7 +11,7 @@ import ( "golang.org/x/sys/unix" "github.com/NVIDIA/nvidia-container-toolkit/cmd/nvidia-ctk-installer/container/runtime" - "github.com/NVIDIA/nvidia-container-toolkit/cmd/nvidia-ctk-installer/container/toolkit" + "github.com/NVIDIA/nvidia-container-toolkit/cmd/nvidia-ctk-installer/toolkit" "github.com/NVIDIA/nvidia-container-toolkit/internal/info" "github.com/NVIDIA/nvidia-container-toolkit/internal/logger" ) diff --git a/cmd/nvidia-ctk-installer/container/toolkit/executable.go b/cmd/nvidia-ctk-installer/toolkit/executable.go similarity index 100% rename from cmd/nvidia-ctk-installer/container/toolkit/executable.go rename to cmd/nvidia-ctk-installer/toolkit/executable.go diff --git a/cmd/nvidia-ctk-installer/container/toolkit/executable_test.go b/cmd/nvidia-ctk-installer/toolkit/executable_test.go similarity index 100% rename from cmd/nvidia-ctk-installer/container/toolkit/executable_test.go rename to cmd/nvidia-ctk-installer/toolkit/executable_test.go diff --git a/cmd/nvidia-ctk-installer/container/toolkit/file-installer.go b/cmd/nvidia-ctk-installer/toolkit/file-installer.go similarity index 100% rename from cmd/nvidia-ctk-installer/container/toolkit/file-installer.go rename to cmd/nvidia-ctk-installer/toolkit/file-installer.go diff --git a/cmd/nvidia-ctk-installer/container/toolkit/options.go b/cmd/nvidia-ctk-installer/toolkit/options.go similarity index 100% rename from cmd/nvidia-ctk-installer/container/toolkit/options.go rename to cmd/nvidia-ctk-installer/toolkit/options.go diff --git a/cmd/nvidia-ctk-installer/container/toolkit/replacements.go b/cmd/nvidia-ctk-installer/toolkit/replacements.go similarity index 100% rename from cmd/nvidia-ctk-installer/container/toolkit/replacements.go rename to cmd/nvidia-ctk-installer/toolkit/replacements.go diff --git a/cmd/nvidia-ctk-installer/container/toolkit/runtime.go b/cmd/nvidia-ctk-installer/toolkit/runtime.go similarity index 100% rename from cmd/nvidia-ctk-installer/container/toolkit/runtime.go rename to cmd/nvidia-ctk-installer/toolkit/runtime.go diff --git a/cmd/nvidia-ctk-installer/container/toolkit/runtime_test.go b/cmd/nvidia-ctk-installer/toolkit/runtime_test.go similarity index 100% rename from cmd/nvidia-ctk-installer/container/toolkit/runtime_test.go rename to cmd/nvidia-ctk-installer/toolkit/runtime_test.go diff --git a/cmd/nvidia-ctk-installer/container/toolkit/toolkit.go b/cmd/nvidia-ctk-installer/toolkit/toolkit.go similarity index 100% rename from cmd/nvidia-ctk-installer/container/toolkit/toolkit.go rename to cmd/nvidia-ctk-installer/toolkit/toolkit.go diff --git a/cmd/nvidia-ctk-installer/container/toolkit/toolkit_test.go b/cmd/nvidia-ctk-installer/toolkit/toolkit_test.go similarity index 100% rename from cmd/nvidia-ctk-installer/container/toolkit/toolkit_test.go rename to cmd/nvidia-ctk-installer/toolkit/toolkit_test.go