(filter *MetadataFilter)
| 250 | |
| 251 | // MetadataFilter is a filter for metadata. Right now support only direct matching of key/value |
| 252 | type ( |
| 253 | MetadataOperation string |
| 254 | |
| 255 | MetadataFilter struct { |
| 256 | Key string |
| 257 | Operation MetadataOperation |
| 258 | Value string |
| 259 | } |
| 260 | ) |
| 261 | |
| 262 | const ( |
| 263 | OpEqual MetadataOperation = "=" |
| 264 | OpNotEqual MetadataOperation = "<>" |
no outgoing calls