class V1::Remote::Descriptor
- V1::Remote::Descriptor
- Reference
- Object
Defined in:
v1/remote/descriptor.crConstructors
Instance Method Summary
- #digest(*args, **options)
- #digest(*args, **options, &block)
-
#image
Image converts the Descriptor into a v1.Image.
-
#image_index
ImageIndex converts the Descriptor into a v1.ImageIndex.
- #manifest : Slice(UInt8)
- #media_type(*args, **options)
- #media_type(*args, **options, &block)
- #platform : V1::Platform
- #remote_image
- #remote_index
- #size(*args, **options)
- #size(*args, **options, &block)
Constructor Detail
Instance Method Detail
def image
#
Image converts the Descriptor into a v1.Image.
If the fetched artifact is already an image, it will just return it.
If the fetched artifact is an index, it will attempt to resolve the index to a child image with the appropriate platform.
See WithPlatform to set the desired platform.