newValidatorConfig initializes the validator config with default values for core CEL validators.
()
| 167 | |
| 168 | // newValidatorConfig initializes the validator config with default values for core CEL validators. |
| 169 | func newValidatorConfig() *validatorConfig { |
| 170 | return &validatorConfig{ |
| 171 | data: map[string]any{ |
| 172 | HomogeneousAggregateLiteralExemptFunctions: []string{}, |
| 173 | }, |
| 174 | } |
| 175 | } |
| 176 | |
| 177 | // GetOrDefault returns the configured value for the name, if present, else the input default value. |
| 178 | // |
no outgoing calls