struct V1::Manifest

Overview

Manifest represents the OCI image manifest in a structured way.

Defined in:

v1/manifest.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(schema_version : Int, media_type, config) #

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

Instance Method Detail

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

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

def config : Descriptor #

def config=(_config : Descriptor) #

def layers : Array(Descriptor) #

def layers=(_layers : Array(Descriptor)) #

def media_type : Types::MediaType #

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

def schema_version : Int64? #

def schema_version=(_schema_version : Int64?) #

def to_json(json : JSON::Builder) #