struct CrystaLXD::Container::Source::Image

Included Modules

Defined in:

client/container.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(alias __arg0 : String, certificate : String | Nil = nil, fingerprint : String | Nil = nil, mode : Mode = Mode::Local, properties : Hash(String, String) | Nil = nil, protocol : Protocol = Protocol::Lxd, secrets : String | Nil = nil, server : String | Nil = nil) #

[View source]

Instance Method Detail

def alias : String #

Name of the alias.


[View source]
def alias=(alias __arg0 : String) #

Name of the alias.


[View source]
def certificate : String | Nil #

Optional PEM certificate. If not mentioned, system CA is used.


[View source]
def certificate=(certificate : String | Nil) #

Optional PEM certificate. If not mentioned, system CA is used.


[View source]
def fingerprint : String | Nil #

Fingerprint.


[View source]
def fingerprint=(fingerprint : String | Nil) #

Fingerprint.


[View source]
def mode : Mode #

"local" is the default if not specified.


[View source]
def mode=(mode : Mode) #

"local" is the default if not specified.


[View source]
def properties : Hash(String, String) | Nil #

Container based on most recent match based on image properties.


[View source]
def properties=(properties : Hash(String, String) | Nil) #

Container based on most recent match based on image properties.


[View source]
def protocol : Protocol #

Protocol.


[View source]
def protocol=(protocol : Protocol) #

Protocol.


[View source]
def secret : String | Nil #

Secret to use to retrieve the image (pull mode only).


[View source]
def secret=(secret : String | Nil) #

Secret to use to retrieve the image (pull mode only).


[View source]
def server : String | Nil #

Remote server (pull mode only).


[View source]
def server=(server : String | Nil) #

Remote server (pull mode only).


[View source]