grafana/pkg/storage/unified/resource
Peter Štibraný d801b87db9
LastImportTime for resource. (#112153)
* LastImportTime for resource.

* Make StorageBackendImpl implement GetResourceLastImportTimes

* More missing implementations of GetResourceLastImportTimes

* Fix import.

* Skip TestGetResourceLastImportTime in TestBadgerKVStorageBackend.

* Implement GetResourceLastImportTimes by mockStorageBackend

* Bump test tolerance.

* Fix postgres query and timezone.

* Fix postgres query and timezone.

* Make linter happy.
2025-10-09 11:27:11 +02:00
..
grpc grpc: wrapContext should not replace existing metadata, but append to it. (#107126) 2025-06-25 08:06:45 +00:00
testdata Chore: Upgrade k8s.io/api v0.34.1 and grafana-app-sdk v0.43.1 (#111009) 2025-09-16 13:35:20 +03:00
access.go Chore: Update authlib (foder as top level argument) (#111800) 2025-10-01 14:40:28 +00:00
access_test.go Chore: Update authlib (foder as top level argument) (#111800) 2025-10-01 14:40:28 +00:00
bleve_index_metrics.go Rebuild search indexes asynchronously (#111829) 2025-10-01 11:52:09 +02:00
broadcaster.go refactor(unified-storage): rename cache to avoid import conflicts (#105831) 2025-05-22 17:12:31 +02:00
broadcaster_test.go unistore: close event stream on context cancelation (#101293) 2025-02-25 08:28:31 -08:00
bulk.go LastImportTime for resource. (#112153) 2025-10-09 11:27:11 +02:00
cdk_backend.go LastImportTime for resource. (#112153) 2025-10-09 11:27:11 +02:00
cdk_blob.go refactor(unified-storage): move generated protos to own pkg (#105356) 2025-05-15 21:36:52 +02:00
cdk_blob_test.go refactor(unified-storage): move generated protos to own pkg (#105356) 2025-05-15 21:36:52 +02:00
cdk_bucket.go feat(unified-storage): provide delete function for bucket (#103825) 2025-04-11 10:10:13 +02:00
cdk_bucket_test.go feat(unified-storage): provide delete function for bucket (#103825) 2025-04-11 10:10:13 +02:00
client.go Chore: Update authlib (#110880) 2025-09-15 12:45:15 +02:00
client_mock.go Chore: Replace hand crafted mocks with mockery (#110627) 2025-09-05 07:13:15 +00:00
client_test.go Auth: Fix function name (#100122) 2025-02-05 15:32:22 +01:00
continue.go Storage: Add ascending order support for NotOlderThan queries and introduce ResourceVersionMatch_Unset as default (#102505) 2025-03-21 18:35:32 +02:00
continue_test.go Storage: Add ascending order support for NotOlderThan queries and introduce ResourceVersionMatch_Unset as default (#102505) 2025-03-21 18:35:32 +02:00
datastore.go kvstore: merge the metadata store into the datastore (#110334) 2025-09-16 12:16:29 +02:00
datastore_test.go kvstore: merge the metadata store into the datastore (#110334) 2025-09-16 12:16:29 +02:00
doc.go ResourceServer: Add resource server protobuf and wrapper (#90007) 2024-07-09 15:08:13 -07:00
document.go unistore: index search references (#106954) 2025-06-24 14:54:07 -05:00
document_test.go refactor(unified-storage): move generated protos to own pkg (#105356) 2025-05-15 21:36:52 +02:00
errors.go Storage: Propagate RV to server on update+delete (#111866) 2025-10-01 18:00:02 +03:00
errors_test.go Use logging from app sdk in the resource mod (#103281) 2025-04-08 15:35:11 +02:00
event.go unistore: add kv based storage backend (#107305) 2025-07-02 10:57:37 +00:00
eventstore.go kvstore: merge the metadata store into the datastore (#110334) 2025-09-16 12:16:29 +02:00
eventstore_test.go kvstore: merge the metadata store into the datastore (#110334) 2025-09-16 12:16:29 +02:00
health.go refactor(unified-storage): move generated protos to own pkg (#105356) 2025-05-15 21:36:52 +02:00
health_test.go refactor(unified-storage): move generated protos to own pkg (#105356) 2025-05-15 21:36:52 +02:00
hooks.go Authlib: Use types package rather than claims (#99243) 2025-01-21 12:06:55 +03:00
keys.go Unistore: ignore name when validating collection keys (#112086) 2025-10-07 06:45:59 +00:00
keys_test.go Unistore: ignore name when validating collection keys (#112086) 2025-10-07 06:45:59 +00:00
kv.go unistore: save returns a writecloser (#107955) 2025-07-11 18:25:48 +02:00
kv_test.go unistore: save returns a writecloser (#107955) 2025-07-11 18:25:48 +02:00
metrics.go fix (unified-storage): stop registering unified storage metrics in global state (#101322) 2025-02-28 07:39:39 -05:00
migrations.go refactor(unified-storage): move generated protos to own pkg (#105356) 2025-05-15 21:36:52 +02:00
noop.go refactor(unified-storage): move generated protos to own pkg (#105356) 2025-05-15 21:36:52 +02:00
notifier.go unistore: add eventstore and notifier (#107182) 2025-06-30 11:20:57 +02:00
notifier_test.go unistore: add eventstore and notifier (#107182) 2025-06-30 11:20:57 +02:00
pruner.go Unified Storage: Adds pruner to kv backend (#110549) 2025-09-05 10:02:11 -06:00
pruner_test.go Unified Storage: Adds pruner to kv backend (#110549) 2025-09-05 10:02:11 -06:00
search.go Remove unused arguments from ResourceIndex and SearchBackend interfaces. (#112043) 2025-10-06 11:47:52 +02:00
search_client.go Unistore: Only Shadow Search Traffic when running on modes > 0 (#110302) 2025-09-01 16:14:53 -03:00
search_client_test.go Unistore: Only Shadow Search Traffic when running on modes > 0 (#110302) 2025-09-01 16:14:53 -03:00
search_server_distributor.go Improve search index eviction (#111542) 2025-09-24 16:54:35 +02:00
search_test.go LastImportTime for resource. (#112153) 2025-10-09 11:27:11 +02:00
secure.go Secrets: Manage secure values inside any resource (#107803) 2025-08-14 12:31:24 +00:00
secure_test.go Secrets: Manage secure values inside any resource (#107803) 2025-08-14 12:31:24 +00:00
server.go LastImportTime for resource. (#112153) 2025-10-09 11:27:11 +02:00
server_test.go Unified storage search: Introduce min index update interval (#111978) 2025-10-06 10:02:03 +02:00
storage_backend.go LastImportTime for resource. (#112153) 2025-10-09 11:27:11 +02:00
storage_backend_test.go Trash: Keep provisioned objects out of the trash (#111714) 2025-09-28 20:33:57 +00:00
table.go Chore: Upgrade k8s.io/api v0.34.1 and grafana-app-sdk v0.43.1 (#111009) 2025-09-16 13:35:20 +03:00
table_test.go refactor(unified-storage): move generated protos to own pkg (#105356) 2025-05-15 21:36:52 +02:00