cuelabs.dev/go/oci/ociregistry@v0.0.0-20240906074133-82eb438dd565/README.md (about) 1 # `ociregistry` 2 3 In the top level package (`ociregistry`) this module defines a [Go interface](./interface.go) that encapsulates the operations provided by an OCI 4 registry. 5 6 Full reference documentation can be found [here](https://pkg.go.dev/cuelabs.dev/go/oci/ociregistry). 7 8 It also provides a lightweight in-memory implementation of that interface (`ocimem`) 9 and an HTTP server that implements the [OCI registry protocol](https://github.com/opencontainers/distribution-spec/blob/main/spec.md) on top of it. 10 11 The server currently passes the [conformance tests](https://pkg.go.dev/github.com/opencontainers/distribution-spec/conformance). 12 13 The aim is to provide an ergonomic interface for defining and layering 14 OCI registry implementations. 15 16 Although the API is fairly stable, it's still in v0 currently, so incompatible changes can't be ruled out. 17 18 The code was originally derived from the [go-containerregistry](https://pkg.go.dev/github.com/google/go-containerregistry/pkg/registry) registry, but has considerably diverged since then.