appscode-api-js-client
Advanced tools
Comparing version 1.0.32 to 1.0.33
@@ -26,2 +26,9 @@ // Code generated by protoc-gen-grpc-js-client | ||
function clientsCreate(p, conf) { | ||
path = '/kubernetes/v1beta2/clusters/' + p['cluster'] + '/' + p['type'] | ||
delete p['cluster'] | ||
delete p['type'] | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
function clientsDelete(p, conf) { | ||
@@ -64,2 +71,30 @@ path = '/kubernetes/v1beta2/clusters/' + p['cluster'] + '/' + p['type'] + '/' + p['name'] | ||
function clientsRegisterPersistentVolume(p, conf) { | ||
path = '/kubernetes/v1beta2/clusters/' + p['cluster'] + '/persistentvolumes/' + p['name'] + '/actions/register' | ||
delete p['cluster'] | ||
delete p['name'] | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
function clientsUnregisterPersistentVolume(p, conf) { | ||
path = '/kubernetes/v1beta2/clusters/' + p['cluster'] + '/persistentvolumes/' + p['name'] + '/actions/unregister' | ||
delete p['cluster'] | ||
delete p['name'] | ||
return xhr(path, 'DELETE', conf, p); | ||
} | ||
function clientsRegisterPersistentVolumeClaim(p, conf) { | ||
path = '/kubernetes/v1beta2/clusters/' + p['cluster'] + '/persistentvolumeclaims/' + p['name'] + '/actions/register' | ||
delete p['cluster'] | ||
delete p['name'] | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
function clientsUnregisterPersistentVolumeClaim(p, conf) { | ||
path = '/kubernetes/v1beta2/clusters/' + p['cluster'] + '/persistentvolumeclaims/' + p['name'] + '/actions/unregister' | ||
delete p['cluster'] | ||
delete p['name'] | ||
return xhr(path, 'DELETE', conf, p); | ||
} | ||
var services = { | ||
@@ -69,2 +104,3 @@ clients: { | ||
describe: clientsDescribe, | ||
create: clientsCreate, | ||
delete: clientsDelete, | ||
@@ -74,3 +110,7 @@ update: clientsUpdate, | ||
editConfigMap: clientsEditConfigMap, | ||
editSecret: clientsEditSecret | ||
editSecret: clientsEditSecret, | ||
registerPersistentVolume: clientsRegisterPersistentVolume, | ||
unregisterPersistentVolume: clientsUnregisterPersistentVolume, | ||
registerPersistentVolumeClaim: clientsRegisterPersistentVolumeClaim, | ||
unregisterPersistentVolumeClaim: clientsUnregisterPersistentVolumeClaim | ||
} | ||
@@ -77,0 +117,0 @@ }; |
@@ -40,2 +40,3 @@ // Code generated by ./hack/browserify.py | ||
require('./apis/kubernetes/v1beta2/client.gw.js'), | ||
require('./apis/kubernetes/v1beta2/disk.gw.js'), | ||
require('./apis/loadbalancer/v1beta1/loadbalancer.gw.js'), | ||
@@ -42,0 +43,0 @@ require('./apis/mailinglist/v1beta1/mailinglist.gw.js'), |
{ | ||
"name": "appscode-api-js-client", | ||
"version": "1.0.32", | ||
"version": "1.0.33", | ||
"description": "AppsCode API JavaScript Client", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -50,2 +50,21 @@ { | ||
}, | ||
"v1beta2CreateResourceRequest": { | ||
"properties": { | ||
"cluster": { | ||
"type": "string" | ||
}, | ||
"name": { | ||
"maxLength": 63, | ||
"pattern": "^[a-z0-9](?:[a-z0-9\\-]{0,61}[a-z0-9])?$", | ||
"type": "string" | ||
}, | ||
"resource": { | ||
"$ref": "#/definitions/v1beta2Raw" | ||
}, | ||
"type": { | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"v1beta2DeleteResourceRequest": { | ||
@@ -151,2 +170,79 @@ "properties": { | ||
}, | ||
"v1beta2PersistentVolumeClaimRegisterRequest": { | ||
"properties": { | ||
"cluster": { | ||
"type": "string" | ||
}, | ||
"name": { | ||
"maxLength": 63, | ||
"pattern": "^[a-z0-9](?:[a-z0-9\\-]{0,61}[a-z0-9])?$", | ||
"type": "string" | ||
}, | ||
"namespace": { | ||
"maxLength": 63, | ||
"pattern": "^[a-z0-9](?:[a-z0-9\\-]{0,61}[a-z0-9])?$", | ||
"type": "string" | ||
}, | ||
"size_gb": { | ||
"type": "integer" | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"v1beta2PersistentVolumeClaimUnRegisterRequest": { | ||
"properties": { | ||
"cluster": { | ||
"type": "string" | ||
}, | ||
"name": { | ||
"maxLength": 63, | ||
"pattern": "^[a-z0-9](?:[a-z0-9\\-]{0,61}[a-z0-9])?$", | ||
"type": "string" | ||
}, | ||
"namespace": { | ||
"maxLength": 63, | ||
"pattern": "^[a-z0-9](?:[a-z0-9\\-]{0,61}[a-z0-9])?$", | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"v1beta2PersistentVolumeRegisterRequest": { | ||
"properties": { | ||
"cluster": { | ||
"type": "string" | ||
}, | ||
"endpoint": { | ||
"type": "string" | ||
}, | ||
"identifier": { | ||
"type": "string" | ||
}, | ||
"name": { | ||
"maxLength": 63, | ||
"pattern": "^[a-z0-9](?:[a-z0-9\\-]{0,61}[a-z0-9])?$", | ||
"type": "string" | ||
}, | ||
"plugin": { | ||
"type": "string" | ||
}, | ||
"size_gb": { | ||
"type": "integer" | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"v1beta2PersistentVolumeUnRegisterRequest": { | ||
"properties": { | ||
"cluster": { | ||
"type": "string" | ||
}, | ||
"name": { | ||
"maxLength": 63, | ||
"pattern": "^[a-z0-9](?:[a-z0-9\\-]{0,61}[a-z0-9])?$", | ||
"type": "string" | ||
} | ||
}, | ||
"type": "object" | ||
}, | ||
"v1beta2Raw": { | ||
@@ -153,0 +249,0 @@ "properties": { |
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
123306
86
4327