struct V1::Platform

Overview

Represents runtime requirements for an image. See: https://docs.docker.com/registry/spec/manifest-v2-2/#manifest-list

Defined in:

v1/platform.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(__temp_164 : JSON::PullParser) #

def self.new(architecture = "amd64", os = "linux", os_features = [] of String, features = [] of String) #

[View source]

Instance Method Detail

def architecture : String #

def architecture=(_architecture : String) #

def can_run(required : self) #

[View source]
def compatible_with(target : self) #

[View source]
def features : Array(String) #

def features=(_features : Array(String)) #

def os : String #

def os=(_os : String) #

def os_features : Array(String) #

def os_features=(_os_features : Array(String)) #

def os_version : String? #

def os_version=(_os_version : String?) #

def to_json(json : JSON::Builder) #

def variant : String? #

def variant=(_variant : String?) #