- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for withMounts (0.16 sec)
-
pkg/kubelet/cm/devicemanager/manager_test.go
func withDevices(devices map[string]string) containerAllocateResponseBuilderOption { return func(b *containerAllocateResponseBuilder) { b.devices = devices } } // withMounts sets the mounts for the containerAllocateResponseBuilder func withMounts(mounts map[string]string) containerAllocateResponseBuilderOption { return func(b *containerAllocateResponseBuilder) { b.mounts = mounts } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 65K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/pod_devices_test.go
podDevices.insert(podID, contID, resourceName1, devices, newContainerAllocateResponse( withDevices(map[string]string{"/dev/r1dev1": "/dev/r1dev1", "/dev/r1dev2": "/dev/r1dev2"}), withMounts(map[string]string{"/home/r1lib1": "/usr/r1lib1"}), ), ) resContDevices := podDevices.getContainerDevices(podID, contID) contDevices, ok := resContDevices[resourceName1]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 10.3K bytes - Viewed (0)