mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue Fix devices information struct in container So far nowhere use the ```Devices``` which in ```RunContainerOptions```. But when I want to use it, found that it could be better if change it, because Devices in container is like: ```json "Devices": [ { "PathOnHost": "/dev/nvidiactl", "PathInContainer": "/dev/nvidiactl", "CgroupPermissions": "mrw" }, { "PathOnHost": "/dev/nvidia-uvm", "PathInContainer": "/dev/nvidia-uvm", "CgroupPermissions": "mrw" }, { "PathOnHost": "/dev/nvidia0", "PathInContainer": "/dev/nvidia0", "CgroupPermissions": "mrw" } ], ``` |
||
---|---|---|
.. | ||
testing | ||
BUILD | ||
cache.go | ||
cache_test.go | ||
container_gc.go | ||
container_reference_manager.go | ||
helpers.go | ||
helpers_test.go | ||
os.go | ||
pty_linux.go | ||
pty_unsupported.go | ||
ref.go | ||
ref_test.go | ||
resize.go | ||
runtime.go | ||
runtime_cache.go | ||
runtime_cache_fake.go | ||
runtime_cache_test.go | ||
sync_result.go | ||
sync_result_test.go |