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

Commit

Permalink
feat(kube): add routes for kubeconfig and put method
Browse files Browse the repository at this point in the history
* Add route for GET /kubeconfig
* add route for PUT /kube/:serviceName
  • Loading branch information
marie-j authored and antleblanc committed Sep 26, 2018
1 parent 314087b commit e1d1a4f
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/kube/kube.v6.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,24 @@ angular.module("ovh-api-services").service("OvhApiKubeV6", function ($resource,
}, {
query: { method: "GET", isArray: true, cache: queryCache },
get: { method: "GET", cache: cache },
update: {
method: "PUT",
interceptor: interceptor,
params: {
name: "@name"
}
},
getKubeConfig: {
url: "/kube/:serviceName/kubeconfig",
method: "GET",
cache: cache
},
getServiceInfos: {
url: "/kube/:serviceName/serviceInfos",
method: "GET",
cache: cache
},
putServiceInfos: {
updateServiceInfos: {
url: "/kube/:serviceName/serviceInfos",
method: "PUT",
interceptor: interceptor
Expand Down

0 comments on commit e1d1a4f

Please sign in to comment.