struct V1::ConfigFile

Overview

ConfigFile is the configuration file that holds the metadata describing how to launch a container. See: https:#github.com/opencontainers/image-spec/blob/master/config.md

Defined in:

v1/config.cr

Constructors

Instance Method Summary

Constructor Detail

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

def self.new(rootfs, config = Config.new, architecture = "amd64", os = "linux", author = nil, container = nil, created = nil, docker_version = nil, history = nil, container_config = nil, os_version = nil) #

[View source]

Instance Method Detail

def architecture : String #

def architecture=(_architecture : String) #

def author : String? #

def author=(_author : String?) #

def config : Config #

def config=(_config : Config) #

def container : String? #

def container=(_container : String?) #

def container_config : Config? #

def container_config=(_container_config : Config?) #

def created : Time? #

def created=(_created : Time?) #

def docker_version : String? #

def docker_version=(_docker_version : String?) #

def history : Array(History)? #

def history=(_history : Array(History)?) #

def os : String #

def os=(_os : String) #

def os_version : String? #

def os_version=(_os_version : String?) #

def rootfs : RootFS #

def rootfs=(_rootfs : RootFS) #

def to_json(json : JSON::Builder) #