package ociindex
import "github.com/moby/buildkit/client/ociindex"
Index ¶
- Constants
- func PutDescToIndex(index *v1.Index, desc v1.Descriptor, tag string) error
- func PutDescToIndexJSONFileLocked(indexJSONPath string, desc v1.Descriptor, tag string) error
- func ReadIndexJSONFileLocked(indexJSONPath string) (*v1.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 v1.Descriptor, tag string) error
func ReadIndexJSONFileLocked ¶
Source Files ¶
- Version
- v0.9.0-rc2
- Published
- Jul 16, 2021
- Platform
- js/wasm
- Imports
- 6 packages
- Last checked
- 2 minutes ago –
Tools for package owners.