@daocloud-proto/kpanda 0.9.5 → 0.9.6-6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -62,6 +62,7 @@ export enum NetworkConfigCNI {
62
62
  CNI_UNSPECIFIED = "CNI_UNSPECIFIED",
63
63
  calico = "calico",
64
64
  cilium = "cilium",
65
+ none = "none",
65
66
  }
66
67
 
67
68
  export enum CommonNetworkConfigKubeProxyMode {
@@ -27,6 +27,7 @@ export enum ClusterPhase {
27
27
  RUNNING = "RUNNING",
28
28
  UPDATING = "UPDATING",
29
29
  DELETING = "DELETING",
30
+ FAILED = "FAILED",
30
31
  }
31
32
 
32
33
  export type ListClustersRequest = {
@@ -128,6 +128,7 @@ export type ListNodesRequest = {
128
128
  name?: string[]
129
129
  labelSelector?: string
130
130
  fieldSelector?: string
131
+ role?: NodeStatusRole
131
132
  }
132
133
 
133
134
  export type ListNodesResponse = {
@@ -22,6 +22,8 @@ export enum PodStatusOwnedByKind {
22
22
  STATEFULSET = "STATEFULSET",
23
23
  DAEMONSET = "DAEMONSET",
24
24
  REPLICASET = "REPLICASET",
25
+ JOB = "JOB",
26
+ CRONJOB = "CRONJOB",
25
27
  }
26
28
 
27
29
  export enum ContainerStatusPhase {
@@ -66,4 +66,13 @@ export type ListGroupsResponse = {
66
66
  export type Group = {
67
67
  id?: string
68
68
  name?: string
69
+ }
70
+
71
+ export type ListAdminClusterSummaryRequest = {
72
+ user?: string
73
+ userGroup?: string[]
74
+ }
75
+
76
+ export type ListAdminClusterSummaryResponse = {
77
+ clusters?: string[]
69
78
  }
@@ -554,6 +554,9 @@ export class RBAC {
554
554
  static ListAllUserRoleSummary(req: KpandaIoApiRbacV1alpha1Common.ListAllUserRoleSummaryRequest, initReq?: fm.InitReq): Promise<KpandaIoApiRbacV1alpha1Common.ListAllUserRoleSummaryResponse> {
555
555
  return fm.fetchReq<KpandaIoApiRbacV1alpha1Common.ListAllUserRoleSummaryRequest, KpandaIoApiRbacV1alpha1Common.ListAllUserRoleSummaryResponse>(`/apis/kpanda.io/v1alpha1/rolesummary?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
556
556
  }
557
+ static ListAdminClusterSummary(req: KpandaIoApiRbacV1alpha1Common.ListAdminClusterSummaryRequest, initReq?: fm.InitReq): Promise<KpandaIoApiRbacV1alpha1Common.ListAdminClusterSummaryResponse> {
558
+ return fm.fetchReq<KpandaIoApiRbacV1alpha1Common.ListAdminClusterSummaryRequest, KpandaIoApiRbacV1alpha1Common.ListAdminClusterSummaryResponse>(`/apis/kpanda.io/v1alpha1/admincluster?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
559
+ }
557
560
  }
558
561
  export class Autoscaling {
559
562
  static ListHorizontalPodAutoscalers(req: KpandaIoApiAutoscalingV1alpha1Horizontalpodautoscaler.ListHorizontalPodAutoscalersRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAutoscalingV1alpha1Horizontalpodautoscaler.ListHorizontalPodAutoscalersResponse> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kpanda",
3
- "version":"0.9.5",
3
+ "version":"0.9.6-6",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {