appscode-api-js-client
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -11,45 +11,45 @@ // Code generated by protoc-gen-grpc-js-client | ||
func AlertsList(p, conf) { | ||
path = '/kubernetes/v1beta1/alerts' | ||
return xhr(path, 'GET', conf, p); | ||
function AlertsList(p, conf) { | ||
path = '/kubernetes/v1beta1/alerts' | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func AlertsCreate(p, conf) { | ||
path = '/kubernetes/v1beta1/alerts' | ||
return xhr(path, 'POST', conf, null, p); | ||
function AlertsCreate(p, conf) { | ||
path = '/kubernetes/v1beta1/alerts' | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
func AlertsDescribe(p, conf) { | ||
path = '/kubernetes/v1beta1/alerts/' + p['phid'] | ||
delete p['phid'] | ||
return xhr(path, 'GET', conf, p); | ||
function AlertsDescribe(p, conf) { | ||
path = '/kubernetes/v1beta1/alerts/' + p['phid'] | ||
delete p['phid'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func AlertsUpdate(p, conf) { | ||
path = '/kubernetes/v1beta1/alerts/' + p['phid'] | ||
delete p['phid'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
function AlertsUpdate(p, conf) { | ||
path = '/kubernetes/v1beta1/alerts/' + p['phid'] | ||
delete p['phid'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
} | ||
func AlertsSync(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['kubernetes_cluster'] + '/actions/sync-alerts' | ||
delete p['kubernetes_cluster'] | ||
return xhr(path, 'POST', conf, null, p); | ||
function AlertsSync(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['kubernetes_cluster'] + '/actions/sync-alerts' | ||
delete p['kubernetes_cluster'] | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
func AlertsDelete(p, conf) { | ||
path = '/kubernetes/v1beta1/alerts/' + p['phid'] | ||
delete p['phid'] | ||
return xhr(path, 'DELETE', conf, p); | ||
function AlertsDelete(p, conf) { | ||
path = '/kubernetes/v1beta1/alerts/' + p['phid'] | ||
delete p['phid'] | ||
return xhr(path, 'DELETE', conf, p); | ||
} | ||
module.exports = { | ||
Alerts: { | ||
List: AlertsList, | ||
Create: AlertsCreate, | ||
Describe: AlertsDescribe, | ||
Update: AlertsUpdate, | ||
Sync: AlertsSync, | ||
Delete: AlertsDelete | ||
} | ||
} | ||
Alerts: { | ||
List: AlertsList, | ||
Create: AlertsCreate, | ||
Describe: AlertsDescribe, | ||
Update: AlertsUpdate, | ||
Sync: AlertsSync, | ||
Delete: AlertsDelete | ||
} | ||
}; |
@@ -11,32 +11,32 @@ // Code generated by protoc-gen-grpc-js-client | ||
func IncidentsList(p, conf) { | ||
path = '/kubernetes/v1beta1/incidents' | ||
return xhr(path, 'GET', conf, p); | ||
function IncidentsList(p, conf) { | ||
path = '/kubernetes/v1beta1/incidents' | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func IncidentsDescribe(p, conf) { | ||
path = '/kubernetes/v1beta1/incidents/' + p['phid'] | ||
delete p['phid'] | ||
return xhr(path, 'GET', conf, p); | ||
function IncidentsDescribe(p, conf) { | ||
path = '/kubernetes/v1beta1/incidents/' + p['phid'] | ||
delete p['phid'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func IncidentsNotify(p, conf) { | ||
path = '/kubernetes/v1beta1/alerts/' + p['alert_phid'] + '/actions/notify' | ||
delete p['alert_phid'] | ||
return xhr(path, 'POST', conf, null, p); | ||
function IncidentsNotify(p, conf) { | ||
path = '/kubernetes/v1beta1/alerts/' + p['alert_phid'] + '/actions/notify' | ||
delete p['alert_phid'] | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
func IncidentsCreateEvent(p, conf) { | ||
path = '/kubernetes/v1beta1/incidents/' + p['phid'] + '/events' | ||
delete p['phid'] | ||
return xhr(path, 'POST', conf, null, p); | ||
function IncidentsCreateEvent(p, conf) { | ||
path = '/kubernetes/v1beta1/incidents/' + p['phid'] + '/events' | ||
delete p['phid'] | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
module.exports = { | ||
Incidents: { | ||
List: IncidentsList, | ||
Describe: IncidentsDescribe, | ||
Notify: IncidentsNotify, | ||
CreateEvent: IncidentsCreateEvent | ||
} | ||
} | ||
Incidents: { | ||
List: IncidentsList, | ||
Describe: IncidentsDescribe, | ||
Notify: IncidentsNotify, | ||
CreateEvent: IncidentsCreateEvent | ||
} | ||
}; |
@@ -11,18 +11,18 @@ // Code generated by protoc-gen-grpc-js-client | ||
func ArtifactsSearch(p, conf) { | ||
path = '/artifactory/v1beta1/search' | ||
return xhr(path, 'GET', conf, p); | ||
function ArtifactsSearch(p, conf) { | ||
path = '/artifactory/v1beta1/search' | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func ArtifactsList(p, conf) { | ||
path = '/artifactory/v1beta1/artifacts/' + p['type'] | ||
delete p['type'] | ||
return xhr(path, 'GET', conf, p); | ||
function ArtifactsList(p, conf) { | ||
path = '/artifactory/v1beta1/artifacts/' + p['type'] | ||
delete p['type'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
module.exports = { | ||
Artifacts: { | ||
Search: ArtifactsSearch, | ||
List: ArtifactsList | ||
} | ||
} | ||
Artifacts: { | ||
Search: ArtifactsSearch, | ||
List: ArtifactsList | ||
} | ||
}; |
@@ -11,19 +11,19 @@ // Code generated by protoc-gen-grpc-js-client | ||
func VersionsList(p, conf) { | ||
path = '/artifactory/v1beta1/artifacts/' + p['type'] + '/versions' | ||
delete p['type'] | ||
return xhr(path, 'GET', conf, p); | ||
function VersionsList(p, conf) { | ||
path = '/artifactory/v1beta1/artifacts/' + p['type'] + '/versions' | ||
delete p['type'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func VersionsDescribe(p, conf) { | ||
path = '/artifactory/v1beta1/artifacts/' + p['type'] + '/versions/description' | ||
delete p['type'] | ||
return xhr(path, 'GET', conf, p); | ||
function VersionsDescribe(p, conf) { | ||
path = '/artifactory/v1beta1/artifacts/' + p['type'] + '/versions/description' | ||
delete p['type'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
module.exports = { | ||
Versions: { | ||
List: VersionsList, | ||
Describe: VersionsDescribe | ||
} | ||
} | ||
Versions: { | ||
List: VersionsList, | ||
Describe: VersionsDescribe | ||
} | ||
}; |
@@ -11,23 +11,23 @@ // Code generated by protoc-gen-grpc-js-client | ||
func AuthenticationLogin(p, conf) { | ||
path = '/auth/v1beta1/login' | ||
return xhr(path, 'POST', conf, null, p); | ||
function AuthenticationLogin(p, conf) { | ||
path = '/auth/v1beta1/login' | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
func AuthenticationLogout(p, conf) { | ||
path = '/auth/v1beta1/logout' | ||
return xhr(path, 'POST', conf, null, p); | ||
function AuthenticationLogout(p, conf) { | ||
path = '/auth/v1beta1/logout' | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
func AuthenticationToken(p, conf) { | ||
path = '/auth/v1beta1/token' | ||
return xhr(path, 'POST', conf, null, p); | ||
function AuthenticationToken(p, conf) { | ||
path = '/auth/v1beta1/token' | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
module.exports = { | ||
Authentication: { | ||
Login: AuthenticationLogin, | ||
Logout: AuthenticationLogout, | ||
Token: AuthenticationToken | ||
} | ||
} | ||
Authentication: { | ||
Login: AuthenticationLogin, | ||
Logout: AuthenticationLogout, | ||
Token: AuthenticationToken | ||
} | ||
}; |
@@ -11,17 +11,17 @@ // Code generated by protoc-gen-grpc-js-client | ||
func ConduitWhoAmI(p, conf) { | ||
path = '/auth/v1beta1/conduit/whoami' | ||
return xhr(path, 'POST', conf, null, p); | ||
function ConduitWhoAmI(p, conf) { | ||
path = '/auth/v1beta1/conduit/whoami' | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
func ConduitUsers(p, conf) { | ||
path = '/auth/v1beta1/conduit/users' | ||
return xhr(path, 'POST', conf, null, p); | ||
function ConduitUsers(p, conf) { | ||
path = '/auth/v1beta1/conduit/users' | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
module.exports = { | ||
Conduit: { | ||
WhoAmI: ConduitWhoAmI, | ||
Users: ConduitUsers | ||
} | ||
} | ||
Conduit: { | ||
WhoAmI: ConduitWhoAmI, | ||
Users: ConduitUsers | ||
} | ||
}; |
@@ -11,12 +11,12 @@ // Code generated by protoc-gen-grpc-js-client | ||
func ClientsReconfigure(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/apps/bacula/actions/reconfigure' | ||
delete p['cluster'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
function ClientsReconfigure(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/apps/bacula/actions/reconfigure' | ||
delete p['cluster'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
} | ||
module.exports = { | ||
Clients: { | ||
Reconfigure: ClientsReconfigure | ||
} | ||
} | ||
Clients: { | ||
Reconfigure: ClientsReconfigure | ||
} | ||
}; |
@@ -11,19 +11,19 @@ // Code generated by protoc-gen-grpc-js-client | ||
func ServersCreate(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/apps/bacula' | ||
delete p['cluster'] | ||
return xhr(path, 'POST', conf, null, p); | ||
function ServersCreate(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/apps/bacula' | ||
delete p['cluster'] | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
func ServersDelete(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/apps/bacula' | ||
delete p['cluster'] | ||
return xhr(path, 'DELETE', conf, p); | ||
function ServersDelete(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/apps/bacula' | ||
delete p['cluster'] | ||
return xhr(path, 'DELETE', conf, p); | ||
} | ||
module.exports = { | ||
Servers: { | ||
Create: ServersCreate, | ||
Delete: ServersDelete | ||
} | ||
} | ||
Servers: { | ||
Create: ServersCreate, | ||
Delete: ServersDelete | ||
} | ||
}; |
@@ -11,11 +11,11 @@ // Code generated by protoc-gen-grpc-js-client | ||
func ChargesEstimate(p, conf) { | ||
path = '/billing/v1beta1/charges' | ||
return xhr(path, 'GET', conf, p); | ||
function ChargesEstimate(p, conf) { | ||
path = '/billing/v1beta1/charges' | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
module.exports = { | ||
Charges: { | ||
Estimate: ChargesEstimate | ||
} | ||
} | ||
Charges: { | ||
Estimate: ChargesEstimate | ||
} | ||
}; |
@@ -11,11 +11,11 @@ // Code generated by protoc-gen-grpc-js-client | ||
func PaymentMethodsCheck(p, conf) { | ||
path = '/billing/v1beta1/paymentmethods' | ||
return xhr(path, 'GET', conf, p); | ||
function PaymentMethodsCheck(p, conf) { | ||
path = '/billing/v1beta1/paymentmethods' | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
module.exports = { | ||
PaymentMethods: { | ||
Check: PaymentMethodsCheck | ||
} | ||
} | ||
PaymentMethods: { | ||
Check: PaymentMethodsCheck | ||
} | ||
}; |
@@ -11,25 +11,25 @@ // Code generated by protoc-gen-grpc-js-client | ||
func PurchasesBegin(p, conf) { | ||
path = '/billing/v1beta1/purchases' | ||
return xhr(path, 'POST', conf, null, p); | ||
function PurchasesBegin(p, conf) { | ||
path = '/billing/v1beta1/purchases' | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
func PurchasesComplete(p, conf) { | ||
path = '/billing/v1beta1/purchases/' + p['phid'] | ||
delete p['phid'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
function PurchasesComplete(p, conf) { | ||
path = '/billing/v1beta1/purchases/' + p['phid'] | ||
delete p['phid'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
} | ||
func PurchasesClose(p, conf) { | ||
path = '/billing/v1beta1/purchases/' + p['object_phid'] | ||
delete p['object_phid'] | ||
return xhr(path, 'DELETE', conf, p); | ||
function PurchasesClose(p, conf) { | ||
path = '/billing/v1beta1/purchases/' + p['object_phid'] | ||
delete p['object_phid'] | ||
return xhr(path, 'DELETE', conf, p); | ||
} | ||
module.exports = { | ||
Purchases: { | ||
Begin: PurchasesBegin, | ||
Complete: PurchasesComplete, | ||
Close: PurchasesClose | ||
} | ||
} | ||
Purchases: { | ||
Begin: PurchasesBegin, | ||
Complete: PurchasesComplete, | ||
Close: PurchasesClose | ||
} | ||
}; |
@@ -11,11 +11,11 @@ // Code generated by protoc-gen-grpc-js-client | ||
func QuotasGet(p, conf) { | ||
path = '/billing/v1beta1/quotas' | ||
return xhr(path, 'GET', conf, p); | ||
function QuotasGet(p, conf) { | ||
path = '/billing/v1beta1/quotas' | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
module.exports = { | ||
Quotas: { | ||
Get: QuotasGet | ||
} | ||
} | ||
Quotas: { | ||
Get: QuotasGet | ||
} | ||
}; |
@@ -11,11 +11,11 @@ // Code generated by protoc-gen-grpc-js-client | ||
func SubscriptionsSubscribe(p, conf) { | ||
path = '/billing/v1beta1/subscriptions' | ||
return xhr(path, 'POST', conf, null, p); | ||
function SubscriptionsSubscribe(p, conf) { | ||
path = '/billing/v1beta1/subscriptions' | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
module.exports = { | ||
Subscriptions: { | ||
Subscribe: SubscriptionsSubscribe | ||
} | ||
} | ||
Subscriptions: { | ||
Subscribe: SubscriptionsSubscribe | ||
} | ||
}; |
@@ -11,11 +11,11 @@ // Code generated by protoc-gen-grpc-js-client | ||
func BucketsList(p, conf) { | ||
path = '/cloud/v1beta1/buckets' | ||
return xhr(path, 'GET', conf, p); | ||
function BucketsList(p, conf) { | ||
path = '/cloud/v1beta1/buckets' | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
module.exports = { | ||
Buckets: { | ||
List: BucketsList | ||
} | ||
} | ||
Buckets: { | ||
List: BucketsList | ||
} | ||
}; |
@@ -11,11 +11,11 @@ // Code generated by protoc-gen-grpc-js-client | ||
func AcmeUsersRegister(p, conf) { | ||
path = '/certificate/v1beta1/acme-users' | ||
return xhr(path, 'PUT', conf, p); | ||
function AcmeUsersRegister(p, conf) { | ||
path = '/certificate/v1beta1/acme-users' | ||
return xhr(path, 'PUT', conf, p); | ||
} | ||
module.exports = { | ||
AcmeUsers: { | ||
Register: AcmeUsersRegister | ||
} | ||
} | ||
AcmeUsers: { | ||
Register: AcmeUsersRegister | ||
} | ||
}; |
@@ -11,11 +11,11 @@ // Code generated by protoc-gen-grpc-js-client | ||
func CAsCreate(p, conf) { | ||
path = '/certificate/v1beta1/cas' | ||
return xhr(path, 'POST', conf, null, p); | ||
function CAsCreate(p, conf) { | ||
path = '/certificate/v1beta1/cas' | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
module.exports = { | ||
CAs: { | ||
Create: CAsCreate | ||
} | ||
} | ||
CAs: { | ||
Create: CAsCreate | ||
} | ||
}; |
@@ -11,59 +11,59 @@ // Code generated by protoc-gen-grpc-js-client | ||
func CertificatesList(p, conf) { | ||
path = '/certificate/v1beta1/certificates' | ||
return xhr(path, 'GET', conf, p); | ||
function CertificatesList(p, conf) { | ||
path = '/certificate/v1beta1/certificates' | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func CertificatesDescribe(p, conf) { | ||
path = '/certificate/v1beta1/certificates/' + p['uid'] | ||
delete p['uid'] | ||
return xhr(path, 'GET', conf, p); | ||
function CertificatesDescribe(p, conf) { | ||
path = '/certificate/v1beta1/certificates/' + p['uid'] | ||
delete p['uid'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func CertificatesCreate(p, conf) { | ||
path = '/certificate/v1beta1/certificates' | ||
return xhr(path, 'POST', conf, null, p); | ||
function CertificatesCreate(p, conf) { | ||
path = '/certificate/v1beta1/certificates' | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
func CertificatesImport(p, conf) { | ||
path = '/certificate/v1beta1/certificates/' + p['name'] + '/actions/import' | ||
delete p['name'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
function CertificatesImport(p, conf) { | ||
path = '/certificate/v1beta1/certificates/' + p['name'] + '/actions/import' | ||
delete p['name'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
} | ||
func CertificatesDelete(p, conf) { | ||
path = '/certificate/v1beta1/certificates/' + p['uid'] | ||
delete p['uid'] | ||
return xhr(path, 'DELETE', conf, p); | ||
function CertificatesDelete(p, conf) { | ||
path = '/certificate/v1beta1/certificates/' + p['uid'] | ||
delete p['uid'] | ||
return xhr(path, 'DELETE', conf, p); | ||
} | ||
func CertificatesRenew(p, conf) { | ||
path = '/certificate/v1beta1/certificates/' + p['uid'] + '/actions/renew' | ||
delete p['uid'] | ||
return xhr(path, 'POST', conf, p); | ||
function CertificatesRenew(p, conf) { | ||
path = '/certificate/v1beta1/certificates/' + p['uid'] + '/actions/renew' | ||
delete p['uid'] | ||
return xhr(path, 'POST', conf, p); | ||
} | ||
func CertificatesRevoke(p, conf) { | ||
path = '/certificate/v1beta1/certificates/' + p['uid'] + '/actions/revoke' | ||
delete p['uid'] | ||
return xhr(path, 'PUT', conf, p); | ||
function CertificatesRevoke(p, conf) { | ||
path = '/certificate/v1beta1/certificates/' + p['uid'] + '/actions/revoke' | ||
delete p['uid'] | ||
return xhr(path, 'PUT', conf, p); | ||
} | ||
func CertificatesDeploy(p, conf) { | ||
path = '/certificate/v1beta1/certificates/' + p['uid'] + '/actions/deploy' | ||
delete p['uid'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
function CertificatesDeploy(p, conf) { | ||
path = '/certificate/v1beta1/certificates/' + p['uid'] + '/actions/deploy' | ||
delete p['uid'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
} | ||
module.exports = { | ||
Certificates: { | ||
List: CertificatesList, | ||
Describe: CertificatesDescribe, | ||
Create: CertificatesCreate, | ||
Import: CertificatesImport, | ||
Delete: CertificatesDelete, | ||
Renew: CertificatesRenew, | ||
Revoke: CertificatesRevoke, | ||
Deploy: CertificatesDeploy | ||
} | ||
} | ||
Certificates: { | ||
List: CertificatesList, | ||
Describe: CertificatesDescribe, | ||
Create: CertificatesCreate, | ||
Import: CertificatesImport, | ||
Delete: CertificatesDelete, | ||
Renew: CertificatesRenew, | ||
Revoke: CertificatesRevoke, | ||
Deploy: CertificatesDeploy | ||
} | ||
}; |
@@ -11,38 +11,38 @@ // Code generated by protoc-gen-grpc-js-client | ||
func AgentsList(p, conf) { | ||
path = '/ci/v1beta1/agents' | ||
return xhr(path, 'GET', conf, p); | ||
function AgentsList(p, conf) { | ||
path = '/ci/v1beta1/agents' | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func AgentsDescribe(p, conf) { | ||
path = '/ci/v1beta1/agents/' + p['name'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
function AgentsDescribe(p, conf) { | ||
path = '/ci/v1beta1/agents/' + p['name'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func AgentsCreate(p, conf) { | ||
path = '/ci/v1beta1/agents' | ||
return xhr(path, 'POST', conf, null, p); | ||
function AgentsCreate(p, conf) { | ||
path = '/ci/v1beta1/agents' | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
func AgentsDelete(p, conf) { | ||
path = '/ci/v1beta1/agents/' + p['name'] | ||
delete p['name'] | ||
return xhr(path, 'DELETE', conf, p); | ||
function AgentsDelete(p, conf) { | ||
path = '/ci/v1beta1/agents/' + p['name'] | ||
delete p['name'] | ||
return xhr(path, 'DELETE', conf, p); | ||
} | ||
func AgentsRestart(p, conf) { | ||
path = '/ci/v1beta1/agents/' + p['name'] + '/actions/reboot' | ||
delete p['name'] | ||
return xhr(path, 'POST', conf, p); | ||
function AgentsRestart(p, conf) { | ||
path = '/ci/v1beta1/agents/' + p['name'] + '/actions/reboot' | ||
delete p['name'] | ||
return xhr(path, 'POST', conf, p); | ||
} | ||
module.exports = { | ||
Agents: { | ||
List: AgentsList, | ||
Describe: AgentsDescribe, | ||
Create: AgentsCreate, | ||
Delete: AgentsDelete, | ||
Restart: AgentsRestart | ||
} | ||
} | ||
Agents: { | ||
List: AgentsList, | ||
Describe: AgentsDescribe, | ||
Create: AgentsCreate, | ||
Delete: AgentsDelete, | ||
Restart: AgentsRestart | ||
} | ||
}; |
@@ -11,20 +11,20 @@ // Code generated by protoc-gen-grpc-js-client | ||
func BuildsDescribe(p, conf) { | ||
path = '/ci/v1beta1/jobs/' + p['job_name'] + '/builds/' + p['number'] | ||
delete p['job_name'] | ||
delete p['number'] | ||
return xhr(path, 'GET', conf, p); | ||
function BuildsDescribe(p, conf) { | ||
path = '/ci/v1beta1/jobs/' + p['job_name'] + '/builds/' + p['number'] | ||
delete p['job_name'] | ||
delete p['number'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func BuildsList(p, conf) { | ||
path = '/ci/v1beta1/jobs/' + p['job_name'] + '/builds' | ||
delete p['job_name'] | ||
return xhr(path, 'GET', conf, p); | ||
function BuildsList(p, conf) { | ||
path = '/ci/v1beta1/jobs/' + p['job_name'] + '/builds' | ||
delete p['job_name'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
module.exports = { | ||
Builds: { | ||
Describe: BuildsDescribe, | ||
List: BuildsList | ||
} | ||
} | ||
Builds: { | ||
Describe: BuildsDescribe, | ||
List: BuildsList | ||
} | ||
}; |
@@ -11,44 +11,44 @@ // Code generated by protoc-gen-grpc-js-client | ||
func JobsList(p, conf) { | ||
path = '/ci/v1beta1/jobs' | ||
return xhr(path, 'GET', conf, p); | ||
function JobsList(p, conf) { | ||
path = '/ci/v1beta1/jobs' | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func JobsDescribe(p, conf) { | ||
path = '/ci/v1beta1/jobs/' + p['name'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
function JobsDescribe(p, conf) { | ||
path = '/ci/v1beta1/jobs/' + p['name'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func JobsCreate(p, conf) { | ||
path = '/ci/v1beta1/jobs' | ||
return xhr(path, 'POST', conf, null, p); | ||
function JobsCreate(p, conf) { | ||
path = '/ci/v1beta1/jobs' | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
func JobsCopy(p, conf) { | ||
path = '/ci/v1beta1/actions/copy' | ||
return xhr(path, 'PUT', conf, null, p); | ||
function JobsCopy(p, conf) { | ||
path = '/ci/v1beta1/actions/copy' | ||
return xhr(path, 'PUT', conf, null, p); | ||
} | ||
func JobsBuild(p, conf) { | ||
path = '/ci/v1beta1/jobs/' + p['name'] + '/actions/build' | ||
delete p['name'] | ||
return xhr(path, 'POST', conf, null, p); | ||
function JobsBuild(p, conf) { | ||
path = '/ci/v1beta1/jobs/' + p['name'] + '/actions/build' | ||
delete p['name'] | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
func JobsDelete(p, conf) { | ||
path = '/ci/v1beta1/jobs/' + p['name'] | ||
delete p['name'] | ||
return xhr(path, 'DELETE', conf, p); | ||
function JobsDelete(p, conf) { | ||
path = '/ci/v1beta1/jobs/' + p['name'] | ||
delete p['name'] | ||
return xhr(path, 'DELETE', conf, p); | ||
} | ||
module.exports = { | ||
Jobs: { | ||
List: JobsList, | ||
Describe: JobsDescribe, | ||
Create: JobsCreate, | ||
Copy: JobsCopy, | ||
Build: JobsBuild, | ||
Delete: JobsDelete | ||
} | ||
} | ||
Jobs: { | ||
List: JobsList, | ||
Describe: JobsDescribe, | ||
Create: JobsCreate, | ||
Copy: JobsCopy, | ||
Build: JobsBuild, | ||
Delete: JobsDelete | ||
} | ||
}; |
@@ -11,17 +11,17 @@ // Code generated by protoc-gen-grpc-js-client | ||
func MasterCreate(p, conf) { | ||
path = '/ci/v1beta1/masters' | ||
return xhr(path, 'POST', conf, null, p); | ||
function MasterCreate(p, conf) { | ||
path = '/ci/v1beta1/masters' | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
func MasterDelete(p, conf) { | ||
path = '/ci/v1beta1/masters' | ||
return xhr(path, 'DELETE', conf, p); | ||
function MasterDelete(p, conf) { | ||
path = '/ci/v1beta1/masters' | ||
return xhr(path, 'DELETE', conf, p); | ||
} | ||
module.exports = { | ||
Master: { | ||
Create: MasterCreate, | ||
Delete: MasterDelete | ||
} | ||
} | ||
Master: { | ||
Create: MasterCreate, | ||
Delete: MasterDelete | ||
} | ||
}; |
@@ -11,31 +11,31 @@ // Code generated by protoc-gen-grpc-js-client | ||
func CredentialsList(p, conf) { | ||
path = '/cloud/v1beta1/credentials' | ||
return xhr(path, 'GET', conf, p); | ||
function CredentialsList(p, conf) { | ||
path = '/cloud/v1beta1/credentials' | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func CredentialsCreate(p, conf) { | ||
path = '/cloud/v1beta1/credentials' | ||
return xhr(path, 'POST', conf, null, p); | ||
function CredentialsCreate(p, conf) { | ||
path = '/cloud/v1beta1/credentials' | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
func CredentialsUpdate(p, conf) { | ||
path = '/cloud/v1beta1/credentials/' + p['name'] | ||
delete p['name'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
function CredentialsUpdate(p, conf) { | ||
path = '/cloud/v1beta1/credentials/' + p['name'] | ||
delete p['name'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
} | ||
func CredentialsDelete(p, conf) { | ||
path = '/cloud/v1beta1/credentials/' + p['name'] | ||
delete p['name'] | ||
return xhr(path, 'DELETE', conf, p); | ||
function CredentialsDelete(p, conf) { | ||
path = '/cloud/v1beta1/credentials/' + p['name'] | ||
delete p['name'] | ||
return xhr(path, 'DELETE', conf, p); | ||
} | ||
module.exports = { | ||
Credentials: { | ||
List: CredentialsList, | ||
Create: CredentialsCreate, | ||
Update: CredentialsUpdate, | ||
Delete: CredentialsDelete | ||
} | ||
} | ||
Credentials: { | ||
List: CredentialsList, | ||
Create: CredentialsCreate, | ||
Update: CredentialsUpdate, | ||
Delete: CredentialsDelete | ||
} | ||
}; |
@@ -11,51 +11,51 @@ // Code generated by protoc-gen-grpc-js-client | ||
func DatabasesList(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/databases' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
function DatabasesList(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/databases' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func DatabasesCreate(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/databases' | ||
delete p['cluster'] | ||
return xhr(path, 'POST', conf, null, p); | ||
function DatabasesCreate(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/databases' | ||
delete p['cluster'] | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
func DatabasesScale(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/databases/' + p['uid'] + '/actions/scale' | ||
delete p['cluster'] | ||
delete p['uid'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
function DatabasesScale(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/databases/' + p['uid'] + '/actions/scale' | ||
delete p['cluster'] | ||
delete p['uid'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
} | ||
func DatabasesUpdate(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/databases/' + p['uid'] | ||
delete p['cluster'] | ||
delete p['uid'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
function DatabasesUpdate(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/databases/' + p['uid'] | ||
delete p['cluster'] | ||
delete p['uid'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
} | ||
func DatabasesDescribe(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/databases/' + p['uid'] | ||
delete p['cluster'] | ||
delete p['uid'] | ||
return xhr(path, 'GET', conf, p); | ||
function DatabasesDescribe(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/databases/' + p['uid'] | ||
delete p['cluster'] | ||
delete p['uid'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func DatabasesDelete(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/databases/' + p['uid'] | ||
delete p['cluster'] | ||
delete p['uid'] | ||
return xhr(path, 'DELETE', conf, p); | ||
function DatabasesDelete(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/databases/' + p['uid'] | ||
delete p['cluster'] | ||
delete p['uid'] | ||
return xhr(path, 'DELETE', conf, p); | ||
} | ||
module.exports = { | ||
Databases: { | ||
List: DatabasesList, | ||
Create: DatabasesCreate, | ||
Scale: DatabasesScale, | ||
Update: DatabasesUpdate, | ||
Describe: DatabasesDescribe, | ||
Delete: DatabasesDelete | ||
} | ||
} | ||
Databases: { | ||
List: DatabasesList, | ||
Create: DatabasesCreate, | ||
Scale: DatabasesScale, | ||
Update: DatabasesUpdate, | ||
Describe: DatabasesDescribe, | ||
Delete: DatabasesDelete | ||
} | ||
}; |
@@ -11,37 +11,37 @@ // Code generated by protoc-gen-grpc-js-client | ||
func SnapshotsList(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/databases/' + p['uid'] + '/snapshots' | ||
delete p['cluster'] | ||
delete p['uid'] | ||
return xhr(path, 'GET', conf, p); | ||
function SnapshotsList(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/databases/' + p['uid'] + '/snapshots' | ||
delete p['cluster'] | ||
delete p['uid'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func SnapshotsBackupSchedule(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/databases/' + p['uid'] + '/actions/schedule-backup' | ||
delete p['cluster'] | ||
delete p['uid'] | ||
return xhr(path, 'POST', conf, null, p); | ||
function SnapshotsBackupSchedule(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/databases/' + p['uid'] + '/actions/schedule-backup' | ||
delete p['cluster'] | ||
delete p['uid'] | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
func SnapshotsBackupUnschedule(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/databases/' + p['uid'] + '/actions/unschedule-backup' | ||
delete p['cluster'] | ||
delete p['uid'] | ||
return xhr(path, 'PUT', conf, p); | ||
function SnapshotsBackupUnschedule(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/databases/' + p['uid'] + '/actions/unschedule-backup' | ||
delete p['cluster'] | ||
delete p['uid'] | ||
return xhr(path, 'PUT', conf, p); | ||
} | ||
func SnapshotsRestore(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/databases/' + p['uid'] + '/actions/restore' | ||
delete p['cluster'] | ||
delete p['uid'] | ||
return xhr(path, 'POST', conf, null, p); | ||
function SnapshotsRestore(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/databases/' + p['uid'] + '/actions/restore' | ||
delete p['cluster'] | ||
delete p['uid'] | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
module.exports = { | ||
Snapshots: { | ||
List: SnapshotsList, | ||
BackupSchedule: SnapshotsBackupSchedule, | ||
BackupUnschedule: SnapshotsBackupUnschedule, | ||
Restore: SnapshotsRestore | ||
} | ||
} | ||
Snapshots: { | ||
List: SnapshotsList, | ||
BackupSchedule: SnapshotsBackupSchedule, | ||
BackupUnschedule: SnapshotsBackupUnschedule, | ||
Restore: SnapshotsRestore | ||
} | ||
}; |
@@ -11,38 +11,38 @@ // Code generated by protoc-gen-grpc-js-client | ||
func ClustersList(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['kube_cluster'] + '/glusterfs' | ||
delete p['kube_cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
function ClustersList(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['kube_cluster'] + '/glusterfs' | ||
delete p['kube_cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func ClustersDescribe(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['kube_cluster'] + '/namespaces/' + p['kube_namespace'] + '/glusterfs/' + p['name'] | ||
delete p['kube_cluster'] | ||
delete p['kube_namespace'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
function ClustersDescribe(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['kube_cluster'] + '/namespaces/' + p['kube_namespace'] + '/glusterfs/' + p['name'] | ||
delete p['kube_cluster'] | ||
delete p['kube_namespace'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func ClustersCreate(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['kube_cluster'] + '/namespaces/' + p['kube_namespace'] + '/glusterfs' | ||
delete p['kube_cluster'] | ||
delete p['kube_namespace'] | ||
return xhr(path, 'POST', conf, null, p); | ||
function ClustersCreate(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['kube_cluster'] + '/namespaces/' + p['kube_namespace'] + '/glusterfs' | ||
delete p['kube_cluster'] | ||
delete p['kube_namespace'] | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
func ClustersDelete(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['kube_cluster'] + '/namespaces/' + p['kube_namespace'] + '/glusterfs/' + p['name'] | ||
delete p['kube_cluster'] | ||
delete p['kube_namespace'] | ||
delete p['name'] | ||
return xhr(path, 'DELETE', conf, p); | ||
function ClustersDelete(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['kube_cluster'] + '/namespaces/' + p['kube_namespace'] + '/glusterfs/' + p['name'] | ||
delete p['kube_cluster'] | ||
delete p['kube_namespace'] | ||
delete p['name'] | ||
return xhr(path, 'DELETE', conf, p); | ||
} | ||
module.exports = { | ||
Clusters: { | ||
List: ClustersList, | ||
Describe: ClustersDescribe, | ||
Create: ClustersCreate, | ||
Delete: ClustersDelete | ||
} | ||
} | ||
Clusters: { | ||
List: ClustersList, | ||
Describe: ClustersDescribe, | ||
Create: ClustersCreate, | ||
Delete: ClustersDelete | ||
} | ||
}; |
@@ -11,14 +11,14 @@ // Code generated by protoc-gen-grpc-js-client | ||
func VolumesList(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['kube_cluster'] + '/namespaces/' + p['kube_namespace'] + '/glusterfs/' + p['glusterfs_cluster'] + '/volumes' | ||
delete p['kube_cluster'] | ||
delete p['kube_namespace'] | ||
delete p['glusterfs_cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
function VolumesList(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['kube_cluster'] + '/namespaces/' + p['kube_namespace'] + '/glusterfs/' + p['glusterfs_cluster'] + '/volumes' | ||
delete p['kube_cluster'] | ||
delete p['kube_namespace'] | ||
delete p['glusterfs_cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
module.exports = { | ||
Volumes: { | ||
List: VolumesList | ||
} | ||
} | ||
Volumes: { | ||
List: VolumesList | ||
} | ||
}; |
@@ -11,11 +11,11 @@ // Code generated by protoc-gen-grpc-js-client | ||
func HealthStatus(p, conf) { | ||
path = '/health' | ||
return xhr(path, 'GET', conf, p); | ||
function HealthStatus(p, conf) { | ||
path = '/health' | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
module.exports = { | ||
Health: { | ||
Status: HealthStatus | ||
} | ||
} | ||
Health: { | ||
Status: HealthStatus | ||
} | ||
}; |
@@ -11,110 +11,110 @@ // Code generated by protoc-gen-grpc-js-client | ||
func ClientsCopy(p, conf) { | ||
path = '/kubernetes/v1beta1/actions/copy' | ||
return xhr(path, 'PUT', conf, null, p); | ||
function ClientsCopy(p, conf) { | ||
path = '/kubernetes/v1beta1/actions/copy' | ||
return xhr(path, 'PUT', conf, null, p); | ||
} | ||
func ClientsNodes(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/nodes' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
function ClientsNodes(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/nodes' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func ClientsApps(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/apps' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
function ClientsApps(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/apps' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func ClientsApp(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/apps/' + p['namespace'] + '/' + p['name'] | ||
delete p['cluster'] | ||
delete p['namespace'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
function ClientsApp(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/apps/' + p['namespace'] + '/' + p['name'] | ||
delete p['cluster'] | ||
delete p['namespace'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func ClientsAppPods(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/apps/' + p['namespace'] + '/' + p['name'] + '/pods' | ||
delete p['cluster'] | ||
delete p['namespace'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
function ClientsAppPods(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/apps/' + p['namespace'] + '/' + p['name'] + '/pods' | ||
delete p['cluster'] | ||
delete p['namespace'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func ClientsNamespaces(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/namespaces' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
function ClientsNamespaces(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/namespaces' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func ClientsSecrets(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/secrets' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
function ClientsSecrets(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/secrets' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func ClientsSecret(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/secrets/' + p['namespace'] + '/' + p['name'] | ||
delete p['cluster'] | ||
delete p['namespace'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
function ClientsSecret(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/secrets/' + p['namespace'] + '/' + p['name'] | ||
delete p['cluster'] | ||
delete p['namespace'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func ClientsJobs(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/jobs' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
function ClientsJobs(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/jobs' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func ClientsPods(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/pods' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
function ClientsPods(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/pods' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func ClientsServices(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/services' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
function ClientsServices(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/services' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func ClientsReplicationControllers(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/rcs' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
function ClientsReplicationControllers(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/rcs' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func ClientsConfigMaps(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/configmaps' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
function ClientsConfigMaps(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/configmaps' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func ClientsConfigMap(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/configmaps/' + p['namespace'] + '/' + p['name'] | ||
delete p['cluster'] | ||
delete p['namespace'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
function ClientsConfigMap(p, conf) { | ||
path = '/kubernetes/v1beta1/client/' + p['cluster'] + '/configmaps/' + p['namespace'] + '/' + p['name'] | ||
delete p['cluster'] | ||
delete p['namespace'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
module.exports = { | ||
Clients: { | ||
Copy: ClientsCopy, | ||
Nodes: ClientsNodes, | ||
Apps: ClientsApps, | ||
App: ClientsApp, | ||
AppPods: ClientsAppPods, | ||
Namespaces: ClientsNamespaces, | ||
Secrets: ClientsSecrets, | ||
Secret: ClientsSecret, | ||
Jobs: ClientsJobs, | ||
Pods: ClientsPods, | ||
Services: ClientsServices, | ||
ReplicationControllers: ClientsReplicationControllers, | ||
ConfigMaps: ClientsConfigMaps, | ||
ConfigMap: ClientsConfigMap | ||
} | ||
} | ||
Clients: { | ||
Copy: ClientsCopy, | ||
Nodes: ClientsNodes, | ||
Apps: ClientsApps, | ||
App: ClientsApp, | ||
AppPods: ClientsAppPods, | ||
Namespaces: ClientsNamespaces, | ||
Secrets: ClientsSecrets, | ||
Secret: ClientsSecret, | ||
Jobs: ClientsJobs, | ||
Pods: ClientsPods, | ||
Services: ClientsServices, | ||
ReplicationControllers: ClientsReplicationControllers, | ||
ConfigMaps: ClientsConfigMaps, | ||
ConfigMap: ClientsConfigMap | ||
} | ||
}; |
@@ -11,82 +11,82 @@ // Code generated by protoc-gen-grpc-js-client | ||
func ClustersList(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters' | ||
return xhr(path, 'GET', conf, p); | ||
function ClustersList(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters' | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func ClustersDescribe(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['uid'] | ||
delete p['uid'] | ||
return xhr(path, 'GET', conf, p); | ||
function ClustersDescribe(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['uid'] | ||
delete p['uid'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func ClustersCreate(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters' | ||
return xhr(path, 'POST', conf, null, p); | ||
function ClustersCreate(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters' | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
func ClustersUpdate(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['name'] | ||
delete p['name'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
function ClustersUpdate(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['name'] | ||
delete p['name'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
} | ||
func ClustersScale(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['name'] + '/actions/scale' | ||
delete p['name'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
function ClustersScale(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['name'] + '/actions/scale' | ||
delete p['name'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
} | ||
func ClustersUpgrade(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['name'] + '/actions/upgrade' | ||
delete p['name'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
function ClustersUpgrade(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['name'] + '/actions/upgrade' | ||
delete p['name'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
} | ||
func ClustersDelete(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['name'] | ||
delete p['name'] | ||
return xhr(path, 'DELETE', conf, p); | ||
function ClustersDelete(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['name'] | ||
delete p['name'] | ||
return xhr(path, 'DELETE', conf, p); | ||
} | ||
func ClustersClientConfig(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['name'] + '/client-config' | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
function ClustersClientConfig(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['name'] + '/client-config' | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func ClustersInstances(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster_name'] + '/instances' | ||
delete p['cluster_name'] | ||
return xhr(path, 'GET', conf, p); | ||
function ClustersInstances(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster_name'] + '/instances' | ||
delete p['cluster_name'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func ClustersStartupScript(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['uid'] + '/startup-script/' + p['role'] | ||
delete p['uid'] | ||
delete p['role'] | ||
return xhr(path, 'GET', conf, p); | ||
function ClustersStartupScript(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['uid'] + '/startup-script/' + p['role'] | ||
delete p['uid'] | ||
delete p['role'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func ClustersInstanceByIP(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['phid'] + '/instance-by-ip/' + p['external_ip'] | ||
delete p['phid'] | ||
delete p['external_ip'] | ||
return xhr(path, 'GET', conf, p); | ||
function ClustersInstanceByIP(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['phid'] + '/instance-by-ip/' + p['external_ip'] | ||
delete p['phid'] | ||
delete p['external_ip'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
module.exports = { | ||
Clusters: { | ||
List: ClustersList, | ||
Describe: ClustersDescribe, | ||
Create: ClustersCreate, | ||
Update: ClustersUpdate, | ||
Scale: ClustersScale, | ||
Upgrade: ClustersUpgrade, | ||
Delete: ClustersDelete, | ||
ClientConfig: ClustersClientConfig, | ||
Instances: ClustersInstances, | ||
StartupScript: ClustersStartupScript, | ||
InstanceByIP: ClustersInstanceByIP | ||
} | ||
} | ||
Clusters: { | ||
List: ClustersList, | ||
Describe: ClustersDescribe, | ||
Create: ClustersCreate, | ||
Update: ClustersUpdate, | ||
Scale: ClustersScale, | ||
Upgrade: ClustersUpgrade, | ||
Delete: ClustersDelete, | ||
ClientConfig: ClustersClientConfig, | ||
Instances: ClustersInstances, | ||
StartupScript: ClustersStartupScript, | ||
InstanceByIP: ClustersInstanceByIP | ||
} | ||
}; |
@@ -11,19 +11,19 @@ // Code generated by protoc-gen-grpc-js-client | ||
func EventsConstructive(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster_name'] + '/actions/construct-event' | ||
delete p['cluster_name'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
function EventsConstructive(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster_name'] + '/actions/construct-event' | ||
delete p['cluster_name'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
} | ||
func EventsDestructive(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster_name'] + '/actions/destruct-event' | ||
delete p['cluster_name'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
function EventsDestructive(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster_name'] + '/actions/destruct-event' | ||
delete p['cluster_name'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
} | ||
module.exports = { | ||
Events: { | ||
Constructive: EventsConstructive, | ||
Destructive: EventsDestructive | ||
} | ||
} | ||
Events: { | ||
Constructive: EventsConstructive, | ||
Destructive: EventsDestructive | ||
} | ||
}; |
@@ -11,64 +11,64 @@ // Code generated by protoc-gen-grpc-js-client | ||
func ClientsList(p, conf) { | ||
path = '/kubernetes/v1beta2/clusters/' + p['cluster'] + '/' + p['type'] | ||
delete p['cluster'] | ||
delete p['type'] | ||
return xhr(path, 'GET', conf, p); | ||
function ClientsList(p, conf) { | ||
path = '/kubernetes/v1beta2/clusters/' + p['cluster'] + '/' + p['type'] | ||
delete p['cluster'] | ||
delete p['type'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func ClientsDescribe(p, conf) { | ||
path = '/kubernetes/v1beta2/clusters/' + p['cluster'] + '/' + p['type'] + '/' + p['name'] | ||
delete p['cluster'] | ||
delete p['type'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
function ClientsDescribe(p, conf) { | ||
path = '/kubernetes/v1beta2/clusters/' + p['cluster'] + '/' + p['type'] + '/' + p['name'] | ||
delete p['cluster'] | ||
delete p['type'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func ClientsDelete(p, conf) { | ||
path = '/kubernetes/v1beta2/clusters/' + p['cluster'] + '/' + p['type'] + '/' + p['name'] | ||
delete p['cluster'] | ||
delete p['type'] | ||
delete p['name'] | ||
return xhr(path, 'DELETE', conf, p); | ||
function ClientsDelete(p, conf) { | ||
path = '/kubernetes/v1beta2/clusters/' + p['cluster'] + '/' + p['type'] + '/' + p['name'] | ||
delete p['cluster'] | ||
delete p['type'] | ||
delete p['name'] | ||
return xhr(path, 'DELETE', conf, p); | ||
} | ||
func ClientsUpdate(p, conf) { | ||
path = '/kubernetes/v1beta2/clusters/' + p['cluster'] + '/' + p['type'] + '/' + p['name'] | ||
delete p['cluster'] | ||
delete p['type'] | ||
delete p['name'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
function ClientsUpdate(p, conf) { | ||
path = '/kubernetes/v1beta2/clusters/' + p['cluster'] + '/' + p['type'] + '/' + p['name'] | ||
delete p['cluster'] | ||
delete p['type'] | ||
delete p['name'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
} | ||
func ClientsCopy(p, conf) { | ||
path = '/kubernetes/v1beta2/actions/copy' | ||
return xhr(path, 'PUT', conf, null, p); | ||
function ClientsCopy(p, conf) { | ||
path = '/kubernetes/v1beta2/actions/copy' | ||
return xhr(path, 'PUT', conf, null, p); | ||
} | ||
func ClientsEditConfigMap(p, conf) { | ||
path = '/kubernetes/v1beta2/clusters/' + p['cluster'] + '/namespaces/' + p['namespace'] + '/configmaps/' + p['name'] + '/actions/edit' | ||
delete p['cluster'] | ||
delete p['namespace'] | ||
delete p['name'] | ||
return xhr(path, 'POST', conf, null, p); | ||
function ClientsEditConfigMap(p, conf) { | ||
path = '/kubernetes/v1beta2/clusters/' + p['cluster'] + '/namespaces/' + p['namespace'] + '/configmaps/' + p['name'] + '/actions/edit' | ||
delete p['cluster'] | ||
delete p['namespace'] | ||
delete p['name'] | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
func ClientsEditSecret(p, conf) { | ||
path = '/kubernetes/v1beta2/clusters/' + p['cluster'] + '/namespaces/' + p['namespace'] + '/secrets/' + p['name'] + '/actions/edit' | ||
delete p['cluster'] | ||
delete p['namespace'] | ||
delete p['name'] | ||
return xhr(path, 'POST', conf, null, p); | ||
function ClientsEditSecret(p, conf) { | ||
path = '/kubernetes/v1beta2/clusters/' + p['cluster'] + '/namespaces/' + p['namespace'] + '/secrets/' + p['name'] + '/actions/edit' | ||
delete p['cluster'] | ||
delete p['namespace'] | ||
delete p['name'] | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
module.exports = { | ||
Clients: { | ||
List: ClientsList, | ||
Describe: ClientsDescribe, | ||
Delete: ClientsDelete, | ||
Update: ClientsUpdate, | ||
Copy: ClientsCopy, | ||
EditConfigMap: ClientsEditConfigMap, | ||
EditSecret: ClientsEditSecret | ||
} | ||
} | ||
Clients: { | ||
List: ClientsList, | ||
Describe: ClientsDescribe, | ||
Delete: ClientsDelete, | ||
Update: ClientsUpdate, | ||
Copy: ClientsCopy, | ||
EditConfigMap: ClientsEditConfigMap, | ||
EditSecret: ClientsEditSecret | ||
} | ||
}; |
@@ -11,43 +11,43 @@ // Code generated by protoc-gen-grpc-js-client | ||
func LoadBalancersList(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/loadbalancers' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
function LoadBalancersList(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/loadbalancers' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func LoadBalancersDescribe(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/loadbalancers/' + p['name'] | ||
delete p['cluster'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
function LoadBalancersDescribe(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/loadbalancers/' + p['name'] | ||
delete p['cluster'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func LoadBalancersCreate(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/loadbalancers' | ||
delete p['cluster'] | ||
return xhr(path, 'POST', conf, null, p); | ||
function LoadBalancersCreate(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/loadbalancers' | ||
delete p['cluster'] | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
func LoadBalancersUpdate(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/loadbalancers/' + p['name'] | ||
delete p['cluster'] | ||
delete p['name'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
function LoadBalancersUpdate(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/loadbalancers/' + p['name'] | ||
delete p['cluster'] | ||
delete p['name'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
} | ||
func LoadBalancersDelete(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/loadbalancers/' + p['name'] | ||
delete p['cluster'] | ||
delete p['name'] | ||
return xhr(path, 'DELETE', conf, p); | ||
function LoadBalancersDelete(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/loadbalancers/' + p['name'] | ||
delete p['cluster'] | ||
delete p['name'] | ||
return xhr(path, 'DELETE', conf, p); | ||
} | ||
module.exports = { | ||
LoadBalancers: { | ||
List: LoadBalancersList, | ||
Describe: LoadBalancersDescribe, | ||
Create: LoadBalancersCreate, | ||
Update: LoadBalancersUpdate, | ||
Delete: LoadBalancersDelete | ||
} | ||
} | ||
LoadBalancers: { | ||
List: LoadBalancersList, | ||
Describe: LoadBalancersDescribe, | ||
Create: LoadBalancersCreate, | ||
Update: LoadBalancersUpdate, | ||
Delete: LoadBalancersDelete | ||
} | ||
}; |
@@ -11,17 +11,17 @@ // Code generated by protoc-gen-grpc-js-client | ||
func MailingListSendEmail(p, conf) { | ||
path = '/mail/v1beta1' | ||
return xhr(path, 'POST', conf, null, p); | ||
function MailingListSendEmail(p, conf) { | ||
path = '/mail/v1beta1' | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
func MailingListSubscribe(p, conf) { | ||
path = '/mailinglist/v1beta1/subscribe' | ||
return xhr(path, 'PUT', conf, null, p); | ||
function MailingListSubscribe(p, conf) { | ||
path = '/mailinglist/v1beta1/subscribe' | ||
return xhr(path, 'PUT', conf, null, p); | ||
} | ||
module.exports = { | ||
MailingList: { | ||
SendEmail: MailingListSendEmail, | ||
Subscribe: MailingListSubscribe | ||
} | ||
} | ||
MailingList: { | ||
SendEmail: MailingListSendEmail, | ||
Subscribe: MailingListSubscribe | ||
} | ||
}; |
@@ -11,31 +11,31 @@ // Code generated by protoc-gen-grpc-js-client | ||
func TeamsCreate(p, conf) { | ||
path = '/namespace/v1beta1/teams' | ||
return xhr(path, 'POST', conf, null, p); | ||
function TeamsCreate(p, conf) { | ||
path = '/namespace/v1beta1/teams' | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
func TeamsGet(p, conf) { | ||
path = '/namespace/v1beta1/teams/' + p['name'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
function TeamsGet(p, conf) { | ||
path = '/namespace/v1beta1/teams/' + p['name'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func TeamsIsAvailable(p, conf) { | ||
path = '/namespace/v1beta1/teams/' + p['name'] + '/is-available' | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
function TeamsIsAvailable(p, conf) { | ||
path = '/namespace/v1beta1/teams/' + p['name'] + '/is-available' | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func TeamsSubscription(p, conf) { | ||
path = '/namespace/v1beta1/billing/subscription' | ||
return xhr(path, 'GET', conf, p); | ||
function TeamsSubscription(p, conf) { | ||
path = '/namespace/v1beta1/billing/subscription' | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
module.exports = { | ||
Teams: { | ||
Create: TeamsCreate, | ||
Get: TeamsGet, | ||
IsAvailable: TeamsIsAvailable, | ||
Subscription: TeamsSubscription | ||
} | ||
} | ||
Teams: { | ||
Create: TeamsCreate, | ||
Get: TeamsGet, | ||
IsAvailable: TeamsIsAvailable, | ||
Subscription: TeamsSubscription | ||
} | ||
}; |
@@ -11,12 +11,20 @@ // Code generated by protoc-gen-grpc-js-client | ||
func OperationsDescribe(p, conf) { | ||
path = '/operation/v1beta1/operations/' + p['phid'] | ||
delete p['phid'] | ||
return xhr(path, 'GET', conf, p); | ||
function OperationsDescribe(p, conf) { | ||
path = '/operation/v1beta1/operations/' + p['phid'] | ||
delete p['phid'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
function OperationsDescribeLog(p, conf) { | ||
path = '/operation/v1beta1/operations/' + p['phid'] + '/logs/' + p['log_id'] | ||
delete p['phid'] | ||
delete p['log_id'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
module.exports = { | ||
Operations: { | ||
Describe: OperationsDescribe | ||
} | ||
} | ||
Operations: { | ||
Describe: OperationsDescribe, | ||
DescribeLog: OperationsDescribeLog | ||
} | ||
}; |
@@ -11,35 +11,35 @@ // Code generated by protoc-gen-grpc-js-client | ||
func DisksList(p, conf) { | ||
path = '/cloud/v1beta1/clusters/' + p['cluster'] + '/disks' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
function DisksList(p, conf) { | ||
path = '/cloud/v1beta1/clusters/' + p['cluster'] + '/disks' | ||
delete p['cluster'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func DisksDescribe(p, conf) { | ||
path = '/cloud/v1beta1/clusters/' + p['cluster'] + '/disks/' + p['name'] | ||
delete p['cluster'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
function DisksDescribe(p, conf) { | ||
path = '/cloud/v1beta1/clusters/' + p['cluster'] + '/disks/' + p['name'] | ||
delete p['cluster'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func DisksCreate(p, conf) { | ||
path = '/cloud/v1beta1/clusters/' + p['cluster'] + '/disks' | ||
delete p['cluster'] | ||
return xhr(path, 'POST', conf, null, p); | ||
function DisksCreate(p, conf) { | ||
path = '/cloud/v1beta1/clusters/' + p['cluster'] + '/disks' | ||
delete p['cluster'] | ||
return xhr(path, 'POST', conf, null, p); | ||
} | ||
func DisksDelete(p, conf) { | ||
path = '/cloud/v1beta1/clusters/' + p['cluster'] + '/disks/' + p['uid'] | ||
delete p['cluster'] | ||
delete p['uid'] | ||
return xhr(path, 'DELETE', conf, p); | ||
function DisksDelete(p, conf) { | ||
path = '/cloud/v1beta1/clusters/' + p['cluster'] + '/disks/' + p['uid'] | ||
delete p['cluster'] | ||
delete p['uid'] | ||
return xhr(path, 'DELETE', conf, p); | ||
} | ||
module.exports = { | ||
Disks: { | ||
List: DisksList, | ||
Describe: DisksDescribe, | ||
Create: DisksCreate, | ||
Delete: DisksDelete | ||
} | ||
} | ||
Disks: { | ||
List: DisksList, | ||
Describe: DisksDescribe, | ||
Create: DisksCreate, | ||
Delete: DisksDelete | ||
} | ||
}; |
@@ -11,29 +11,29 @@ // Code generated by protoc-gen-grpc-js-client | ||
func PersistentVolumesDescribe(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/persistentvolumes/' + p['name'] | ||
delete p['cluster'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
function PersistentVolumesDescribe(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/persistentvolumes/' + p['name'] | ||
delete p['cluster'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func PersistentVolumesRegister(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/persistentvolumes/' + p['name'] | ||
delete p['cluster'] | ||
delete p['name'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
function PersistentVolumesRegister(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/persistentvolumes/' + p['name'] | ||
delete p['cluster'] | ||
delete p['name'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
} | ||
func PersistentVolumesUnregister(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/persistentvolumes/' + p['name'] | ||
delete p['cluster'] | ||
delete p['name'] | ||
return xhr(path, 'DELETE', conf, p); | ||
function PersistentVolumesUnregister(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/persistentvolumes/' + p['name'] | ||
delete p['cluster'] | ||
delete p['name'] | ||
return xhr(path, 'DELETE', conf, p); | ||
} | ||
module.exports = { | ||
PersistentVolumes: { | ||
Describe: PersistentVolumesDescribe, | ||
Register: PersistentVolumesRegister, | ||
Unregister: PersistentVolumesUnregister | ||
} | ||
} | ||
PersistentVolumes: { | ||
Describe: PersistentVolumesDescribe, | ||
Register: PersistentVolumesRegister, | ||
Unregister: PersistentVolumesUnregister | ||
} | ||
}; |
@@ -11,32 +11,32 @@ // Code generated by protoc-gen-grpc-js-client | ||
func PersistentVolumeClaimsDescribe(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/namespaces/' + p['namespace'] + '/persistentvolumeclaims/' + p['name'] | ||
delete p['cluster'] | ||
delete p['namespace'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
function PersistentVolumeClaimsDescribe(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/namespaces/' + p['namespace'] + '/persistentvolumeclaims/' + p['name'] | ||
delete p['cluster'] | ||
delete p['namespace'] | ||
delete p['name'] | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
func PersistentVolumeClaimsRegister(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/namespaces/' + p['namespace'] + '/persistentvolumeclaims/' + p['name'] | ||
delete p['cluster'] | ||
delete p['namespace'] | ||
delete p['name'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
function PersistentVolumeClaimsRegister(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/namespaces/' + p['namespace'] + '/persistentvolumeclaims/' + p['name'] | ||
delete p['cluster'] | ||
delete p['namespace'] | ||
delete p['name'] | ||
return xhr(path, 'PUT', conf, null, p); | ||
} | ||
func PersistentVolumeClaimsUnregister(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/namespaces/' + p['namespace'] + '/persistentvolumeclaims/' + p['name'] | ||
delete p['cluster'] | ||
delete p['namespace'] | ||
delete p['name'] | ||
return xhr(path, 'DELETE', conf, p); | ||
function PersistentVolumeClaimsUnregister(p, conf) { | ||
path = '/kubernetes/v1beta1/clusters/' + p['cluster'] + '/namespaces/' + p['namespace'] + '/persistentvolumeclaims/' + p['name'] | ||
delete p['cluster'] | ||
delete p['namespace'] | ||
delete p['name'] | ||
return xhr(path, 'DELETE', conf, p); | ||
} | ||
module.exports = { | ||
PersistentVolumeClaims: { | ||
Describe: PersistentVolumeClaimsDescribe, | ||
Register: PersistentVolumeClaimsRegister, | ||
Unregister: PersistentVolumeClaimsUnregister | ||
} | ||
} | ||
PersistentVolumeClaims: { | ||
Describe: PersistentVolumeClaimsDescribe, | ||
Register: PersistentVolumeClaimsRegister, | ||
Unregister: PersistentVolumeClaimsUnregister | ||
} | ||
}; |
@@ -11,11 +11,11 @@ // Code generated by protoc-gen-grpc-js-client | ||
func SSHGet(p, conf) { | ||
path = '/ssh/v1beta1/ssh' | ||
return xhr(path, 'GET', conf, p); | ||
function SSHGet(p, conf) { | ||
path = '/ssh/v1beta1/ssh' | ||
return xhr(path, 'GET', conf, p); | ||
} | ||
module.exports = { | ||
SSH: { | ||
Get: SSHGet | ||
} | ||
} | ||
SSH: { | ||
Get: SSHGet | ||
} | ||
}; |
{ | ||
"name": "appscode-api-js-client", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "AppsCode API JavaScript Client", | ||
"main": "", | ||
"main": "index.js", | ||
"scripts": { | ||
@@ -26,4 +26,6 @@ "test": "echo \"Error: no test specified\" && exit 1" | ||
"dependencies": { | ||
"grpc-xhr": "^1.0.1" | ||
"fs": "0.0.1-security", | ||
"grpc-xhr": "^1.0.1", | ||
"path": "^0.12.7" | ||
} | ||
} |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
50043
45
1263
0
1
3
3
3
+ Addedfs@0.0.1-security
+ Addedpath@^0.12.7
+ Addedfs@0.0.1-security(transitive)
+ Addedinherits@2.0.3(transitive)
+ Addedpath@0.12.7(transitive)
+ Addedprocess@0.11.10(transitive)
+ Addedutil@0.10.4(transitive)