package
Version:
v1.1.5
Opens a new window with list of versions in this module.
Published: May 10, 2021
License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Info contains infomations aboud GPU
type PodCache struct {
PodGPUMapping map[string]containerToInfo
}
PodCache represents a list of pod to GPU mappings.
NewAllocateCache creates new PodCache
Delete removes GPU info in PodCache
GetCache returns GPU of pod if exist
Insert adds GPU info of pod into PodCache if not exist
Pods returns all pods in PodCache
Source Files
¶
Click to show internal directories.
Click to hide internal directories.