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 *v1.Index, desc v1.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 v1.Descriptor, tag string) error

func ReadIndexJSONFileLocked

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

Source Files

ociindex.go

Version
v0.7.0-rc1
Published
Mar 12, 2020
Platform
js/wasm
Imports
6 packages
Last checked
2 minutes ago

Tools for package owners.