struct CrystaLXD::Container::Source::Image
- CrystaLXD::Container::Source::Image
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
client/container.crConstructors
- .new(pull : JSON::PullParser)
- .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)
Instance Method Summary
-
#alias : String
Name of the alias.
-
#alias=(alias __arg0 : String)
Name of the alias.
-
#certificate : String | Nil
Optional PEM certificate.
-
#certificate=(certificate : String | Nil)
Optional PEM certificate.
-
#fingerprint : String | Nil
Fingerprint.
-
#fingerprint=(fingerprint : String | Nil)
Fingerprint.
-
#mode : Mode
"local" is the default if not specified.
-
#mode=(mode : Mode)
"local" is the default if not specified.
-
#properties : Hash(String, String) | Nil
Container based on most recent match based on image properties.
-
#properties=(properties : Hash(String, String) | Nil)
Container based on most recent match based on image properties.
-
#protocol : Protocol
Protocol.
-
#protocol=(protocol : Protocol)
Protocol.
-
#secret : String | Nil
Secret to use to retrieve the image (pull mode only).
-
#secret=(secret : String | Nil)
Secret to use to retrieve the image (pull mode only).
-
#server : String | Nil
Remote server (pull mode only).
-
#server=(server : String | Nil)
Remote server (pull mode only).
Constructor Detail
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)
#
Instance Method Detail
def certificate=(certificate : String | Nil)
#
Optional PEM certificate. If not mentioned, system CA is used.
def properties : Hash(String, String) | Nil
#
Container based on most recent match based on image properties.
def properties=(properties : Hash(String, String) | Nil)
#
Container based on most recent match based on image properties.