connectionService

connectionService

new connectionService()

The connectionService is used throughout the entire app, from filetransfer to login authentication. Uses a mixture of protocols to accomplish these tasks.

Source:
Requires:
  • module:$log
  • module:$q
  • module:$routeParams
  • module:$location
  • module:notifierService
  • module:async
  • module:path
  • module:fs
  • module:ssh2

Methods

(static) runCommand(comamnd, priorityopt)

Run a command on the remote cluster and get the output

Source:
Parameters:
Name Type Attributes Default Description
comamnd String

Command to execute

priority Integer <optional>
1

Priority of the command, default: 1. Higher numbers have lower priority. 0 is the highest priority.