Class: Pvectl::Commands::DeleteContainer
- Inherits:
-
Object
- Object
- Pvectl::Commands::DeleteContainer
- Includes:
- DeleteCommand
- Defined in:
- lib/pvectl/commands/delete_container.rb,
sig/pvectl/commands/delete_container.rbs
Overview
Handler for the pvectl delete container command.
Deletes one or more LXC containers from the cluster. Always requires confirmation (--yes to skip). Running containers must be stopped first or use --force.
Constant Summary collapse
- RESOURCE_TYPE =
:container- SUPPORTED_RESOURCES =
%w[container ct].freeze
Method Summary
Methods included from DeleteCommand
#apply_selectors, #confirm_operation, #determine_exit_code, #execute, included, #initialize, #load_config, #no_resources_found, #output_results, #perform_operation, #resolve_resources, #resource_type_symbol, #selector_strings, #service_options, #supported_resource?, #supported_types, #usage_error
Methods included from IrreversibleCommand
#apply_selectors, #build_presenter, #build_repository, #confirm_operation, #determine_exit_code, #execute, included, #initialize, #load_config, #no_resources_found, #output_results, #perform_operation, #perform_service_call, #resolve_resources, #resource_type_symbol, #selector_strings, #service_options, #supported_resource?, #supported_types, #usage_error