Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@daocloud-proto/kant

Package Overview
Dependencies
Maintainers
3
Versions
73
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.1.0-alpha5 to 0.1.0-alpha6

11

core/v1alpha1/apprequest.pb.ts

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

import * as KantIoApiCoreV1alpha1Secret from "./secret.pb"
export type WorkloadJSON = {
deployment?: KantIoApiCoreV1alpha1Deployment.Deployment
}
export type GetWorkloadRequest = {
name?: string
cluster?: string
namespace?: string
stable?: boolean
}
export type CreateDeploymentRequest = {

@@ -13,0 +24,0 @@ cluster?: string

2

core/v1alpha1/deployment.pb.ts

@@ -9,2 +9,4 @@ /* eslint-disable */

export type Deployment = {
kind?: string
apiVersion?: string
metadata?: ObjectMeta

@@ -11,0 +13,0 @@ spec?: DeploymentSpec

13

core/v1alpha1/rpc.pb.ts

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

import * as KantIoApiCoreV1alpha1Apprequest from "./apprequest.pb"
import * as KantIoApiCoreV1alpha1Deployment from "./deployment.pb"
import * as KantIoApiCoreV1alpha1Device from "./device.pb"

@@ -41,7 +42,7 @@ import * as KantIoApiCoreV1alpha1Edgeunit from "./edgeunit.pb"

export class DeploymentApp {
static CreateDeploymentByJSON(req: KantIoApiCoreV1alpha1Apprequest.CreateDeploymentRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Request.WorkloadJSON> {
return fm.fetchReq<KantIoApiCoreV1alpha1Apprequest.CreateDeploymentRequest, KpandaIoApiAppsV1alpha1Request.WorkloadJSON>(`/apis/core.kant.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/deployments`, {...initReq, method: "POST", body: JSON.stringify(req)})
static CreateDeploymentByJSON(req: KantIoApiCoreV1alpha1Apprequest.CreateDeploymentRequest, initReq?: fm.InitReq): Promise<KantIoApiCoreV1alpha1Apprequest.WorkloadJSON> {
return fm.fetchReq<KantIoApiCoreV1alpha1Apprequest.CreateDeploymentRequest, KantIoApiCoreV1alpha1Apprequest.WorkloadJSON>(`/apis/core.kant.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/deployments`, {...initReq, method: "POST", body: JSON.stringify(req)})
}
static UpdateDeploymentByJSON(req: KantIoApiCoreV1alpha1Apprequest.UpdateDeploymentRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Request.WorkloadJSON> {
return fm.fetchReq<KantIoApiCoreV1alpha1Apprequest.UpdateDeploymentRequest, KpandaIoApiAppsV1alpha1Request.WorkloadJSON>(`/apis/core.kant.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/deployments/${req["name"]}`, {...initReq, method: "PUT", body: JSON.stringify(req)})
static UpdateDeploymentByJSON(req: KantIoApiCoreV1alpha1Apprequest.UpdateDeploymentRequest, initReq?: fm.InitReq): Promise<KantIoApiCoreV1alpha1Apprequest.WorkloadJSON> {
return fm.fetchReq<KantIoApiCoreV1alpha1Apprequest.UpdateDeploymentRequest, KantIoApiCoreV1alpha1Apprequest.WorkloadJSON>(`/apis/core.kant.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/deployments/${req["name"]}`, {...initReq, method: "PUT", body: JSON.stringify(req)})
}

@@ -54,4 +55,4 @@ static ListDeployments(req: KpandaIoApiAppsV1alpha1Deployment.ListDeploymentsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Deployment.ListDeploymentsResponse> {

}
static GetDeployment(req: KpandaIoApiAppsV1alpha1Request.GetWorkloadRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Deployment.Deployment> {
return fm.fetchReq<KpandaIoApiAppsV1alpha1Request.GetWorkloadRequest, KpandaIoApiAppsV1alpha1Deployment.Deployment>(`/apis/core.kant.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/deployments/${req["name"]}?${fm.renderURLSearchParams(req, ["cluster", "namespace", "name"])}`, {...initReq, method: "GET"})
static GetDeployment(req: KantIoApiCoreV1alpha1Apprequest.GetWorkloadRequest, initReq?: fm.InitReq): Promise<KantIoApiCoreV1alpha1Deployment.Deployment> {
return fm.fetchReq<KantIoApiCoreV1alpha1Apprequest.GetWorkloadRequest, KantIoApiCoreV1alpha1Deployment.Deployment>(`/apis/core.kant.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/deployments/${req["name"]}?${fm.renderURLSearchParams(req, ["cluster", "namespace", "name"])}`, {...initReq, method: "GET"})
}

@@ -58,0 +59,0 @@ static PatchDeployment(req: KpandaIoApiAppsV1alpha1Deployment.PatchDeploymentRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAppsV1alpha1Deployment.PatchDeploymentResponse> {

{
"name":"@daocloud-proto/kant",
"version":"0.1.0-alpha5",
"version":"0.1.0-alpha6",
"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