Documentation ¶
Index ¶
- func ExtractNodeSelectorAndTolerations(lvmCluster *lvmv1alpha1.LVMCluster) (*corev1.NodeSelector, []corev1.Toleration)
- func ToleratesAllTaints(taints []corev1.Taint, tolerations []corev1.Toleration) bool
- func ValidNodes(lvmCluster *lvmv1alpha1.LVMCluster, nodes *corev1.NodeList) ([]corev1.Node, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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
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.