distribution/registry/handlers
James Hewitt c40c4b289a
Enable configuration of index dependency validation
Enable configuration options that can selectively disable validation
that dependencies exist within the registry before the image index
is uploaded.

This enables sparse indexes, where a registry holds a manifest index that
could be signed (so the digest must not change) but does not hold every
referenced image in the index. The use case for this is when a registry
mirror does not need to mirror all platforms, but does need to maintain
the digests of all manifests either because they are signed or because
they are pulled by digest.

The registry administrator can also select specific image architectures
that must exist in the registry, enabling a registry operator to select
only the platforms they care about and ensure all image indexes uploaded
to the registry are valid for those platforms.

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2024-05-28 09:56:14 +01:00
..
api_test.go Enable configuration of index dependency validation 2024-05-28 09:56:14 +01:00
app.go Enable configuration of index dependency validation 2024-05-28 09:56:14 +01:00
app_test.go Move context package internal 2023-10-27 10:58:37 -04:00
basicauth.go remove go build directive for older go version 2023-09-26 15:14:57 +08:00
blob.go Move context package internal 2023-10-27 10:58:37 -04:00
blobupload.go Move context package internal 2023-10-27 10:58:37 -04:00
catalog.go registry/api: move all errors to "errcode" package 2023-09-04 18:02:54 +02:00
context.go registry: unexport auth-related context utilities 2023-10-27 10:58:37 -04:00
health_test.go health: plumb contexts into health checks 2023-11-27 15:38:34 -05:00
helpers.go Move context package internal 2023-10-27 10:58:37 -04:00
hmac.go handlers: provide better log message on mismatched secret 2016-09-02 15:24:35 -07:00
hmac_test.go registry/handlers: use consistent names for test-tables 2023-05-09 14:00:17 +02:00
hooks.go replace strings.Split(N) for strings.Cut() or alternatives 2022-11-10 22:38:12 +01:00
mail.go Fix gometalint errors 2019-02-04 16:01:04 -08:00
manifests.go add concurrency limits for tag lookup and untag 2024-04-26 22:32:21 +08:00
tags.go Do not close HTTP request body in HTTP handler 2023-09-22 16:21:54 +01:00