Class: WavefrontDisplay::Integration
- Defined in:
- lib/wavefront-cli/display/integration.rb
Overview
Format human-readable output for integrations.
Constant Summary
Constants included from WavefrontCli::Constants
WavefrontCli::Constants::ALL_PAGE_SIZE, WavefrontCli::Constants::DEFAULT_CONFIG, WavefrontCli::Constants::DEFAULT_OPTS, WavefrontCli::Constants::EVENT_STATE_DIR, WavefrontCli::Constants::HUMAN_TIME_FORMAT, WavefrontCli::Constants::HUMAN_TIME_FORMAT_MS, WavefrontCli::Constants::SEARCH_SPLIT
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #do_install_all_alerts ⇒ Object
- #do_installed ⇒ Object
- #do_list_brief ⇒ Object
- #do_uninstall_all_alerts ⇒ Object
Methods inherited from Base
#_prioritize_keys, #display_brief_freetext_results, #do_delete, #do_import, #do_list, #do_list_fields, #do_queries, #do_search, #do_search_brief, #do_search_fields, #do_tag_add, #do_tag_clear, #do_tag_delete, #do_tag_pathsearch, #do_tag_set, #do_tags, #do_undelete, #drop_fields, #filter_data, #filter_fields_as_arr, #freetext_keys, #friendly_name, #human_time, #index_of_final_item, #initialize, #key_width, #long_output, #multicolumn, #pagination_line, #prioritize_keys, #priority_keys, #quoted, #readable_time, #readable_time_arr, #run, #run_error, #run_list, #run_search, #search_display_keys, #search_identifier_key, #time_formats
Constructor Details
This class inherits a constructor from WavefrontDisplay::Base
Instance Method Details
#do_install_all_alerts ⇒ Object
18 19 20 |
# File 'lib/wavefront-cli/display/integration.rb', line 18 def do_install_all_alerts puts "Installed alerts for #{[:'<id>']}." end |
#do_installed ⇒ Object
14 15 16 |
# File 'lib/wavefront-cli/display/integration.rb', line 14 def do_installed multicolumn(:id, :name, :description) end |
#do_list_brief ⇒ Object
10 11 12 |
# File 'lib/wavefront-cli/display/integration.rb', line 10 def do_list_brief multicolumn(:id, :name, :description) end |
#do_uninstall_all_alerts ⇒ Object
22 23 24 |
# File 'lib/wavefront-cli/display/integration.rb', line 22 def do_uninstall_all_alerts puts "Uninstalled alerts for #{[:'<id>']}." end |