NewNodeSelectorValidator returns a new instance of nodeselector validator
(c client.Client)
| 39 | |
| 40 | // NewNodeSelectorValidator returns a new instance of nodeselector validator |
| 41 | func NewNodeSelectorValidator(c client.Client) Validator { |
| 42 | return &nodeSelectorValidator{client: c} |
| 43 | } |
| 44 | |
| 45 | // Check returns error when nodes matching with the selector labels of current instance of NVIDIADriver |
| 46 | // are conflicting with other instances of NVIDIADriver |
no outgoing calls