Documentation ¶
Index ¶
- func MergeResourceListKeepFirst(dst, src corev1.ResourceList) corev1.ResourceList
- func MergeResourceListKeepMax(a, b corev1.ResourceList) corev1.ResourceList
- func MergeResourceListKeepMin(a, b corev1.ResourceList) corev1.ResourceList
- func MergeResourceListKeepSum(a, b corev1.ResourceList) corev1.ResourceList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeResourceListKeepFirst ¶
func MergeResourceListKeepFirst(dst, src corev1.ResourceList) corev1.ResourceList
MergeResourceListKeepFirst creates a new ResourceList holding all resource values from dst and any new values from src
func MergeResourceListKeepMax ¶
func MergeResourceListKeepMax(a, b corev1.ResourceList) corev1.ResourceList
MergeResourceListKeepMax creates a new ResourceList holding all the values from a and b and resolve potential conflicts by keeping the highest value.
func MergeResourceListKeepMin ¶
func MergeResourceListKeepMin(a, b corev1.ResourceList) corev1.ResourceList
MergeResourceListKeepMin creates a new ResourceList holding all the values from a and b and resolve potential conflicts by keeping the lowest value.
func MergeResourceListKeepSum ¶
func MergeResourceListKeepSum(a, b corev1.ResourceList) corev1.ResourceList
MergeResourceListKeepSum creates a new ResourceList holding all the values from a and b and resolve potential conflicts by adding up the tow values.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.