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.8.1
Published
Dec 15, 2020
Platform
linux/amd64
Imports
6 packages
Last checked
2 hours ago

Tools for package owners.