selector

package
v4.19.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotReadyTaintExists = fmt.Errorf("node has a %s taint", corev1.TaintNodeNotReady)

Functions

func ExtractNodeSelectorAndTolerations

func ExtractNodeSelectorAndTolerations(lvmCluster *lvmv1alpha1.LVMCluster) (*corev1.NodeSelector, []corev1.Toleration)

ExtractNodeSelectorAndTolerations combines and extracts scheduling parameters from the multiple deviceClass entries in an lvmCluster

func ToleratesAllTaints

func ToleratesAllTaints(taints []corev1.Taint, tolerations []corev1.Toleration) (bool, error)

TolerateAllTaints returns true if all taints are tolerated by the provided tolerations

func ValidNodes

func ValidNodes(lvmCluster *lvmv1alpha1.LVMCluster, nodes *corev1.NodeList) ([]corev1.Node, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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