class WavefrontCli::Integration

CLI coverage for the v2 'integration' API.

Public Instance Methods

do_alert_install() click to toggle source
# File lib/wavefront-cli/integration.rb, line 30
def do_alert_install
  wf.install_all_alerts(options[:'<id>'])
end
do_alert_uninstall() click to toggle source
# File lib/wavefront-cli/integration.rb, line 34
def do_alert_uninstall
  wf.uninstall_all_alerts(options[:'<id>'])
end
do_install() click to toggle source
# File lib/wavefront-cli/integration.rb, line 22
def do_install
  wf.install(options[:'<id>'])
end
do_installed() click to toggle source
# File lib/wavefront-cli/integration.rb, line 42
def do_installed
  wf.installed
end
do_manifests() click to toggle source
# File lib/wavefront-cli/integration.rb, line 14
def do_manifests
  if options[:format] == 'human'
    abort 'Human-readable manifest output is not supported.'
  end

  wf.manifests
end
do_status() click to toggle source
# File lib/wavefront-cli/integration.rb, line 10
def do_status
  wf.status(options[:'<id>'])
end
do_statuses() click to toggle source
# File lib/wavefront-cli/integration.rb, line 38
def do_statuses
  wf.statuses
end
do_uninstall() click to toggle source
# File lib/wavefront-cli/integration.rb, line 26
def do_uninstall
  wf.uninstall(options[:'<id>'])
end