Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Commit

Permalink
feat(cloud.project.serving): add serving features (#311)
Browse files Browse the repository at this point in the history
feat(cloud.project.serving): add serving features
Co-authored-by: <[email protected]>
  • Loading branch information
Corentin REGAL authored Sep 17, 2020
1 parent cdd3244 commit 5e52862
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ angular
.module('ovh-api-services')
.service('OvhApiCloudProjectAiCapabilitiesServing', ($injector) => ({
Region: () => $injector.get('OvhApiCloudProjectAiCapabilitiesServingRegion'),
Feature: () => $injector.get('OvhApiCloudProjectAiCapabilitiesServingFeature'),
PresetImage: () => $injector.get('OvhApiCloudProjectAiCapabilitiesServingPresetImage'),
Flavor: () => $injector.get('OvhApiCloudProjectAiCapabilitiesServingFlavor'),
Framework: () => $injector.get('OvhApiCloudProjectAiCapabilitiesServingFramework'),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
angular
.module('ovh-api-services')
.service('OvhApiCloudProjectAiCapabilitiesServingFeature', ($injector) => ({
v6: () => $injector.get('OvhApiCloudProjectAiCapabilitiesServingFeatureV6'),
}));
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
angular
.module('ovh-api-services')
.service('OvhApiCloudProjectAiCapabilitiesServingFeatureV6', ($resource) => $resource('/cloud/project/:serviceName/ai/capabilities/serving/feature', {
serviceName: '@serviceName',
}));

0 comments on commit 5e52862

Please sign in to comment.