struct CrystaLXD::Container::Configuration
- CrystaLXD::Container::Configuration
- Struct
- Value
- Object
Included Modules
- CrystaLXD::Container::Base
- JSON::Serializable
Defined in:
client/container.crConstructors
- .new(pull : JSON::PullParser)
- .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"])
Instance Method Summary
- #architecture : String
-
#config : Config | Nil
Config override.
-
#devices : Hash(String, Hash(String, String)) | Nil
Optional list of devices the container should have.
-
#ephemeral : Bool
Whether to destroy the container on shutdown.
-
#instance_type : String | Nil
An optional instance type to use as basis for limits.
-
#profiles : Array(String)
List of profiles.
Constructor Detail
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"])
#
Instance Method Detail
def devices : Hash(String, Hash(String, String)) | Nil
#
Optional list of devices the container should have.