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.training): add training region GPU endpoint (#310)
Browse files Browse the repository at this point in the history
feat(cloud.project.training): add training region GPU endpoint
Co-authored-by: <[email protected]>
  • Loading branch information
Corentin REGAL authored Sep 17, 2020
1 parent 9fa2511 commit cdd3244
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ angular
.module('ovh-api-services')
.service('OvhApiCloudProjectAiCapabilitiesTrainingRegion', ($injector) => ({
v6: () => $injector.get('OvhApiCloudProjectAiCapabilitiesTrainingRegionV6'),
Gpu: () => $injector.get('OvhApiCloudProjectAiCapabilitiesTrainingRegionGpu'),
}));
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
angular
.module('ovh-api-services')
.service('OvhApiCloudProjectAiCapabilitiesTrainingRegionGpu', ($injector) => ({
v6: () => $injector.get('OvhApiCloudProjectAiCapabilitiesTrainingRegionGpuV6'),
}));
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
angular
.module('ovh-api-services')
.service('OvhApiCloudProjectAiCapabilitiesTrainingRegionGpuV6', ($resource) => $resource('/cloud/project/:serviceName/ai/capabilities/training/region/:region/gpu', {
serviceName: '@serviceName',
region: '@region',
}));

0 comments on commit cdd3244

Please sign in to comment.