struct

CrystaLXD::Container::Source::Image

Inherits JSON::Serializable < Struct < Value < Object

Constructors

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)
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Instance methods

alias

Name of the alias.

alias=(alias __arg0 : String)

Name of the alias.

certificate

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

certificate=(certificate : String | Nil)

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

fingerprint

Fingerprint.

fingerprint=(fingerprint : String | Nil)

Fingerprint.

mode

"local" is the default if not specified.

mode=(mode : Mode)

"local" is the default if not specified.

properties

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.

secret

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

Remote server (pull mode only).

server=(server : String | Nil)

Remote server (pull mode only).

Nested types