Module: HammerCLIKatello
- Defined in:
- lib/hammer_cli_katello.rb,
lib/hammer_cli_katello/acs.rb,
lib/hammer_cli_katello/file.rb,
lib/hammer_cli_katello/host.rb,
lib/hammer_cli_katello/i18n.rb,
lib/hammer_cli_katello/ping.rb,
lib/hammer_cli_katello/srpm.rb,
lib/hammer_cli_katello/docker.rb,
lib/hammer_cli_katello/filter.rb,
lib/hammer_cli_katello/status.rb,
lib/hammer_cli_katello/capsule.rb,
lib/hammer_cli_katello/erratum.rb,
lib/hammer_cli_katello/package.rb,
lib/hammer_cli_katello/product.rb,
lib/hammer_cli_katello/version.rb,
lib/hammer_cli_katello/commands.rb,
lib/hammer_cli_katello/host_deb.rb,
lib/hammer_cli_katello/sync_plan.rb,
lib/hammer_cli_katello/docker_tag.rb,
lib/hammer_cli_katello/repository.rb,
lib/hammer_cli_katello/deb_package.rb,
lib/hammer_cli_katello/filter_rule.rb,
lib/hammer_cli_katello/host_errata.rb,
lib/hammer_cli_katello/host_traces.rb,
lib/hammer_cli_katello/id_resolver.rb,
lib/hammer_cli_katello/content_view.rb,
lib/hammer_cli_katello/host_package.rb,
lib/hammer_cli_katello/local_helper.rb,
lib/hammer_cli_katello/organization.rb,
lib/hammer_cli_katello/subscription.rb,
lib/hammer_cli_katello/apipie_helper.rb,
lib/hammer_cli_katello/content_units.rb,
lib/hammer_cli_katello/module_stream.rb,
lib/hammer_cli_katello/output/fields.rb,
lib/hammer_cli_katello/package_group.rb,
lib/hammer_cli_katello/activation_key.rb,
lib/hammer_cli_katello/content_export.rb,
lib/hammer_cli_katello/content_import.rb,
lib/hammer_cli_katello/repository_set.rb,
lib/hammer_cli_katello/docker_manifest.rb,
lib/hammer_cli_katello/host_collection.rb,
lib/hammer_cli_katello/host_extensions.rb,
lib/hammer_cli_katello/product_content.rb,
lib/hammer_cli_katello/acs_bulk_actions.rb,
lib/hammer_cli_katello/content_override.rb,
lib/hammer_cli_katello/exception_handler.rb,
lib/hammer_cli_katello/host_subscription.rb,
lib/hammer_cli_katello/output/formatters.rb,
lib/hammer_cli_katello/content_credential.rb,
lib/hammer_cli_katello/content_view_purge.rb,
lib/hammer_cli_katello/host_package_group.rb,
lib/hammer_cli_katello/associating_commands.rb,
lib/hammer_cli_katello/content_view_version.rb,
lib/hammer_cli_katello/erratum_info_command.rb,
lib/hammer_cli_katello/hostgroup_extensions.rb,
lib/hammer_cli_katello/organization_options.rb,
lib/hammer_cli_katello/content_export_helper.rb,
lib/hammer_cli_katello/lifecycle_environment.rb,
lib/hammer_cli_katello/content_view_component.rb,
lib/hammer_cli_katello/command_extensions/ping.rb,
lib/hammer_cli_katello/content_export_complete.rb,
lib/hammer_cli_katello/host_collection_erratum.rb,
lib/hammer_cli_katello/host_collection_package.rb,
lib/hammer_cli_katello/search_options_creators.rb,
lib/hammer_cli_katello/content_view_environment.rb,
lib/hammer_cli_katello/id_name_options_validator.rb,
lib/hammer_cli_katello/content_export_incremental.rb,
lib/hammer_cli_katello/content_view_name_resolvable.rb,
lib/hammer_cli_katello/repository_scoped_to_product.rb,
lib/hammer_cli_katello/host_collection_package_group.rb,
lib/hammer_cli_katello/foreman_search_options_creators.rb,
lib/hammer_cli_katello/command_extensions/content_source.rb,
lib/hammer_cli_katello/lifecycle_environment_name_mapping.rb,
lib/hammer_cli_katello/composite_content_view_name_resolvable.rb,
lib/hammer_cli_katello/command_extensions/kickstart_repository.rb,
lib/hammer_cli_katello/command_extensions/lifecycle_environment.rb,
lib/hammer_cli_katello/unsupported_katello_agent_command_helper.rb,
lib/hammer_cli_katello/command_extensions/lifecycle_environments.rb,
lib/hammer_cli_katello/option_sources/lifecycle_environment_params.rb
Overview
rubocop:disable ModuleLength
Defined Under Namespace
Modules: ApipieHelper, AssociatingCommands, Capsule, CommandExtensions, CompositeContentViewNameResolvable, ContentExportHelper, ContentOverrideBase, ContentViewComponentBase, ContentViewNameResolvable, ForemanSearchOptionsCreators, HostExtensions, HostgroupExtensions, I18n, IdNameOptionsValidator, LifecycleEnvironmentNameMapping, LocalHelper, OptionSources, OrganizationOptions, Output, ProductContentBase, QueryOrganizationOptions, RepositoryScopedToProduct, ResolverCommons, SearchOptionsCreators, UnsupportedKatelloAgentCommandHelper
Classes: AcsBulkActionsCommand, AcsCommand, ActivationKeyCommand, AddAssociatedCommand, Command, ContentCredentialCommand, ContentExport, ContentExportComplete, ContentExportIncremental, ContentImport, ContentUnitsCommand, ContentView, ContentViewComponent, ContentViewEnvironment, ContentViewPurgeCommand, ContentViewVersion, CreateCommand, DebPackageCommand, DeleteCommand, DockerCommand, DockerManifestCommand, DockerTagCommand, ErratumCommand, ErratumInfoCommand, ExceptionHandler, FileCommand, Filter, FilterRule, HostCollection, HostCollectionErratumCommand, HostCollectionPackageCommand, HostCollectionPackageGroupCommand, HostDebPackage, HostErrata, HostPackage, HostPackageGroup, HostSubscription, HostTraces, IdResolver, InfoCommand, LifecycleEnvironmentCommand, ListCommand, ModuleStreamCommand, Organization, PackageCommand, PackageGroupCommand, PingCommand, Product, RemoveAssociatedCommand, Repository, RepositorySetCommand, Searchables, SingleResourceCommand, SrpmCommand, StatusCommand, SubscriptionCommand, SyncPlan, UpdateCommand
Constant Summary
collapse
- RESOURCE_NAME_MAPPING =
{
environment: :lifecycle_environment,
environments: :lifecycle_environments
}.freeze
- RESOURCE_ALIAS_NAME_MAPPING =
{
environment: :lifecycle_environment,
environments: :lifecycle_environments
}.freeze
Class Method Summary
collapse
Class Method Details
.api_connection ⇒ Object
12
13
14
15
16
17
18
|
# File 'lib/hammer_cli_katello/commands.rb', line 12
def self.api_connection
if HammerCLI.context[:api_connection]
HammerCLI.context[:api_connection].get("foreman")
else
HammerCLI::Connection.get("foreman").api
end
end
|
.exception_handler_class ⇒ Object
.version ⇒ Object
2
3
4
|
# File 'lib/hammer_cli_katello/version.rb', line 2
def self.version
@version ||= Gem::Version.new('1.15.1')
end
|