Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for allocateFunc (0.09 sec)

  1. pkg/kubelet/cm/devicemanager/manager_test.go

    		return m.getPreferredAllocationFunc(available, mustInclude, size)
    	}
    	return nil, nil
    }
    
    func (m *MockEndpoint) allocate(devs []string) (*pluginapi.AllocateResponse, error) {
    	if m.allocateFunc != nil {
    		return m.allocateFunc(devs)
    	}
    	return nil, nil
    }
    
    func (m *MockEndpoint) setStopTime(t time.Time) {}
    
    func (m *MockEndpoint) isStopped() bool { return false }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
Back to top