@appscode/tiller-js-client
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -5,3 +5,3 @@ // Code generated by ./hack/browserify.py | ||
/* | ||
This is a RSVP based Ajax client for AppsCode gRPC JSON APIs. | ||
This is a RSVP based Ajax client for gRPC gateway JSON APIs. | ||
*/ | ||
@@ -12,4 +12,4 @@ | ||
var apis = _.merge({}, | ||
require('./apis/hapi/services/tiller.gw.js') | ||
require('./apis/wapi/v2/tiller.gw.js') | ||
); | ||
module.exports = apis.hapi; | ||
module.exports = apis.wapi; |
{ | ||
"name": "@appscode/tiller-js-client", | ||
"version": "0.0.5", | ||
"description": "Tiller JavaScript Client", | ||
"version": "0.0.6", | ||
"description": "Helm Tiller JavaScript Client", | ||
"main": "index.js", | ||
@@ -11,3 +11,3 @@ "scripts": { | ||
"type": "git", | ||
"url": "git+https://github.com/appscode/tiller-js-client.git" | ||
"url": "git+https://github.com/appscode/wheel.git" | ||
}, | ||
@@ -23,5 +23,5 @@ "keywords": [ | ||
"bugs": { | ||
"url": "https://github.com/appscode/tiller-js-client/issues" | ||
"url": "https://github.com/appscode/wheel/issues" | ||
}, | ||
"homepage": "https://github.com/appscode/tiller-js-client#readme", | ||
"homepage": "https://github.com/appscode/wheel#readme", | ||
"dependencies": { | ||
@@ -28,0 +28,0 @@ "fs": "0.0.1-security", |
# tiller-js-client | ||
Tiller API JavaScript Client | ||
## API Reference | ||
- **Tiller Version** | ||
``` | ||
GET http://127.0.0.1:9855/tiller/v2/version/json | ||
``` | ||
- **Summarize releases** | ||
``` | ||
GET http://127.0.0.1:9855/tiller/v2/releases/json | ||
``` | ||
- **List releases** | ||
``` | ||
GET http://127.0.0.1:9855/tiller/v2/releases/list/json | ||
``` | ||
- **Release status** | ||
``` | ||
GET http://127.0.0.1:9855/tiller/v2/releases/my-release/status/json | ||
``` | ||
- **Release content** | ||
``` | ||
GET http://127.0.0.1:9855/tiller/v2/releases/my-release/content/json | ||
``` | ||
- **Release history** | ||
``` | ||
GET http://127.0.0.1:9855/tiller/v2/releases/my-release/json | ||
``` | ||
- **Rollback release** | ||
``` | ||
GET http://127.0.0.1:9855/tiller/v2/releases/my-release/rollback/json | ||
``` | ||
- **Install release from url** | ||
``` | ||
POST http://127.0.0.1:9855/tiller/v2/releases/my-release/json | ||
{ | ||
"chart_url": "https://github.com/tamalsaha/test-chart/raw/master/test-chart-0.1.0.tgz", | ||
"values": { | ||
"raw": "{\"ns\":\"c10\",\"clusterName\":\"h505\"}" | ||
} | ||
} | ||
``` | ||
- **Install release from stable kubeapps (most recent version)** | ||
``` | ||
POST http://127.0.0.1:9855/tiller/v2/releases/my-release/json | ||
{ | ||
"chart_url": "stable/fluent-bit" | ||
} | ||
``` | ||
- **Install release from stable kubeapps (specific version)** | ||
``` | ||
POST http://127.0.0.1:9855/tiller/v2/releases/my-release/json | ||
{ | ||
"chart_url": "stable/fluent-bit/0.1.2" | ||
} | ||
``` | ||
- **Update release** | ||
``` | ||
PUT http://127.0.0.1:9855/tiller/v2/releases/my-release/json | ||
{ | ||
"chart_url": "https://github.com/tamalsaha/test-chart/raw/master/test-chart-0.1.0.tgz", | ||
"values": { | ||
"raw": "{\"ns\":\"c15\",\"clusterName\":\"h505\"}" | ||
} | ||
} | ||
``` | ||
- **Uninstall release** | ||
``` | ||
DELETE http://127.0.0.1:9855/tiller/v2/releases/my-release/json | ||
``` | ||
- **Uninstall & purge release** | ||
``` | ||
DELETE http://127.0.0.1:9855/tiller/v2/releases/my-release/json?purge=true | ||
``` |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
36537
9
583
1
2
98
1