module V1::ImageIndex

Overview

ImageIndex defines the interface for interacting with an OCI image index.

Defined in:

v1/index.cr

Instance Method Summary

Instance Method Detail

abstract def digest : V1::Hash #

Digest returns the sha256 of this index's manifest


[View source]
abstract def image(h : V1::Hash) : V1::Image #

image returns a v1.Image that this ImageIndex references


[View source]
abstract def image_index(h : V1::Hash) : V1::ImageIndex #

image returns a v1.ImageIndex that this ImageIndex references


[View source]
abstract def index_manifest : V1::IndexManifest #

index_manifest returns this image index's manifest object


[View source]
abstract def media_type : Types::MediaType #

MediaType of this image's manifest.


[View source]
abstract def raw_manifest : Bytes #

raw_manifest returns the serialized bytes of IndexManifest


[View source]