Angular: ajenti.services

Services

class services()
getManagers()
Returns:promise → array of the available service managers
getServices(managerId)
Returns:promise → array of the available services in the ServiceManager
getService(managerId, serviceId)
Returns:promise → object, gets a single service from the manager
runOperation(managerId, serviceId, operation)
Arguments:
  • operation (string) – typically start, stop, restart, reload; depends on the service manager
Returns:

promise


Comments

comments powered by Disqus