@daocloud-proto/kant
Advanced tools
Comparing version 0.6.0-rc to 0.7.0-alpha1
@@ -7,2 +7,3 @@ /* eslint-disable */ | ||
import * as KantIoApiCommonV1alpha1Batchresource from "../../common/v1alpha1/batchresource.pb" | ||
import * as fm from "../../fetch.pb" | ||
@@ -224,2 +225,5 @@ import * as GoogleProtobufEmpty from "../../google/api/empty.pb" | ||
} | ||
static BatchDeleteMsgRuleEndpoints(req: KantIoApiCommonV1alpha1Batchresource.BatchResourceRequest, initReq?: fm.InitReq): Promise<KantIoApiCommonV1alpha1Batchresource.BatchResourceResponse> { | ||
return fm.fetchReq<KantIoApiCommonV1alpha1Batchresource.BatchResourceRequest, KantIoApiCommonV1alpha1Batchresource.BatchResourceResponse>(`/apis/core.kant.io/v1alpha1/clusters/${req["cluster"]}/namespaces/ruleendpoints`, {...initReq, method: "DELETE", body: JSON.stringify(req)}) | ||
} | ||
} | ||
@@ -242,2 +246,5 @@ export class Rules { | ||
} | ||
static BatchDeleteMsgRules(req: KantIoApiCommonV1alpha1Batchresource.BatchResourceRequest, initReq?: fm.InitReq): Promise<KantIoApiCommonV1alpha1Batchresource.BatchResourceResponse> { | ||
return fm.fetchReq<KantIoApiCommonV1alpha1Batchresource.BatchResourceRequest, KantIoApiCommonV1alpha1Batchresource.BatchResourceResponse>(`/apis/core.kant.io/v1alpha1/clusters/${req["cluster"]}/namespaces/rules`, {...initReq, method: "DELETE", body: JSON.stringify(req)}) | ||
} | ||
} | ||
@@ -266,2 +273,5 @@ export class Devices { | ||
} | ||
static BatchDeleteDevices(req: KantIoApiCommonV1alpha1Batchresource.BatchResourceRequest, initReq?: fm.InitReq): Promise<KantIoApiCommonV1alpha1Batchresource.BatchResourceResponse> { | ||
return fm.fetchReq<KantIoApiCommonV1alpha1Batchresource.BatchResourceRequest, KantIoApiCommonV1alpha1Batchresource.BatchResourceResponse>(`/apis/core.kant.io/v1alpha1/clusters/${req["cluster"]}/namespaces/devices`, {...initReq, method: "DELETE", body: JSON.stringify(req)}) | ||
} | ||
} | ||
@@ -268,0 +278,0 @@ export class NodeGroups { |
{ | ||
"name":"@daocloud-proto/kant", | ||
"version":"0.6.0-rc", | ||
"version":"0.7.0-alpha1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
186312
55
5601