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, base_image : String? = nil, certificate : String? = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#base_image : String?
Optional, the base image the container was created from.
-
#base_image=(base_image : String?)
Optional, the base image the container was created from.
-
#certificate : String?
Optional PEM certificate.
-
#certificate=(certificate : String?)
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?
Full URL to the remote operation (pull mode only).
-
#operation=(operation : String?)
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, base_image : String? = nil, certificate : String? = nil)
#
Instance Method Detail
def certificate=(certificate : String?)
#
Optional PEM certificate. If not mentioned, system CA is used.
def container_only=(container_only : Bool)
#
Whether to migrate only the container without snapshots.