| 31 | } |
| 32 | |
| 33 | type validator struct { |
| 34 | specValidationFuncs map[string]func(context.Context, client.Client, *amdv1alpha1.DeviceConfig) error |
| 35 | } |
| 36 | |
| 37 | func NewValidator() ValidatorAPI { |
| 38 | // Map of spec names to their respective validation functions |
nothing calls this directly
no outgoing calls
no test coverage detected