module V1::Image
Direct including types
Defined in:
v1/image.crInstance Method Summary
-
#config_file : V1::ConfigFile
config_file returns this image's config file.
-
#config_name : V1::Hash
config_name returns the hash of the image config file
-
#digest : V1::Hash
digest returns the sha256 of this image's manifest
-
#layer_by_diff_id(h : V1::Hash) : V1::Layer
layer_by_diff_id is an analog to layer_by_digest, looking up by "diff id" (the uncompressed hash).
-
#layer_by_digest(h : V1::Hash) : V1::Layer
layer_by_digest returns a Layer for interacting with a particular layer of the image, looking it up by "digest" (the compressed hash).
-
#layers : Array(V1::Layer)
Layers returns the ordered collection of filesystem layers that comprise this image.
-
#manifest : V1::Manifest
manifest returns this image's Manifest
-
#media_type : Types::MediaType
MediaType of this image's manifest.
-
#raw_config_file : Bytes
raw_config_file returns the serialized bytes of ConfigFile
-
#raw_manifest : Bytes
raw_manifest returns the serialized bytes of Manifes
Instance Method Detail
config_name returns the hash of the image config file
layer_by_diff_id is an analog to layer_by_digest, looking up by "diff id" (the uncompressed hash).
layer_by_digest returns a Layer for interacting with a particular layer of the image, looking it up by "digest" (the compressed hash).
Layers returns the ordered collection of filesystem layers that comprise this image. The order of the list is oldest/base layer first, and most-recent/top layer last.