package validate
import "github.com/google/go-containerregistry/pkg/v1/validate"
Package validate provides methods for validating image correctness.
Index ¶
Functions ¶
func Image ¶
Image validates that img does not violate any invariants of the image format.
func Index ¶
func Index(idx v1.ImageIndex) error
Index validates that idx does not violate any invariants of the index format.
func Layer ¶
Layer validates that the values return by its methods are consistent with the contents returned by Compressed and Uncompressed.
Source Files ¶
doc.go image.go index.go layer.go
- Version
- v0.2.1
- Published
- Dec 1, 2020
- Platform
- js/wasm
- Imports
- 14 packages
- Last checked
- 2 hours ago –
Tools for package owners.