Documentation
¶
Index ¶
- Variables
- func ExtractNodeSelectorAndTolerations(lvmCluster *lvmv1alpha1.LVMCluster) (*corev1.NodeSelector, []corev1.Toleration)
- func ToleratesAllTaints(taints []corev1.Taint, tolerations []corev1.Toleration) (bool, error)
- func ValidNodes(lvmCluster *lvmv1alpha1.LVMCluster, nodes *corev1.NodeList) ([]corev1.Node, error)
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.