MCPcopy Create free account
hub / github.com/apache/cloudstack / service

Function service

tools/ngui/static/js/lib/angular.js:2774–2778  ·  view source on GitHub ↗
(name, constructor)

Source from the content-addressed store, hash-verified

2772 function factory(name, factoryFn) { return provider(name, { $get: factoryFn }); }
2773
2774 function service(name, constructor) {
2775 return factory(name, ['$injector', function($injector) {
2776 return $injector.instantiate(constructor);
2777 }]);
2778 }
2779
2780 function value(name, value) { return factory(name, valueFn(value)); }
2781

Callers 11

default.rbFile · 0.50
default.rbFile · 0.50
is_service_runningFunction · 0.50
stop_serviceFunction · 0.50
start_serviceFunction · 0.50
registerServiceMethod · 0.50
allocateIPMethod · 0.50
releaseIPMethod · 0.50
allocateIPMethod · 0.50
releaseIPMethod · 0.50

Calls 1

factoryFunction · 0.70

Tested by

no test coverage detected