Socket
Socket
Sign inDemoInstall

@daocloud-proto/kant

Package Overview
Dependencies
0
Maintainers
3
Versions
54
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.9.0-alpha7 to 0.9.0-rc

batch/v1alpha1/node_task_imagepull.pb.ts

34

batch/v1alpha1/rpc.pb.ts

@@ -14,3 +14,4 @@ /* eslint-disable */

import * as KantIoApiBatchV1alpha1Edgeapplicationrequest from "./edgeapplicationrequest.pb"
import * as KantIoApiBatchV1alpha1Nodeupgrade from "./nodeupgrade.pb"
import * as KantIoApiBatchV1alpha1Node_task_imagepull from "./node_task_imagepull.pb"
import * as KantIoApiBatchV1alpha1Node_task_upgrade from "./node_task_upgrade.pb"
export class EdgeApp {

@@ -84,17 +85,28 @@ static CreateEdgeApplication(req: KantIoApiBatchV1alpha1Edgeapplicationrequest.CreateEdgeApplicationRequest, initReq?: fm.InitReq): Promise<KantIoApiBatchV1alpha1Edgeapplication.EdgeApplication> {

export class NodeUpgradeJobs {
static Create(req: KantIoApiBatchV1alpha1Nodeupgrade.NodeUpgradeJobCreateRequest, initReq?: fm.InitReq): Promise<KantIoApiBatchV1alpha1Nodeupgrade.NodeUpgradeJob> {
return fm.fetchReq<KantIoApiBatchV1alpha1Nodeupgrade.NodeUpgradeJobCreateRequest, KantIoApiBatchV1alpha1Nodeupgrade.NodeUpgradeJob>(`/apis/batch.kant.io/v1alpha1/edgeunits/${req["edgeunit"]}/nodeupgradejobs`, {...initReq, method: "POST", body: JSON.stringify(req)})
static Create(req: KantIoApiBatchV1alpha1Node_task_upgrade.NodeUpgradeJobCreateRequest, initReq?: fm.InitReq): Promise<KantIoApiBatchV1alpha1Node_task_upgrade.NodeUpgradeJob> {
return fm.fetchReq<KantIoApiBatchV1alpha1Node_task_upgrade.NodeUpgradeJobCreateRequest, KantIoApiBatchV1alpha1Node_task_upgrade.NodeUpgradeJob>(`/apis/batch.kant.io/v1alpha1/edgeunits/${req["edgeunit"]}/nodeupgradejobs`, {...initReq, method: "POST", body: JSON.stringify(req)})
}
static Get(req: KantIoApiBatchV1alpha1Nodeupgrade.NodeUpgradeJobNameRequest, initReq?: fm.InitReq): Promise<KantIoApiBatchV1alpha1Nodeupgrade.NodeUpgradeJob> {
return fm.fetchReq<KantIoApiBatchV1alpha1Nodeupgrade.NodeUpgradeJobNameRequest, KantIoApiBatchV1alpha1Nodeupgrade.NodeUpgradeJob>(`/apis/batch.kant.io/v1alpha1/edgeunits/${req["edgeunit"]}/nodeupgradejobs/${req["name"]}?${fm.renderURLSearchParams(req, ["edgeunit", "name"])}`, {...initReq, method: "GET"})
static Get(req: KantIoApiBatchV1alpha1Node_task_upgrade.NodeUpgradeJobNameRequest, initReq?: fm.InitReq): Promise<KantIoApiBatchV1alpha1Node_task_upgrade.NodeUpgradeJob> {
return fm.fetchReq<KantIoApiBatchV1alpha1Node_task_upgrade.NodeUpgradeJobNameRequest, KantIoApiBatchV1alpha1Node_task_upgrade.NodeUpgradeJob>(`/apis/batch.kant.io/v1alpha1/edgeunits/${req["edgeunit"]}/nodeupgradejobs/${req["name"]}?${fm.renderURLSearchParams(req, ["edgeunit", "name"])}`, {...initReq, method: "GET"})
}
static List(req: KantIoApiBatchV1alpha1Nodeupgrade.NodeUpgradeJobListRequest, initReq?: fm.InitReq): Promise<KantIoApiBatchV1alpha1Nodeupgrade.NodeUpgradeJobListResponse> {
return fm.fetchReq<KantIoApiBatchV1alpha1Nodeupgrade.NodeUpgradeJobListRequest, KantIoApiBatchV1alpha1Nodeupgrade.NodeUpgradeJobListResponse>(`/apis/batch.kant.io/v1alpha1/edgeunits/${req["edgeunit"]}/nodeupgradejobs?${fm.renderURLSearchParams(req, ["edgeunit"])}`, {...initReq, method: "GET"})
static List(req: KantIoApiBatchV1alpha1Node_task_upgrade.NodeUpgradeJobListRequest, initReq?: fm.InitReq): Promise<KantIoApiBatchV1alpha1Node_task_upgrade.NodeUpgradeJobListResponse> {
return fm.fetchReq<KantIoApiBatchV1alpha1Node_task_upgrade.NodeUpgradeJobListRequest, KantIoApiBatchV1alpha1Node_task_upgrade.NodeUpgradeJobListResponse>(`/apis/batch.kant.io/v1alpha1/edgeunits/${req["edgeunit"]}/nodeupgradejobs?${fm.renderURLSearchParams(req, ["edgeunit"])}`, {...initReq, method: "GET"})
}
static Delete(req: KantIoApiBatchV1alpha1Nodeupgrade.NodeUpgradeJobNameRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
return fm.fetchReq<KantIoApiBatchV1alpha1Nodeupgrade.NodeUpgradeJobNameRequest, GoogleProtobufEmpty.Empty>(`/apis/batch.kant.io/v1alpha1/edgeunits/${req["edgeunit"]}/nodeupgradejobs/${req["name"]}`, {...initReq, method: "DELETE"})
static Delete(req: KantIoApiBatchV1alpha1Node_task_upgrade.NodeUpgradeJobNameRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
return fm.fetchReq<KantIoApiBatchV1alpha1Node_task_upgrade.NodeUpgradeJobNameRequest, GoogleProtobufEmpty.Empty>(`/apis/batch.kant.io/v1alpha1/edgeunits/${req["edgeunit"]}/nodeupgradejobs/${req["name"]}`, {...initReq, method: "DELETE"})
}
static ListUpgradeNodeInfo(req: KantIoApiBatchV1alpha1Nodeupgrade.UpgradeNodeInfoListRequest, initReq?: fm.InitReq): Promise<KantIoApiBatchV1alpha1Nodeupgrade.UpgradeNodeInfoListResponse> {
return fm.fetchReq<KantIoApiBatchV1alpha1Nodeupgrade.UpgradeNodeInfoListRequest, KantIoApiBatchV1alpha1Nodeupgrade.UpgradeNodeInfoListResponse>(`/apis/batch.kant.io/v1alpha1/edgeunits/${req["edgeunit"]}/nodeupgradejobs/${req["name"]}/nodes?${fm.renderURLSearchParams(req, ["edgeunit", "name"])}`, {...initReq, method: "GET"})
}
export class ImagePrePullJobs {
static Create(req: KantIoApiBatchV1alpha1Node_task_imagepull.ImagePrePullJobCreateRequest, initReq?: fm.InitReq): Promise<KantIoApiBatchV1alpha1Node_task_imagepull.ImagePrePullJob> {
return fm.fetchReq<KantIoApiBatchV1alpha1Node_task_imagepull.ImagePrePullJobCreateRequest, KantIoApiBatchV1alpha1Node_task_imagepull.ImagePrePullJob>(`/apis/batch.kant.io/v1alpha1/edgeunits/${req["edgeunit"]}/imageprepulljobs`, {...initReq, method: "POST", body: JSON.stringify(req)})
}
static Get(req: KantIoApiBatchV1alpha1Node_task_imagepull.ImagePrePullJobNameRequest, initReq?: fm.InitReq): Promise<KantIoApiBatchV1alpha1Node_task_imagepull.ImagePrePullJob> {
return fm.fetchReq<KantIoApiBatchV1alpha1Node_task_imagepull.ImagePrePullJobNameRequest, KantIoApiBatchV1alpha1Node_task_imagepull.ImagePrePullJob>(`/apis/batch.kant.io/v1alpha1/edgeunits/${req["edgeunit"]}/imageprepulljobs/${req["name"]}?${fm.renderURLSearchParams(req, ["edgeunit", "name"])}`, {...initReq, method: "GET"})
}
static List(req: KantIoApiBatchV1alpha1Node_task_imagepull.ImagePrePullJobListRequest, initReq?: fm.InitReq): Promise<KantIoApiBatchV1alpha1Node_task_imagepull.ImagePrePullJobListResponse> {
return fm.fetchReq<KantIoApiBatchV1alpha1Node_task_imagepull.ImagePrePullJobListRequest, KantIoApiBatchV1alpha1Node_task_imagepull.ImagePrePullJobListResponse>(`/apis/batch.kant.io/v1alpha1/edgeunits/${req["edgeunit"]}/imageprepulljobs?${fm.renderURLSearchParams(req, ["edgeunit"])}`, {...initReq, method: "GET"})
}
static Delete(req: KantIoApiBatchV1alpha1Node_task_imagepull.ImagePrePullJobNameRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
return fm.fetchReq<KantIoApiBatchV1alpha1Node_task_imagepull.ImagePrePullJobNameRequest, GoogleProtobufEmpty.Empty>(`/apis/batch.kant.io/v1alpha1/edgeunits/${req["edgeunit"]}/imageprepulljobs/${req["name"]}`, {...initReq, method: "DELETE"})
}
}

@@ -8,5 +8,5 @@ /* eslint-disable */

export enum LabelSelectorOperator {
in = "in",
notIn = "notIn",
exists = "exists",
In = "In",
NotIn = "NotIn",
Exists = "Exists",
DoesNotExist = "DoesNotExist",

@@ -13,0 +13,0 @@ }

{
"name":"@daocloud-proto/kant",
"version":"0.9.0-alpha7",
"version":"0.9.0-rc",
"description": "",

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc