MCPcopy Create free account
hub / github.com/ROCm/gpu-operator / validator

Struct validator

internal/validator/validator.go:33–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected