ociindex

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2021 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

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

Variables

This section is empty.

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)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL