- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for withCDIDevices (0.29 sec)
-
pkg/kubelet/cm/devicemanager/pod_devices_test.go
gate: true, responsesPerResource: map[string]*pluginapi.ContainerAllocateResponse{ resource1: newContainerAllocateResponse( withCDIDevices("vendor1.com/class1=device1", "vendor2.com/class2=device2"), ), resource2: newContainerAllocateResponse( withCDIDevices("vendor3.com/class3=device3", "vendor4.com/class4=device4"), ), }, expected: &DeviceRunContainerOptions{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 10.3K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/manager_test.go
func withEnvs(envs map[string]string) containerAllocateResponseBuilderOption { return func(b *containerAllocateResponseBuilder) { b.envs = envs } } // withCDIDevices sets the cdiDevices for the containerAllocateResponseBuilder func withCDIDevices(cdiDevices ...string) containerAllocateResponseBuilderOption { return func(b *containerAllocateResponseBuilder) { b.cdiDevices = cdiDevices } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 65K bytes - Viewed (0)