ManageIQ/manageiq-ui-classic

View on GitHub
app/helpers/container_image_registry_helper/textual_summary.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
module ContainerImageRegistryHelper
  module TextualSummary
    #
    # Groups
    #

    def textual_group_properties
      TextualGroup.new(_("Properties"), %i[host port])
    end

    def textual_group_relationships
      TextualGroup.new(_("Relationships"), %i[ems container_services container_groups container_images containers])
    end

    def textual_group_smart_management
      TextualTags.new(_("Smart Management"), %i[tags])
    end

    #
    # Items
    #

    def textual_host
      @record.host
    end

    def textual_port
      @record.port
    end
  end
end