MCPcopy Create free account
hub / github.com/NVIDIA/gpu-operator / Validate

Method Validate

internal/validator/validator.go:32–32  ·  view source on GitHub ↗
(ctx context.Context, cr *nvidiav1alpha1.NVIDIADriver)

Source from the content-addressed store, hash-verified

30// Validator provides interface to validate NVIDIADriver fields
31type Validator interface {
32 Validate(ctx context.Context, cr *nvidiav1alpha1.NVIDIADriver) error
33}
34
35// nodeSelectorValidator validates against the nodeSelector

Callers 2

ReconcileMethod · 0.65
TestCheckNodeSelectorFunction · 0.65

Implementers 2

FakeNodeSelectorValidatorcontrollers/nvidiadriver_controller_te
nodeSelectorValidatorinternal/validator/validator.go

Calls

no outgoing calls

Tested by 1

TestCheckNodeSelectorFunction · 0.52