struct V1::Platform
- V1::Platform
- Struct
- Value
- Object
Overview
Represents runtime requirements for an image. See: https://docs.docker.com/registry/spec/manifest-v2-2/#manifest-list
Defined in:
v1/platform.crConstructors
- .new(__temp_164 : JSON::PullParser)
- .new(architecture = "amd64", os = "linux", os_features = [] of String, features = [] of String)
Instance Method Summary
- #architecture : String
- #architecture=(_architecture : String)
- #can_run(required : self)
- #compatible_with(target : self)
- #features : Array(String)
- #features=(_features : Array(String))
- #os : String
- #os=(_os : String)
- #os_features : Array(String)
- #os_features=(_os_features : Array(String))
- #os_version : String?
- #os_version=(_os_version : String?)
- #to_json(json : JSON::Builder)
- #variant : String?
- #variant=(_variant : String?)
Constructor Detail
def self.new(architecture = "amd64", os = "linux", os_features = [] of String, features = [] of String)
#