struct V1::IndexManifest

Overview

IndexManifest represents an OCI image index in a structured way.

Defined in:

v1/manifest.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(schema_version : Int, manifests, media_type = nil, annotations = nil) #

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

Instance Method Detail

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

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

def manifests : Array(Descriptor) #

def manifests=(_manifests : 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) #