newValidatorConfig initializes the validator config with default values for core CEL validators.
()
| 151 | |
| 152 | // newValidatorConfig initializes the validator config with default values for core CEL validators. |
| 153 | func newValidatorConfig() *validatorConfig { |
| 154 | return &validatorConfig{ |
| 155 | data: map[string]any{ |
| 156 | HomogeneousAggregateLiteralExemptFunctions: []string{}, |
| 157 | }, |
| 158 | } |
| 159 | } |
| 160 | |
| 161 | // GetOrDefault returns the configured value for the name, if present, else the input default value. |
| 162 | // |
no outgoing calls