struct

CrystaLXD::Container::Source::Migration

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(mode : Mode, container_only : Bool, live : Bool, secrets : Secrets, operation : String | Nil = nil, base_image : String | Nil = nil, certificate : String | Nil = nil)
new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Instance methods

base_image

Optional, the base image the container was created from.

base_image=(base_image : String | Nil)

Optional, the base image the container was created from.

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.

container_only

Whether to migrate only the container without snapshots.

container_only=(container_only : Bool)

Whether to migrate only the container without snapshots.

live

Whether migration is performed live.

live=(live : Bool)

Whether migration is performed live.

mode
mode=(mode : Mode)
operation

Full URL to the remote operation (pull mode only).

operation=(operation : String | Nil)

Full URL to the remote operation (pull mode only).

secrets
secrets=(secrets : Secrets)

Nested types