containerd/metadata
Derek McGowan 8367f69fb5
Add collectible resources to metadata gc
Adds a registration function to metadata which allows plugins to
register resources to be garbage collected. These resources allow
defining resources types which are ephemeral and stored outside the
metadata plugin without extending it. The garbage collection of these
resources will not fail the metadata gc process if their removal fails.
These resources may be referenced by existing metadata store resources
but may not be used to reference metadata store resources for the purpose
of preventing garbage collection.

Signed-off-by: Derek McGowan <derek@mcg.dev>
2022-04-12 18:59:18 -07:00
..
boltutil Use typeurl.Any instead of github.com/gogo/protobuf/types.Any 2022-03-24 20:50:07 +00:00
adaptors.go content: support filters on local.store#Walk() 2020-11-11 11:17:48 -08:00
bolt.go feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
buckets.go Revert "Add shared content label to namespaces" 2022-01-12 16:38:06 -08:00
containers_test.go Use testify 2022-04-01 18:17:58 -07:00
containers.go Use typeurl.Any instead of github.com/gogo/protobuf/types.Any 2022-03-24 20:50:07 +00:00
content_test.go Add shared content label to namespaces 2022-03-11 23:37:02 -08:00
content.go Add shared content label to namespaces 2022-03-11 23:37:02 -08:00
db_test.go Add collectible resources to metadata gc 2022-04-12 18:59:18 -07:00
db.go Add collectible resources to metadata gc 2022-04-12 18:59:18 -07:00
gc_test.go Add collectible resources to metadata gc 2022-04-12 18:59:18 -07:00
gc.go Add collectible resources to metadata gc 2022-04-12 18:59:18 -07:00
images_test.go Enable gosec linter for golangci-lint 2022-03-14 22:50:54 +00:00
images.go Revert "Add shared content label to namespaces" 2022-01-12 16:38:06 -08:00
leases_test.go feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
leases.go feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
migrations.go Adds a no-op migration for metadata v3 2018-09-12 15:33:42 -07:00
namespaces_test.go medatada: make namespaces' deletion error less cryptic 2021-12-13 09:28:24 -08:00
namespaces.go feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
snapshot_test.go feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
snapshot.go docs: add doc-comments on GC-related methods 2022-01-24 14:26:14 -08:00