- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for newContainerAllocateResponse (0.38 sec)
-
pkg/kubelet/cm/devicemanager/pod_devices_test.go
resource1: newContainerAllocateResponse(), }, expected: &DeviceRunContainerOptions{}, }, { description: "cdi devices are ingored when feature gate is disabled", gate: false, responsesPerResource: map[string]*pluginapi.ContainerAllocateResponse{ resource1: newContainerAllocateResponse( withDevices(map[string]string{"/dev/r1": "/dev/r1"}),
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
return func(b *containerAllocateResponseBuilder) { b.cdiDevices = cdiDevices } } // newContainerAllocateResponse creates a ContainerAllocateResponse with the given options. func newContainerAllocateResponse(opts ...containerAllocateResponseBuilderOption) *pluginapi.ContainerAllocateResponse { b := &containerAllocateResponseBuilder{} for _, opt := range opts { opt(b)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 65K bytes - Viewed (0)