Skip to content

go-oci-blob

go-oci-blob is a Go library that uploads and downloads OCI blobs. It covers the blob subset of the OCI distribution spec and nothing else: push, pull, existence checks, and cross-repository mounts, with retries and digest verification built in.

go get github.com/imgoci/go-oci-blob

The runtime dependencies are the Go standard library plus github.com/opencontainers/go-digest. Authentication is the caller's job: inject an authenticated http.RoundTripper.

Documentation

Start here

Solve a problem

Look up facts

Understand the design

  • Design — scope, architecture, wire behavior, and the reasoning behind the API.