Socket
Socket
Sign inDemoInstall

@daocloud-proto/kant

Package Overview
Dependencies
0
Maintainers
3
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 0.3.0-alpha1

39

core/v1alpha1/apprequest.pb.ts

@@ -7,2 +7,4 @@ /* 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"

@@ -65,2 +67,39 @@ import * as KantIoApiCoreV1alpha1Configmap from "./configmap.pb"

configMap?: KantIoApiCoreV1alpha1Configmap.ConfigMap
}
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 = {
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
}

1

core/v1alpha1/edgeunit.pb.ts

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

image?: EdgeUnitImage
kantImage?: EdgeUnitImage
description?: string

@@ -57,0 +58,0 @@ cloudCoreProtocol?: EdgeUnitCloudCoreProtocol

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

import * as KpandaIoApiCoreV1alpha1Node from "../../kpanda.io/api/core/v1alpha1/node.pb"
import * as KpandaIoApiCoreV1alpha1Pod from "../../kpanda.io/api/core/v1alpha1/pod.pb"
import * as KpandaIoApiCoreV1alpha1Secret from "../../kpanda.io/api/core/v1alpha1/secret.pb"

@@ -82,2 +83,15 @@ import * as KantIoApiCoreV1alpha1Apprequest from "./apprequest.pb"

}
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 DeletePod(req: KpandaIoApiCoreV1alpha1Pod.DeletePodRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
return fm.fetchReq<KpandaIoApiCoreV1alpha1Pod.DeletePodRequest, GoogleProtobufEmpty.Empty>(`/apis/core.kant.io/v1alpha1/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/pods/${req["name"]}`, {...initReq, method: "DELETE"})
}
}
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"})
}
}
export class Workspaces {

@@ -84,0 +98,0 @@ static ListVisitorClusters(req: GoogleProtobufEmpty.Empty, initReq?: fm.InitReq): Promise<KantIoApiCoreV1alpha1Workspaces.WorkspacesClusterListResponse> {

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

export enum DeletionPropagation {
DELETION_PROPAGATION_UNSPECIFIED = "DELETION_PROPAGATION_UNSPECIFIED",
DELETION_PROPAGATION_ORPHAN = "DELETION_PROPAGATION_ORPHAN",
DELETION_PROPAGATION_BACKGROUND = "DELETION_PROPAGATION_BACKGROUND",
DELETION_PROPAGATION_FOREGROUND = "DELETION_PROPAGATION_FOREGROUND",
}
export enum CustomResourceDefinitionSpecResourceScope {

@@ -134,2 +141,3 @@ RESOURCE_SCOPE_UNSPECIFIED = "RESOURCE_SCOPE_UNSPECIFIED",

labels?: {[key: string]: string}
data?: string
}

@@ -148,2 +156,3 @@

fuzzyName?: string
showDetail?: boolean
}

@@ -201,2 +210,15 @@

export type UpdateClusterCustomResourceStatusRequest = {
cluster?: string
group?: string
version?: string
resource?: string
name?: string
data?: string
}
export type UpdateClusterCustomResourceStatusResponse = {
data?: string
}
export type DeleteClusterCustomResourceRequest = {

@@ -208,2 +230,3 @@ cluster?: string

name?: string
deletionPropagation?: DeletionPropagation
}

@@ -224,2 +247,3 @@

fieldSelector?: string
showDetail?: boolean
}

@@ -281,2 +305,16 @@

export type UpdateCustomResourceStatusRequest = {
cluster?: string
group?: string
version?: string
namespace?: string
resource?: string
name?: string
data?: string
}
export type UpdateCustomResourceStatusResponse = {
data?: string
}
export type PatchCustomResourceRequest = {

@@ -305,2 +343,3 @@ cluster?: string

name?: string
deletionPropagation?: DeletionPropagation
}

@@ -307,0 +346,0 @@

@@ -39,3 +39,3 @@ /* eslint-disable */

dataSource?: TypedLocalObjectReference
dataSourceRef?: TypedLocalObjectReference
dataSourceRef?: TypedObjectReference
supportExpansion?: boolean

@@ -69,2 +69,9 @@ supportSnapshot?: boolean

export type TypedObjectReference = {
apiGroup?: string
kind?: string
name?: string
namespace?: string
}
export type ListPersistentVolumeClaimsRequest = {

@@ -71,0 +78,0 @@ cluster?: string

2

package.json
{
"name":"@daocloud-proto/kant",
"version":"0.2.0",
"version":"0.3.0-alpha1",
"description": "",

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

@@ -7,2 +7,5 @@ /* eslint-disable */

export type ConstsResponse = {
defaultKubeEdgeImageRepo?: string
defaultKantImageRepo?: string
defaultKubeEdgeHelmRepo?: string
defaultImageRepo?: string

@@ -9,0 +12,0 @@ defaultHelmRepo?: string

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