Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NodesSelector string
NodesSelector represent the label selector used to filter impacted nodes.
Functions ¶
func MatchingOptionalSelector ¶
func MatchingOptionalSelector(clients *client.ClientSet, toFilter []corev1.Node) ([]corev1.Node, error)
MatchingOptionalSelector filter the given slice with only the nodes matching the optional selector. If no selector is set, it returns the same list. The NODES_SELECTOR must be set with a labelselector expression. For example: NODES_SELECTOR="sctp=true"
func MatchingOptionalSelectorState ¶
func MatchingOptionalSelectorState(clients *client.ClientSet, toFilter []sriovv1.SriovNetworkNodeState) ([]sriovv1.SriovNetworkNodeState, error)
MatchingOptionalSelectorByName filter the given slice with only the nodes matching the optional selector. If no selector is set, it returns the same list. The NODES_SELECTOR must be in the form of label=value. For example: NODES_SELECTOR="sctp=true"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.