Socket
Socket
Sign inDemoInstall

@daocloud-proto/kant

Package Overview
Dependencies
Maintainers
0
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@daocloud-proto/kant - npm Package Compare versions

Comparing version 0.15.0-alpha1 to 0.15.0-rc

core/v1alpha2/cloudshell/cloudshell.pb.ts

13

core/v1alpha2/rpc.pb.ts

@@ -13,2 +13,3 @@ /* eslint-disable */

import * as KpandaIoApiAppsV1alpha1Replicaset from "../../kpanda.io/api/apps/v1alpha1/replicaset.pb"
import * as KpandaIoApiCloudshellV1alpha1Cloudshell from "../../kpanda.io/api/cloudshell/v1alpha1/cloudshell.pb"
import * as KpandaIoApiClustersettingV1alpha1Clustersetting from "../../kpanda.io/api/clustersetting/v1alpha1/clustersetting.pb"

@@ -21,2 +22,3 @@ import * as KpandaIoApiCoreV1alpha1Event from "../../kpanda.io/api/core/v1alpha1/event.pb"

import * as KantIoApiCoreV1alpha1Workspaces from "../v1alpha1/workspaces.pb"
import * as KantIoApiCoreV1alpha2CloudshellCloudshell from "./cloudshell/cloudshell.pb"
import * as KantIoApiCoreV1alpha2DeploymentApprequest from "./deployment/apprequest.pb"

@@ -229,2 +231,13 @@ import * as KantIoApiCoreV1alpha2DeploymentDeployment from "./deployment/deployment.pb"

}
}
export class CloudShell {
static CreateCloudShell(req: KantIoApiCoreV1alpha2CloudshellCloudshell.CreateCloudShellRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCloudshellV1alpha1Cloudshell.CloudShell> {
return fm.fetchReq<KantIoApiCoreV1alpha2CloudshellCloudshell.CreateCloudShellRequest, KpandaIoApiCloudshellV1alpha1Cloudshell.CloudShell>(`/apis/core.kant.io/v1alpha2/workspaces/${req["workspaceId"]}/cloudshells`, {...initReq, method: "POST", body: JSON.stringify(req)})
}
static GetCloudShell(req: KantIoApiCoreV1alpha2CloudshellCloudshell.GetCloudShellRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCloudshellV1alpha1Cloudshell.CloudShell> {
return fm.fetchReq<KantIoApiCoreV1alpha2CloudshellCloudshell.GetCloudShellRequest, KpandaIoApiCloudshellV1alpha1Cloudshell.CloudShell>(`/apis/core.kant.io/v1alpha2/workspaces/${req["workspaceId"]}/cloudshells/${req["name"]}?${fm.renderURLSearchParams(req, ["workspaceId", "name"])}`, {...initReq, method: "GET"})
}
static DeleteCloudShell(req: KantIoApiCoreV1alpha2CloudshellCloudshell.DeleteCloudShellRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
return fm.fetchReq<KantIoApiCoreV1alpha2CloudshellCloudshell.DeleteCloudShellRequest, GoogleProtobufEmpty.Empty>(`/apis/core.kant.io/v1alpha2/workspaces/${req["workspaceId"]}/cloudshells/${req["name"]}`, {...initReq, method: "DELETE", body: JSON.stringify(req)})
}
}

2

package.json
{
"name":"@daocloud-proto/kant",
"version":"0.15.0-alpha1",
"version":"0.15.0-rc",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc