@daocloud-proto/kant
Advanced tools
Comparing version 0.6.0-alpha1 to 0.6.0-alpha2
@@ -8,3 +8,2 @@ /* eslint-disable */ | ||
import * as KpandaIoApiCoreV1alpha1Event from "../../kpanda.io/api/core/v1alpha1/event.pb" | ||
import * as KpandaIoApiCoreV1alpha1Pod from "../../kpanda.io/api/core/v1alpha1/pod.pb" | ||
import * as KpandaIoApiTypesPage from "../../kpanda.io/api/types/page.pb" | ||
@@ -69,22 +68,2 @@ import * as KantIoApiCoreV1alpha1Configmap from "./configmap.pb" | ||
export type ListPodsRequest = { | ||
cluster?: string | ||
namespace?: string | ||
page?: number | ||
pageSize?: number | ||
deploymentName?: string | ||
name?: string | ||
phase?: KpandaIoApiCoreV1alpha1Pod.PodStatusPhase | ||
sortBy?: KpandaIoApiTypesPage.SortBy | ||
sortDir?: KpandaIoApiTypesPage.SortDir | ||
labelSelector?: string | ||
fieldSelector?: string | ||
fuzzyName?: string | ||
} | ||
export type ListPodsResponse = { | ||
items?: KpandaIoApiCoreV1alpha1Pod.Pod[] | ||
pagination?: KpandaIoApiTypesPage.Pagination | ||
} | ||
export type ListEventsRequest = { | ||
@@ -91,0 +70,0 @@ cluster?: string |
@@ -113,4 +113,4 @@ /* eslint-disable */ | ||
export class Pods { | ||
static ListPods(req: KantIoApiCoreV1alpha1Apprequest.ListPodsRequest, initReq?: fm.InitReq): Promise<KantIoApiCoreV1alpha1Apprequest.ListPodsResponse> { | ||
return fm.fetchReq<KantIoApiCoreV1alpha1Apprequest.ListPodsRequest, KantIoApiCoreV1alpha1Apprequest.ListPodsResponse>(`/apis/core.kant.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/pods?${fm.renderURLSearchParams(req, ["cluster", "namespace"])}`, {...initReq, method: "GET"}) | ||
static ListPods(req: KpandaIoApiCoreV1alpha1Pod.ListPodsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCoreV1alpha1Pod.ListPodsResponse> { | ||
return fm.fetchReq<KpandaIoApiCoreV1alpha1Pod.ListPodsRequest, KpandaIoApiCoreV1alpha1Pod.ListPodsResponse>(`/apis/core.kant.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/pods?${fm.renderURLSearchParams(req, ["cluster", "namespace"])}`, {...initReq, method: "GET"}) | ||
} | ||
@@ -117,0 +117,0 @@ static GetPod(req: KpandaIoApiCoreV1alpha1Pod.GetPodRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCoreV1alpha1Pod.Pod> { |
{ | ||
"name":"@daocloud-proto/kant", | ||
"version":"0.6.0-alpha1", | ||
"version":"0.6.0-alpha2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -27,2 +27,6 @@ /* eslint-disable */ | ||
kant_edgedevice_delete = "kant_edgedevice_delete", | ||
kant_edgenetowrk_get = "kant_edgenetowrk_get", | ||
kant_edgenetowrk_create = "kant_edgenetowrk_create", | ||
kant_edgenetowrk_update = "kant_edgenetowrk_update", | ||
kant_edgenetowrk_delete = "kant_edgenetowrk_delete", | ||
} | ||
@@ -29,0 +33,0 @@ |
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
176274
5284