validate

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2020 License: Apache-2.0 Imports: 14 Imported by: 12

Documentation

Overview

Package validate provides methods for validating image correctness.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Image

func Image(img v1.Image) error

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

func Layer(layer v1.Layer) error

Layer validates that the values return by its methods are consistent with the contents returned by Compressed and Uncompressed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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