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 = nil, devices : Hash(String, Hash(String, String)) | Nil = nil, ephemeral : Bool = false, instance_type : String | Nil = nil, profiles : Array(String) = ["default"]) #

[View source]

Instance Method Detail

def architecture : String #

def config : Config | Nil #

Config override.


def devices : Hash(String, Hash(String, String)) | Nil #

Optional list of devices the container should have.


def ephemeral : Bool #

Whether to destroy the container on shutdown.


def instance_type : String | Nil #

An optional instance type to use as basis for limits.


def profiles : Array(String) #

List of profiles.