mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-06-26 18:18:24 +00:00
Add EnableCDI() method to engine.Interface
This change adds an EnableCDI method to the container engine config files and Updates the 'nvidia-ctk runtime configure' command to use this new method. Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com>
This commit is contained in:
committed by
Evan Lezar
parent
91a983a341
commit
1bc9548a2f
@@ -20,6 +20,7 @@ package engine
|
||||
type Interface interface {
|
||||
AddRuntime(string, string, bool) error
|
||||
DefaultRuntime() string
|
||||
EnableCDI()
|
||||
GetRuntimeConfig(string) (RuntimeConfig, error)
|
||||
RemoveRuntime(string) error
|
||||
Save(string) (int64, error)
|
||||
|
||||
Reference in New Issue
Block a user