Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeviceInfo ¶
Types ¶
type DeviceInfoMap ¶
type DeviceInfoMap map[string]*deviceInfo
func NewDeviceInfoMap ¶
func NewDeviceInfoMap() DeviceInfoMap
type ResourceManager ¶
type ResourceManager interface { ReallocateWithFractionalResources(*pluginapi.AllocateRequest) (*pluginapi.AllocateResponse, error) SetDevInfos(DeviceInfoMap) }
func NewResourceManager ¶
func NewResourceManager(skipID, fullResourceName string) (ResourceManager, error)
NewResourceManager creates a new resource manager.
Click to show internal directories.
Click to hide internal directories.