adapters

package
v0.11.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func K8sResourceListToMap added in v0.8.7

func K8sResourceListToMap(resources v1.ResourceList) map[string]k8sResource.Quantity

func PodRequirementsFromPodSpec

func PodRequirementsFromPodSpec(podSpec *v1.PodSpec) *schedulerobjects.PodRequirements

PodRequirementsFromPodSpec function returns *schedulerobjects.PodRequirements for podSpec. An error is logged if the podSpec uses an unknown priority class. This function may mutate podSpec.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL