struct CrystaLXD::Container::Information

Included Modules

Defined in:

client/container.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def architecture : String #

def config : Config | Nil #

Config override.


def created_at : Time #

[View source]
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 expanded_config : Config #

The result of expanding profiles and adding the container's local config.


[View source]
def expanded_devices : Hash(String, Hash(String, String)) #

The result of expanding profiles and adding the container's local devices.


[View source]
def instance_type : String | Nil #

An optional instance type to use as basis for limits.


def last_used : Time | Nil #

[View source]
def name : String #

[View source]
def profiles : Array(String) #

List of profiles.


def stateful : Bool #

If true, indicates that the container has some stored state that can be restored on startup.


[View source]
def status : String #

[View source]
def status_code : Success::Code #

[View source]