doubleQualifier qualifies a CEL object, map, or list using a double value. This qualifier is used for working with dynamic data like JSON or protobuf.Any where the value type may not be known ahead of time and may not conform to the standard types supported as valid protobuf map key types.
| 1230 | // type may not be known ahead of time and may not conform to the standard types supported as valid |
| 1231 | // protobuf map key types. |
| 1232 | type doubleQualifier struct { |
| 1233 | id int64 |
| 1234 | value float64 |
| 1235 | celValue ref.Val |
| 1236 | adapter types.Adapter |
| 1237 | optional bool |
| 1238 | errorOnBadPresenceTest bool |
| 1239 | } |
| 1240 | |
| 1241 | // ID is an implementation of the Qualifier interface method. |
| 1242 | func (q *doubleQualifier) ID() int64 { |
nothing calls this directly
no outgoing calls
no test coverage detected