From f50aecb84e058ff9a7e927c2830e00624227f107 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Mon, 6 Sep 2021 11:52:23 +0200 Subject: [PATCH] Rename -toolkit executable to -runtime-hook This change renames the nvidia-container-toolkit executable to nvidia-container-runtime-hook. Here nvidia-container-toolkit is created as a symlink to nvidia-container-runtime-hook. Signed-off-by: Evan Lezar --- .../capabilities.go | 0 .../capabilities_test.go | 0 .../container_config.go | 0 .../container_config_test.go | 0 .../hook_config.go | 2 +- .../hook_config_test.go | 0 .../hook_test.go | 0 .../main.go | 0 8 files changed, 1 insertion(+), 1 deletion(-) rename cmd/{nvidia-container-toolkit => nvidia-container-runtime-hook}/capabilities.go (100%) rename cmd/{nvidia-container-toolkit => nvidia-container-runtime-hook}/capabilities_test.go (100%) rename cmd/{nvidia-container-toolkit => nvidia-container-runtime-hook}/container_config.go (100%) rename cmd/{nvidia-container-toolkit => nvidia-container-runtime-hook}/container_config_test.go (100%) rename cmd/{nvidia-container-toolkit => nvidia-container-runtime-hook}/hook_config.go (98%) rename cmd/{nvidia-container-toolkit => nvidia-container-runtime-hook}/hook_config_test.go (100%) rename cmd/{nvidia-container-toolkit => nvidia-container-runtime-hook}/hook_test.go (100%) rename cmd/{nvidia-container-toolkit => nvidia-container-runtime-hook}/main.go (100%) diff --git a/cmd/nvidia-container-toolkit/capabilities.go b/cmd/nvidia-container-runtime-hook/capabilities.go similarity index 100% rename from cmd/nvidia-container-toolkit/capabilities.go rename to cmd/nvidia-container-runtime-hook/capabilities.go diff --git a/cmd/nvidia-container-toolkit/capabilities_test.go b/cmd/nvidia-container-runtime-hook/capabilities_test.go similarity index 100% rename from cmd/nvidia-container-toolkit/capabilities_test.go rename to cmd/nvidia-container-runtime-hook/capabilities_test.go diff --git a/cmd/nvidia-container-toolkit/container_config.go b/cmd/nvidia-container-runtime-hook/container_config.go similarity index 100% rename from cmd/nvidia-container-toolkit/container_config.go rename to cmd/nvidia-container-runtime-hook/container_config.go diff --git a/cmd/nvidia-container-toolkit/container_config_test.go b/cmd/nvidia-container-runtime-hook/container_config_test.go similarity index 100% rename from cmd/nvidia-container-toolkit/container_config_test.go rename to cmd/nvidia-container-runtime-hook/container_config_test.go diff --git a/cmd/nvidia-container-toolkit/hook_config.go b/cmd/nvidia-container-runtime-hook/hook_config.go similarity index 98% rename from cmd/nvidia-container-toolkit/hook_config.go rename to cmd/nvidia-container-runtime-hook/hook_config.go index 6a6d18b3..9913ccc5 100644 --- a/cmd/nvidia-container-toolkit/hook_config.go +++ b/cmd/nvidia-container-runtime-hook/hook_config.go @@ -34,7 +34,7 @@ type CLIConfig struct { Ldconfig *string `toml:"ldconfig"` } -// HookConfig : options for the nvidia-container-toolkit. +// HookConfig : options for the nvidia-container-runtime-hook. type HookConfig struct { DisableRequire bool `toml:"disable-require"` SwarmResource *string `toml:"swarm-resource"` diff --git a/cmd/nvidia-container-toolkit/hook_config_test.go b/cmd/nvidia-container-runtime-hook/hook_config_test.go similarity index 100% rename from cmd/nvidia-container-toolkit/hook_config_test.go rename to cmd/nvidia-container-runtime-hook/hook_config_test.go diff --git a/cmd/nvidia-container-toolkit/hook_test.go b/cmd/nvidia-container-runtime-hook/hook_test.go similarity index 100% rename from cmd/nvidia-container-toolkit/hook_test.go rename to cmd/nvidia-container-runtime-hook/hook_test.go diff --git a/cmd/nvidia-container-toolkit/main.go b/cmd/nvidia-container-runtime-hook/main.go similarity index 100% rename from cmd/nvidia-container-toolkit/main.go rename to cmd/nvidia-container-runtime-hook/main.go