class V1::Remote::MountableImage

Overview

mountableImage wraps the v1.Layer references returned by the embedded v1.Image in MountableLayer's so that remote.Write might attempt to mount them from their source repository.

Included Modules

Defined in:

v1/remote/mount.cr

Constructors

Instance Method Summary

Instance methods inherited from module V1::Image

config_file : V1::ConfigFile config_file, config_name : V1::Hash config_name, digest : V1::Hash digest, layer_by_diff_id(h : V1::Hash) : V1::Layer layer_by_diff_id, layer_by_digest(h : V1::Hash) : V1::Layer layer_by_digest, layers : Array(V1::Layer) layers, manifest : V1::Manifest manifest, media_type : Types::MediaType media_type, raw_config_file : Bytes raw_config_file, raw_manifest : Bytes raw_manifest

Instance methods inherited from module V1::Partial::WithRawConfigFile

raw_config_file : Bytes raw_config_file

Constructor Detail

def self.new(image, reference) #

[View source]

Instance Method Detail

def config_file(*args, **options) #

[View source]
def config_file(*args, **options, &block) #

[View source]
def config_name(*args, **options) #

[View source]
def config_name(*args, **options, &block) #

[View source]
def digest(*args, **options) #

[View source]
def digest(*args, **options, &block) #

[View source]
def layer_by_diff_id(d : V1::Hash) #

Layer_by_diff_id implements v1.Image


[View source]
def layer_by_digest(d : V1::Hash) #

Layer_by_digest implements v1.Image


[View source]
def layers #

Layers implements v1.Image


[View source]
def manifest(*args, **options) #

[View source]
def manifest(*args, **options, &block) #

[View source]
def media_type(*args, **options, &block) #

[View source]
def media_type(*args, **options) #

[View source]
def raw_config_file(*args, **options, &block) #

[View source]
def raw_config_file(*args, **options) #

[View source]
def raw_manifest(*args, **options) #

[View source]
def raw_manifest(*args, **options, &block) #

[View source]