struct CrystaLXD::Container::Source::Migration

Included Modules

Defined in:

client/container.cr

Constructors

Instance Method Summary

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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def base_image : String | Nil #

Optional, the base image the container was created from.


[View source]
def base_image=(base_image : String | Nil) #

Optional, the base image the container was created from.


[View source]
def certificate : String | Nil #

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


[View source]
def certificate=(certificate : String | Nil) #

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


[View source]
def container_only : Bool #

Whether to migrate only the container without snapshots.


[View source]
def container_only=(container_only : Bool) #

Whether to migrate only the container without snapshots.


[View source]
def live : Bool #

Whether migration is performed live.


[View source]
def live=(live : Bool) #

Whether migration is performed live.


[View source]
def mode : Mode #

[View source]
def mode=(mode : Mode) #

[View source]
def operation : String | Nil #

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


[View source]
def operation=(operation : String | Nil) #

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


[View source]
def secrets : Secrets #

[View source]
def secrets=(secrets : Secrets) #

[View source]