struct V1::Descriptor

Overview

Descriptor holds a reference from the manifest to one of its constituent elements.

Defined in:

v1/manifest.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(media_type, digest : V1::Hash, size : Int) #

[View source]
def self.new(__temp_203 : JSON::PullParser) #

Instance Method Detail

def annotations : ::Hash(String, String)? #

def annotations=(_annotations : ::Hash(String, String)?) #

def digest : V1::Hash #

def digest=(_digest : V1::Hash) #

def media_type : Types::MediaType #

def media_type=(_media_type : Types::MediaType) #

def platform : Platform #

def platform=(_platform : Platform) #

def size : Int64 #

def size=(_size : Int64) #

def to_json(json : JSON::Builder) #

def urls : Array(String)? #

def urls=(_urls : Array(String)?) #