func Images(a, b v1.Image) error
Images compares the given images to each other and returns an error if they differ.
func Indexes(a, b v1.ImageIndex) error
Indexes compares the given indexes to each other and returns an error if they differ.
func Layers(a, b v1.Layer) error
Layers compares the given layers to each other and returns an error if they differ. Note that this does not compare the actual contents (by calling Compressed or Uncompressed).