CheckEngineWithCache is a struct that holds an instance of a cache.Cache for managing engine cache.
| 19 | |
| 20 | // CheckEngineWithCache is a struct that holds an instance of a cache.Cache for managing engine cache. |
| 21 | type CheckEngineWithCache struct { |
| 22 | // schemaReader is responsible for reading schema information |
| 23 | schemaReader storage.SchemaReader |
| 24 | checker invoke.Check |
| 25 | cache cache.Cache |
| 26 | |
| 27 | // Metrics |
| 28 | cacheHitHistogram metric.Int64Histogram |
| 29 | } |
| 30 | |
| 31 | // NewCheckEngineWithCache creates a new instance of EngineKeyManager by initializing an EngineKeys |
| 32 | // struct with the provided cache.Cache instance. |
nothing calls this directly
no outgoing calls
no test coverage detected