struct CrystaLXD::Container::Configuration

Included Modules

Defined in:

client/container.cr

Constructors

Instance Method Summary

Constructor Detail

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

def self.new(architecture : String = "x86_64", config : Config? = nil, devices : Hash(String, Hash(String, String))? = nil, ephemeral : Bool = false, instance_type : String? = nil, profiles : Array(String) = ["default"]) #

[View source]

Instance Method Detail

def architecture : String #

def config : Config? #

Config override.


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

Optional list of devices the container should have.


def ephemeral : Bool #

Whether to destroy the container on shutdown.


def instance_type : String? #

An optional instance type to use as basis for limits.


def profiles : Array(String) #

List of profiles.