@daocloud-proto/kpanda 0.9.3 → 0.9.5-16

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 = {
@@ -22,6 +22,7 @@ export type ListClusterConfigMapsRequest = {
22
22
  name?: string[]
23
23
  labelSelector?: string
24
24
  fieldSelector?: string
25
+ onlyMetadata?: boolean
25
26
  }
26
27
 
27
28
  export type ListClusterConfigMapsResponse = {
@@ -39,6 +40,7 @@ export type ListConfigMapsRequest = {
39
40
  name?: string[]
40
41
  labelSelector?: string
41
42
  fieldSelector?: string
43
+ onlyMetadata?: boolean
42
44
  }
43
45
 
44
46
  export type ListConfigMapsResponse = {
@@ -24,6 +24,7 @@ export type ListClusterSecretsRequest = {
24
24
  labelSelector?: string
25
25
  fieldSelector?: string
26
26
  type?: string
27
+ onlyMetadata?: boolean
27
28
  }
28
29
 
29
30
  export type ListClusterSecretsResponse = {
@@ -42,6 +43,7 @@ export type ListSecretsRequest = {
42
43
  labelSelector?: string
43
44
  fieldSelector?: string
44
45
  type?: string
46
+ onlyMetadata?: boolean
45
47
  }
46
48
 
47
49
  export type ListSecretsResponse = {
@@ -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.3",
3
+ "version":"0.9.5-16",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {