appscode-api-js-client
Advanced tools
Comparing version 1.0.23 to 1.0.24
@@ -12,4 +12,3 @@ // Code generated by protoc-gen-grpc-js-client | ||
function metadataListRegions(p, conf) { | ||
path = '/cloud/v1beta1/metadata/providers/' + p['provider'] + '/regions' | ||
delete p['provider'] | ||
path = '/cloud/v1beta1/regions' | ||
return xhr(path, 'GET', conf, p); | ||
@@ -19,4 +18,3 @@ } | ||
function metadataListZones(p, conf) { | ||
path = '/cloud/v1beta1/metadata/providers/' + p['provider'] + '/regions/' + p['region'] + '/zones' | ||
delete p['provider'] | ||
path = '/cloud/v1beta1/regions/' + p['region'] + '/zones' | ||
delete p['region'] | ||
@@ -26,6 +24,12 @@ return xhr(path, 'GET', conf, p); | ||
function metadataListBuckets(p, conf) { | ||
path = '/cloud/v1beta1/buckets' | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
var services = { | ||
metadata: { | ||
listRegions: metadataListRegions, | ||
listZones: metadataListZones | ||
listZones: metadataListZones, | ||
listBuckets: metadataListBuckets | ||
} | ||
@@ -32,0 +36,0 @@ }; |
@@ -24,3 +24,2 @@ // Code generated by ./hack/browserify.py | ||
require('./apis/billing/v1beta1/subscription.gw.js'), | ||
require('./apis/bucket/v1beta1/bucket.gw.js'), | ||
require('./apis/certificate/v1beta1/acmeuser.gw.js'), | ||
@@ -27,0 +26,0 @@ require('./apis/certificate/v1beta1/ca.gw.js'), |
{ | ||
"name": "appscode-api-js-client", | ||
"version": "1.0.23", | ||
"version": "1.0.24", | ||
"description": "AppsCode API JavaScript Client", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
{ | ||
"definitions": { | ||
"v1beta1ListRegionsRequest": { | ||
"v1beta1BucketListRequest": { | ||
"properties": { | ||
@@ -9,4 +9,11 @@ "cloud_credential": { | ||
"type": "string" | ||
}, | ||
"provider": { | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"v1beta1RegionListRequest": { | ||
"properties": { | ||
"cloud_credential": { | ||
"maxLength": 63, | ||
"pattern": "^[a-z0-9](?:[a-z0-9\\-]{0,61}[a-z0-9])?$", | ||
"type": "string" | ||
@@ -17,3 +24,3 @@ } | ||
}, | ||
"v1beta1ListZonesRequest": { | ||
"v1beta1ZoneListRequest": { | ||
"properties": { | ||
@@ -25,5 +32,2 @@ "cloud_credential": { | ||
}, | ||
"provider": { | ||
"type": "string" | ||
}, | ||
"region": { | ||
@@ -30,0 +34,0 @@ "type": "string" |
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
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
121025
88
4258