Class: Pvectl::Commands::MigrateContainer
- Inherits:
-
Object
- Object
- Pvectl::Commands::MigrateContainer
- Includes:
- MigrateCommand
- Defined in:
- lib/pvectl/commands/migrate_container.rb,
sig/pvectl/commands/migrate_container.rbs
Overview
Handler for the pvectl migrate container command.
Migrates one or more LXC containers to another cluster node. Always requires --target and confirmation (--yes to skip).
Constant Summary collapse
- RESOURCE_TYPE =
:container- SUPPORTED_RESOURCES =
%w[container ct].freeze
Constants included from MigrateCommand
Pvectl::Commands::MigrateCommand::NODE_NAME_FORMAT
Method Summary
Methods included from MigrateCommand
#apply_selectors, #confirm_operation, #determine_exit_code, #execute, included, #initialize, #load_config, #no_resources_found, #output_results, #perform_operation, #resolve_resources, #resource_type_symbol, #restart_not_allowed?, #selector_strings, #service_options, #usage_error