package ociindex
import "github.com/moby/buildkit/client/ociindex"
Index ¶
- Constants
- func PutDescToIndex(index *ocispecs.Index, desc ocispecs.Descriptor, tag string) error
- func PutDescToIndexJSONFileLocked(indexJSONPath string, desc ocispecs.Descriptor, tag string) error
- func ReadIndexJSONFileLocked(indexJSONPath string) (*ocispecs.Index, error)
Constants ¶
const ( // IndexJSONLockFileSuffix is the suffix of the lock file IndexJSONLockFileSuffix = ".lock" )
Functions ¶
func PutDescToIndex ¶
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 ¶
Source Files ¶
- Version
- v0.10.0
- Published
- Mar 9, 2022
- Platform
- js/wasm
- Imports
- 6 packages
- Last checked
- 5 seconds ago –
Tools for package owners.