newValidatorConfig initializes the validator config with default values for core CEL validators.
()
| 178 | |
| 179 | // newValidatorConfig initializes the validator config with default values for core CEL validators. |
| 180 | func newValidatorConfig() *validatorConfig { |
| 181 | return &validatorConfig{ |
| 182 | data: map[string]any{ |
| 183 | HomogeneousAggregateLiteralExemptFunctions: []string{}, |
| 184 | }, |
| 185 | } |
| 186 | } |
| 187 | |
| 188 | // GetOrDefault returns the configured value for the name, if present, else the input default value. |
| 189 | // |
no outgoing calls