github.com/oras-project/oras-go/v2 (go): Example_copyArtifactManifestRemoteToLocal gives an example of copying an artifact manifest from a remote repository to local.  Example_extendedCopyArtifactAndReferrersRemoteToLocal gives an example of copying an artifact along with its referrers from a remote repository to local.
Keywords: artifact|container|go|oras|registry