@daocloud-proto/kant
Advanced tools
Comparing version 0.6.0-alpha2 to 0.6.0-alpha3
@@ -75,2 +75,3 @@ /* eslint-disable */ | ||
socketAddress?: string | ||
kantRepo?: string | ||
} |
@@ -7,3 +7,2 @@ /* eslint-disable */ | ||
import * as KpandaIoApiCoreV1alpha1Event from "../../kpanda.io/api/core/v1alpha1/event.pb" | ||
import * as KpandaIoApiTypesPage from "../../kpanda.io/api/types/page.pb" | ||
@@ -66,19 +65,2 @@ import * as KantIoApiCoreV1alpha1Configmap from "./configmap.pb" | ||
configMap?: KantIoApiCoreV1alpha1Configmap.ConfigMap | ||
} | ||
export type ListEventsRequest = { | ||
cluster?: string | ||
namespace?: string | ||
deploymentName?: string | ||
name?: string | ||
page?: number | ||
pageSize?: number | ||
sortBy?: KpandaIoApiTypesPage.SortBy | ||
sortDir?: KpandaIoApiTypesPage.SortDir | ||
type?: KpandaIoApiCoreV1alpha1Event.EventType[] | ||
} | ||
export type ListEventsResponse = { | ||
items?: KpandaIoApiCoreV1alpha1Event.Event[] | ||
pagination?: KpandaIoApiTypesPage.Pagination | ||
} |
@@ -14,2 +14,3 @@ /* eslint-disable */ | ||
import * as KpandaIoApiCoreV1alpha1Configmap from "../../kpanda.io/api/core/v1alpha1/configmap.pb" | ||
import * as KpandaIoApiCoreV1alpha1Event from "../../kpanda.io/api/core/v1alpha1/event.pb" | ||
import * as KpandaIoApiCoreV1alpha1Node from "../../kpanda.io/api/core/v1alpha1/node.pb" | ||
@@ -125,4 +126,4 @@ import * as KpandaIoApiCoreV1alpha1Pod from "../../kpanda.io/api/core/v1alpha1/pod.pb" | ||
export class Events { | ||
static ListEvents(req: KantIoApiCoreV1alpha1Apprequest.ListEventsRequest, initReq?: fm.InitReq): Promise<KantIoApiCoreV1alpha1Apprequest.ListEventsResponse> { | ||
return fm.fetchReq<KantIoApiCoreV1alpha1Apprequest.ListEventsRequest, KantIoApiCoreV1alpha1Apprequest.ListEventsResponse>(`/apis/core.kant.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/events?${fm.renderURLSearchParams(req, ["cluster", "namespace"])}`, {...initReq, method: "GET"}) | ||
static ListEvents(req: KpandaIoApiCoreV1alpha1Event.ListEventsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiCoreV1alpha1Event.ListEventsResponse> { | ||
return fm.fetchReq<KpandaIoApiCoreV1alpha1Event.ListEventsRequest, KpandaIoApiCoreV1alpha1Event.ListEventsResponse>(`/apis/core.kant.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/events?${fm.renderURLSearchParams(req, ["cluster", "namespace"])}`, {...initReq, method: "GET"}) | ||
} | ||
@@ -129,0 +130,0 @@ } |
{ | ||
"name":"@daocloud-proto/kant", | ||
"version":"0.6.0-alpha2", | ||
"version":"0.6.0-alpha3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -27,6 +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", | ||
kant_edgenetwork_get = "kant_edgenetwork_get", | ||
kant_edgenetwork_create = "kant_edgenetwork_create", | ||
kant_edgenetwork_update = "kant_edgenetwork_update", | ||
kant_edgenetwork_delete = "kant_edgenetwork_delete", | ||
} | ||
@@ -33,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
175865
5270