- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for mustInclude (0.2 sec)
-
pkg/kubelet/cm/devicemanager/endpoint.go
// for managing gRPC communications with the device plugin and caching // device states reported by the device plugin. type endpoint interface { getPreferredAllocation(available, mustInclude []string, size int) (*pluginapi.PreferredAllocationResponse, error) allocate(devs []string) (*pluginapi.AllocateResponse, error) preStartContainer(devs []string) (*pluginapi.PreStartContainerResponse, error)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 02 11:05:20 UTC 2022 - 3.9K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/topology_hints_test.go
m.endpoints[tc.resource] = endpointInfo{ e: &MockEndpoint{ getPreferredAllocationFunc: func(available, mustInclude []string, size int) (*pluginapi.PreferredAllocationResponse, error) { actualAvailable = append(actualAvailable, available...) actualMustInclude = append(actualMustInclude, mustInclude...) actualSize = size return nil, nil }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 13:02:15 UTC 2023 - 47.5K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/manager_test.go
m.initChan <- devs return &pluginapi.PreStartContainerResponse{}, nil } func (m *MockEndpoint) getPreferredAllocation(available, mustInclude []string, size int) (*pluginapi.PreferredAllocationResponse, error) { if m.getPreferredAllocationFunc != nil { return m.getPreferredAllocationFunc(available, mustInclude, size) } return nil, nil } func (m *MockEndpoint) allocate(devs []string) (*pluginapi.AllocateResponse, error) {
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/manager.go
// call for device plugin resource with GetPreferredAllocationAvailable option set. func (m *ManagerImpl) callGetPreferredAllocationIfAvailable(podUID, contName, resource string, available, mustInclude sets.Set[string], size int) (sets.Set[string], error) { eI, ok := m.endpoints[resource] if !ok { return nil, fmt.Errorf("endpoint not found in cache for a registered resource: %s", resource) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 12:01:56 UTC 2024 - 43K bytes - Viewed (0)