package ociindex

import "github.com/moby/buildkit/client/ociindex"

Index

Constants

const (
	// IndexJSONLockFileSuffix is the suffix of the lock file
	IndexJSONLockFileSuffix = ".lock"
)

Functions

func PutDescToIndex

func PutDescToIndex(index *ocispecs.Index, desc ocispecs.Descriptor, tag string) error

PutDescToIndex puts desc to index with tag. Existing manifests with the same tag will be removed from the index.

func PutDescToIndexJSONFileLocked

func PutDescToIndexJSONFileLocked(indexJSONPath string, desc ocispecs.Descriptor, tag string) error

func ReadIndexJSONFileLocked

func ReadIndexJSONFileLocked(indexJSONPath string) (*ocispecs.Index, error)

Source Files

ociindex.go

Version
v0.10.3
Published
May 6, 2022
Platform
js/wasm
Imports
6 packages
Last checked
33 seconds ago

Tools for package owners.