Class: Pvectl::Commands::FeatureContainer
- Inherits:
-
Object
- Object
- Pvectl::Commands::FeatureContainer
- Includes:
- FeatureCommand
- Defined in:
- lib/pvectl/commands/feature_container.rb,
sig/pvectl/commands/feature_container.rbs
Overview
Handler for the pvectl feature ct command.
Queries whether a Proxmox feature (clone, snapshot, copy) is available
for an LXC container. The LXC feature endpoint returns only hasFeature
(no nodes list), so the nodes column is always empty.
Constant Summary collapse
- RESOURCE_TYPE =
:container- SUPPORTED_RESOURCES =
%w[container ct].freeze
Constants included from FeatureCommand
Pvectl::Commands::FeatureCommand::VALID_FEATURES
Method Summary
Methods included from FeatureCommand
#build_repository, #execute, #id_label, included, #initialize, #load_config, #output_result, #payload, #perform_operation, #resolve_resource, #resource_not_found, #resource_type_symbol, #stringify_keys, #type_name, #usage_error