struct CrystaLXD::Container::Source::Migration
- CrystaLXD::Container::Source::Migration
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
client/container.crConstructors
- .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)
Instance Method Summary
-
#base_image : String | Nil
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 : String | Nil
Optional PEM certificate.
-
#certificate=(certificate : String | Nil)
Optional PEM certificate.
-
#container_only : Bool
Whether to migrate only the container without snapshots.
-
#container_only=(container_only : Bool)
Whether to migrate only the container without snapshots.
-
#live : Bool
Whether migration is performed live.
-
#live=(live : Bool)
Whether migration is performed live.
- #mode : Mode
- #mode=(mode : Mode)
-
#operation : String | Nil
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 : Secrets)
Constructor Detail
def self.new(mode : Mode, container_only : Bool, live : Bool, secrets : Secrets, operation : String | Nil = nil, base_image : String | Nil = nil, certificate : String | Nil = nil)
#
Instance Method Detail
def base_image=(base_image : String | Nil)
#
Optional, the base image the container was created from.
def certificate=(certificate : String | Nil)
#
Optional PEM certificate. If not mentioned, system CA is used.
def container_only=(container_only : Bool)
#
Whether to migrate only the container without snapshots.