Documentation
¶
Index ¶
- func EqualResourceLists(got, want v1.ResourceList) error
- func GetGPUFraction(pod *v1.Pod) (float64, error)
- func GetGPUMemory(pod *v1.Pod) (int64, error)
- func GetGpuGroups(pod *v1.Pod) []string
- func GetMultiFractionGpuGroupLabel(gpuGroup string) (string, string)
- func GetNumGPUFractionDevices(pod *v1.Pod) (int64, error)
- func GetResourceClaimName(pod *v1.Pod, podClaim *v1.PodResourceClaim) (string, error)
- func IsMultiFraction(pod *v1.Pod) (bool, error)
- func RemoveReservedFor(claim *resourceapi.ResourceClaim, pod *v1.Pod)
- func RequestsGPUFraction(pod *v1.Pod) bool
- func SumResources(left, right v1.ResourceList) v1.ResourceList
- func UpsertReservedFor(claim *resourceapi.ResourceClaim, pod *v1.Pod)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualResourceLists ¶ added in v0.6.0
func EqualResourceLists(got, want v1.ResourceList) error
func GetGpuGroups ¶
func GetResourceClaimName ¶
func RemoveReservedFor ¶
func RemoveReservedFor(claim *resourceapi.ResourceClaim, pod *v1.Pod)
func RequestsGPUFraction ¶
func SumResources ¶ added in v0.6.0
func SumResources(left, right v1.ResourceList) v1.ResourceList
func UpsertReservedFor ¶
func UpsertReservedFor(claim *resourceapi.ResourceClaim, pod *v1.Pod)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.